Repository navigation
Regenerate API datamodels after the CI environment lock upgrade - #71718
Merged
Merged
Conversation
potiuk
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
ephraimbuddy,
gopidesupavan,
jason810496,
jedcunningham,
jscheffl and
vatsrahul1001
as code owners
August 17, 2026 15:57
potiuk
force-pushed
the
regen-datamodels-on-lock-upgrade
branch
from
August 17, 2026 16:58
b69282a to
e8ce56b
Compare
`uv lock --upgrade` can move datamodel-code-generator, whose version is stamped into the header of every file it generates. The two codegen hooks are gated on the execution and core API sources, which an upgrade run never touches, so they stay dormant while the automation commits -- and the next CI run, which invokes them with --all-files, regenerates the headers and fails the static checks job on the upgrade PR itself. Tying the regeneration to the lock step keeps the upgrade PR self-consistent.
potiuk
force-pushed
the
regen-datamodels-on-lock-upgrade
branch
from
August 19, 2026 09:48
e8ce56b to
4cde6e7
Compare
amoghrajesh
approved these changes
Aug 19, 2026
Lee-W
approved these changes
Aug 19, 2026
Contributor
Backport failed to create: v3-3-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker acfda3f v3-3-testThis should apply the commit to the v3-3-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
1 task
potiuk
added a commit
that referenced
this pull request
Aug 19, 2026
…pgrade (#71718) (#71838) `uv lock --upgrade` can move datamodel-code-generator, whose version is stamped into the header of every file it generates. The two codegen hooks are gated on the execution and core API sources, which an upgrade run never touches, so they stay dormant while the automation commits -- and the next CI run, which invokes them with --all-files, regenerates the headers and fails the static checks job on the upgrade PR itself. Tying the regeneration to the lock step keeps the upgrade PR self-consistent. (cherry picked from commit acfda3f)
vatsrahul1001
pushed a commit
that referenced
this pull request
Sep 7, 2026
…pgrade (#71718) (#71838) `uv lock --upgrade` can move datamodel-code-generator, whose version is stamped into the header of every file it generates. The two codegen hooks are gated on the execution and core API sources, which an upgrade run never touches, so they stay dormant while the automation commits -- and the next CI run, which invokes them with --all-files, regenerates the headers and fails the static checks job on the upgrade PR itself. Tying the regeneration to the lock step keeps the upgrade PR self-consistent. (cherry picked from commit acfda3f)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
uv lock --upgradeinbreeze ci upgradecan movedatamodel-code-generator, whose version is stamped into the header of everyfile it generates. The two codegen hooks are gated on the execution and core
API sources, which an upgrade run never touches, so they stay dormant while
the automation commits — and the next CI run, which invokes them with
--all-files, regenerates the headers and fails the static checks job on theupgrade PR itself.
That is what happened on #71590 (0.71.0 → 0.72.4):
Static checkswas the onlyfailing job in the run, and the whole diff was three
# version:comments.Regenerating them is tied to the lock step here so the upgrade PR comes out
self-consistent.
No unit test: the step list lives inside the
ci upgradeclick command and itssibling entries have no coverage either, so this is a declarative addition to
untested orchestration. The verification is the next scheduled upgrade run
producing a green PR.
related: #71590
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5) following the guidelines