Skip to content

fix(dagster): run one step at a time - #34

Merged
tillywoodfield merged 1 commit into
devfrom
feat/18-duckdb
Oct 20, 2026
Merged

tillywoodfield merged 1 commit into
devfrom
feat/18-duckdb

Conversation

@tillywoodfield

Copy link
Copy Markdown
Collaborator

What & why

DuckDB allows one read-write process on its file, and the multiprocess executor runs each step in its own process, so sibling steps such as oecd_dac_crs_raw_table and oecd_dac_crs_raw_metadata can start together and one fails on the lock. Running one step at a time locally removes the contention.

Closes #18

Changes

  • Cap the executor at one concurrent step in definitions.py.
  • Restore max_concurrent_runs: 1 in .dagster_home/dagster.yaml, so runs also queue rather than overlap.

Checklist

  • Addresses one issue, linked above
  • Tests updated where relevant
  • Docs updated where relevant
  • Self-reviewed the diff

@tillywoodfield

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T15:50:37.019840Z 0ac8730 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0ac8730fca

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/dfo_pipelines/definitions.py Resolved
@tillywoodfield
tillywoodfield merged commit 17b8608 into dev Oct 20, 2026
2 checks passed
@tillywoodfield
tillywoodfield deleted the feat/18-duckdb branch October 20, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run the steps that write the local DuckDB file one at a time

1 participant