Skip to content

feat(dagster): disable automation on a new local instance - #35

Merged
tillywoodfield merged 2 commits into
devfrom
feat/disable-local-automation
Oct 20, 2026
Merged

tillywoodfield merged 2 commits into
devfrom
feat/disable-local-automation

Conversation

@tillywoodfield

Copy link
Copy Markdown
Collaborator

What & why

The automation sensor defaulted to running everywhere, so a new local instance started materializing every pipeline at once, when a developer usually wants only one. It now starts stopped locally and still starts running in deployments, where its on/off state lives in each instance and has to default to running.

Changes

  • Read the sensor's default status from AUTOMATION_SENSOR_DEFAULT_STATUS in defs/automation.py, defaulting to RUNNING when unset.
  • Set AUTOMATION_SENSOR_DEFAULT_STATUS=STOPPED in .env.example.
  • Update the README's Automation section.

Notes for reviewers

  • The default only applies to a new instance. An existing DAGSTER_HOME keeps the sensor's stored state, so nothing changes for anyone who already has it running.
  • Add the variable to your .env to match .env.example. Without it, a new local instance still starts the sensor running.

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-19T16:04:16.643414Z db25d44 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: db25d44b13

ℹ️ 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 tests/test_automation.py Outdated
Base automatically changed from feat/18-duckdb to dev October 20, 2026 15:02
@tillywoodfield
tillywoodfield force-pushed the feat/disable-local-automation branch from db25d44 to 9b65035 Compare October 20, 2026 15:02
@tillywoodfield
tillywoodfield merged commit b0de075 into dev Oct 20, 2026
2 checks passed
@tillywoodfield
tillywoodfield deleted the feat/disable-local-automation branch October 20, 2026 15:12
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.

1 participant