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

Fix session usage in /rendered-k8s view #21006

Merged
merged 1 commit into from Jan 21, 2022

Conversation

uranusjr
Copy link
Member

We can't commit the session too early because later functions need that
session to fetch related objects.
Fix #20534.

We can't commit the session too early because later functions need that
session to fetch related objects.
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Jan 21, 2022
@uranusjr
Copy link
Member Author

Hmm, not sure what’s wrong with the doc build job.

@potiuk
Copy link
Member

potiuk commented Jan 21, 2022

I tihnk it was an intermittent problem with trying to reach the intersphinx inventory.

@potiuk potiuk closed this Jan 21, 2022
@potiuk potiuk reopened this Jan 21, 2022
@potiuk
Copy link
Member

potiuk commented Jan 21, 2022

Yep. All good now.

@kaxil kaxil added this to the Airflow 2.2.4 milestone Jan 21, 2022
@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Jan 21, 2022
@github-actions
Copy link

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@kaxil kaxil merged commit a665f48 into apache:main Jan 21, 2022
@kaxil kaxil deleted the rendered-k8s-session-sharing branch January 21, 2022 13:44
@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Jan 27, 2022
jedcunningham pushed a commit that referenced this pull request Jan 27, 2022
We can't commit the session too early because later functions need that
session to fetch related objects.

Fix #20534.

(cherry picked from commit a665f48)
jedcunningham pushed a commit that referenced this pull request Jan 28, 2022
We can't commit the session too early because later functions need that
session to fetch related objects.

Fix #20534.

(cherry picked from commit a665f48)
jedcunningham pushed a commit that referenced this pull request Feb 17, 2022
We can't commit the session too early because later functions need that
session to fetch related objects.

Fix #20534.

(cherry picked from commit a665f48)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues okay to merge It's ok to merge this PR as it does not require more tests type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

is not bound to a Session; lazy load operation of attribute 'dag_model'
4 participants