Replace State usages with strong-typed enums#31735
Merged
Merged
Conversation
uranusjr
requested review from
XD-DENG,
ashb,
bbovenzi,
dstandish,
ephraimbuddy,
jedcunningham,
kaxil,
o-nikolas,
pierrejeambrun and
ryanahamilton
as code owners
June 6, 2023 08:56
Only in the main Airflow code base. There are many more in tests that I might tackle some day.
uranusjr
force-pushed
the
use-strong-typed-state-enums
branch
from
June 6, 2023 08:59
2f695f6 to
3d50998
Compare
dstandish
reviewed
Jun 6, 2023
dstandish
reviewed
Jun 6, 2023
dstandish
reviewed
Jun 6, 2023
Member
Author
|
I’m going to revert the Job-related changes and introduce JobState in a separate PR. |
We'll handle this by introducing a new type ExecutorState later, perhaps.
jedcunningham
approved these changes
Jun 16, 2023
dstandish
approved these changes
Jun 16, 2023
potiuk
added a commit
to potiuk/airflow
that referenced
this pull request
Jun 17, 2023
This reverts commit b459af3.
potiuk
added a commit
that referenced
this pull request
Jun 17, 2023
Member
|
Hey @uranusjr : I reverted this one in #31981. We need to take a close look and when it is re-done, "full test needed label" should be applied Kubernetes tests started to fail when it got merged and when you look to scheduler logs (they are attached as artifacts to failed jobs). The error indicates it's the None Enum And https://github.com/apache/airflow/actions/runs/5297252493 you can download kind-logs-k8s artifact. When you drill down for example to pods/scheduler logs you will see: |
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.
Only in the main Airflow code base. There are many more in tests that I might tackle some day.