Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show warning if '/' is used in a DAG run ID #23106

Merged
merged 1 commit into from
May 3, 2022

Conversation

uranusjr
Copy link
Member

Close #20063?

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Apr 20, 2022
@uranusjr uranusjr force-pushed the deprecate-forward-slash-in-run-id branch from cb1e30a to 365ec67 Compare April 20, 2022 03:51
@bbovenzi
Copy link
Contributor

So this will flash a warning, but still create the dag run? We have no way to edit a run id after the fact. I wonder if we should throw an error instead

@uranusjr
Copy link
Member Author

That one I’m not sure about either. Simply prohibiting / feels like a regression (it only causes problems if you use the REST API to get run info), so we want to give people time to transition.

@bbovenzi
Copy link
Contributor

Ok. Mind if I add some UI validation to this PR then?

@uranusjr
Copy link
Member Author

Of course not

Copy link
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this is fine. UI validation with a warning instead of an error was too annoying.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Apr 21, 2022
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@uranusjr uranusjr force-pushed the deprecate-forward-slash-in-run-id branch from f44fa31 to 35c1eeb Compare May 1, 2022 17:59
@uranusjr uranusjr merged commit 451c7cb into apache:main May 3, 2022
@uranusjr uranusjr deleted the deprecate-forward-slash-in-run-id branch May 3, 2022 21:22
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label May 8, 2022
@ephraimbuddy ephraimbuddy added this to the Airflow 2.3.1 milestone May 8, 2022
ephraimbuddy pushed a commit that referenced this pull request May 8, 2022
ephraimbuddy pushed a commit that referenced this pull request May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues full tests needed We need to run full set of tests for this PR to merge type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forward slash in dag_run_id gives rise to trouble accessing things through the REST API
3 participants