Skip to content

Conversation

@ashb
Copy link
Member

@ashb ashb commented Feb 10, 2022

#20730 somehow broken tests, not sure how that PR was green

@ashb ashb requested a review from uranusjr February 10, 2022 10:56
view = conf.get('webserver', 'dag_default_view').lower()
url = flask.url_for(f"Airflow.{view}")
return f"{url}?{parse.urlencode(query)}"
return flask.url_for(f"Airflow.{view}", **query)
Copy link
Member Author

@ashb ashb Feb 10, 2022

Choose a reason for hiding this comment

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

Turns out url_for handles url prams and everything else gets set as query params, so the fix was easy :)

@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.

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

also cc @IKholopov

@ashb ashb merged commit f91f1ca into apache:main Feb 10, 2022
@ashb ashb deleted the fix-tests-for-new-url-structure branch February 10, 2022 11:32
ferruzzi pushed a commit to ferruzzi/airflow that referenced this pull request Feb 11, 2022
@jedcunningham jedcunningham added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants