Skip to content

[v3-2-test] Enable parallel backfill by eliminating shared state between providers (#63288)#66909

Closed
vatsrahul1001 wants to merge 1 commit into
v3-2-testfrom
backport-322-63288
Closed

[v3-2-test] Enable parallel backfill by eliminating shared state between providers (#63288)#66909
vatsrahul1001 wants to merge 1 commit into
v3-2-testfrom
backport-322-63288

Conversation

@vatsrahul1001
Copy link
Copy Markdown
Contributor

@vatsrahul1001 vatsrahul1001 commented May 14, 2026

Cherry-pick of #63288 for the Airflow 3.2.2 patch release.

Backported as a prerequisite for the `breeze registry` tooling chain that ultimately enables #66311 (Breeze `down` discovery). #63288 introduces the `@option_python` decorator on `registry backfill` and the parallel-backfill plumbing that downstream PRs (#65223, #65972, #65984, #66311) build on.

Conflict resolution

  • `dev/registry/extract_connections.py`, `dev/registry/extract_parameters.py`, `dev/breeze/src/airflow_breeze/commands/registry_commands.py`: PR makes substantive content changes that didn't auto-merge against v3-2-test's older shapes. Took PR side wholesale via `git checkout --theirs` for these files — they're being rewritten to support parallel backfill, so taking PR side is the right call.
  • `dev/breeze/doc/images/output_registry{,_backfill}.{svg,txt}`: auto-generated CLI help output; regenerated by the `Update breeze docs` prek hook during commit.
Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.7)

Generated-by: Claude Code (Opus 4.7) following the guidelines

#63288)

Add --provider and --providers-json flags to extract_parameters.py and
extract_connections.py so each backfill run uses an isolated temp
providers.json and only scans the target provider. In --provider mode,
modules.json is not written (it would be incomplete), so concurrent
runs don't clobber each other.

The backfill command now creates a TemporaryDirectory with per-version
providers.json files instead of patching a shared file.

(cherry picked from commit a9c0bf3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants