Skip to content

Feat: Add optional per-task context propagation - #6141

Draft
mday-io wants to merge 2 commits into
SQLMesh:mainfrom
mday-io:feat/concurrency-context
Draft

mday-io wants to merge 2 commits into
SQLMesh:mainfrom
mday-io:feat/concurrency-context

Conversation

@mday-io

@mday-io mday-io commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add optional context_factory support so concurrent tasks can receive caller context without sharing each other’s changes.

Test Plan

  • Four context tests failed against the old API and passed with the new argument.
  • Tested serial and threaded isolation, caller context and executor reuse.
  • Checked default DAG behavior and snapshot-wrapper forwarding.
  • Ran make style and all make fast-test batches: 2,866 passed.
  • Confirm current-head CI, including Windows.

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