Skip to content

Ensure priority weight is capped at 32-bit integer to prevent roll-over - #43611

Merged
jscheffl merged 4 commits into
apache:mainfrom
jscheffl:bugfix/out-of-range-priority-weight
Nov 14, 2024
Merged

Ensure priority weight is capped at 32-bit integer to prevent roll-over#43611
jscheffl merged 4 commits into
apache:mainfrom
jscheffl:bugfix/out-of-range-priority-weight

Conversation

@jscheffl

Copy link
Copy Markdown
Contributor

@jscheffl

Copy link
Copy Markdown
ContributorAuthor

Besides some adjustments because of rework of classes in regards of TeskSDK I think this can also be back-ported to Ariflow 2.10 line to prevent errors in roll-over. Therefore tagging as 2.10.4 milestone... but backport would most likely a re-write of this PR.

@jscheffljscheffl added this to the Airlfow 2.10.4 milestone Nov 2, 2024
@potiuk

Copy link
Copy Markdown
Member

should we have a newsfragment (just in case) just explaining what happened?

@jscheffl
jschefflforce-pushed the bugfix/out-of-range-priority-weight branch from c18bfe7 to e9649e6CompareNovember 12, 2024 21:24
Comment threadtask_sdk/src/airflow/sdk/definitions/baseoperator.py Outdated
@jscheffljscheffl added type:bug-fix Changelog: Bug Fixes area:core labels Nov 13, 2024
@jscheffl
jschefflforce-pushed the bugfix/out-of-range-priority-weight branch from 1b229bf to 2e3bfd5CompareNovember 14, 2024 21:01
@jscheffl
jscheffl merged commit ab529d1 into apache:mainNov 14, 2024
jscheffl added a commit to jscheffl/airflow that referenced this pull request Nov 14, 2024
…er (apache#43611)
* Ensure priority weight is capped at 32-bit integer to prevent roll-over
* Add newsfragment
* Move range check post type check
* Review feedback - consolidate to single implementation for now
(cherry picked from commit ab529d1)
jscheffl added a commit that referenced this pull request Nov 17, 2024
…er (#43611) (#44045)
* Ensure priority weight is capped at 32-bit integer to prevent roll-over
* Add newsfragment
* Move range check post type check
* Review feedback - consolidate to single implementation for now
(cherry picked from commit ab529d1)
@Lee-WLee-W mentioned this pull request Nov 18, 2024
2 tasks
utkarsharma2 pushed a commit that referenced this pull request Dec 4, 2024
…er (#43611) (#44045)
* Ensure priority weight is capped at 32-bit integer to prevent roll-over
* Add newsfragment
* Move range check post type check
* Review feedback - consolidate to single implementation for now
(cherry picked from commit ab529d1)
utkarsharma2 pushed a commit that referenced this pull request Dec 9, 2024
…er (#43611) (#44045)
* Ensure priority weight is capped at 32-bit integer to prevent roll-over
* Add newsfragment
* Move range check post type check
* Review feedback - consolidate to single implementation for now
(cherry picked from commit ab529d1)
@jscheffl
jscheffl deleted the bugfix/out-of-range-priority-weight branch October 5, 2025 07:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@jscheffl@potiuk@ashb@pierrejeambrun@eladkal