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

Revert "Promote after dependencies in bootstrap" #141584

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

emontnemery
Copy link
Contributor

Reverts #140352

There's currently a single integration which both loads early, and which has after dependencies: cloud
The cloud after dependencies pull in a large dependency tree, causing a deadlock #141516

Once we have reviewed the cloud after dependencies and removed unneeded ones, we should again add reverts #140352

@emontnemery emontnemery added this to the 2025.4.0 milestone Mar 27, 2025
@emontnemery emontnemery requested a review from a team as a code owner March 27, 2025 15:39
@home-assistant home-assistant bot added cla-signed core small-pr PRs with less than 30 lines. labels Mar 27, 2025
@arturpragacz
Copy link
Contributor

arturpragacz commented Mar 27, 2025

The direct cause of the problem is that we don't require integrations to list their platforms as dependencies and we also allow the platforms themselves to have after_dependencies. That causes the resolution algorithm to not have full knowledge, which results in a deadlock.

The alternative fix for the reported issue would be to merge #141576 (which we want to do anyway).

@balloob balloob merged commit de1e06c into dev Mar 27, 2025
48 checks passed
@balloob balloob deleted the revert-140352-bootstrap/after-dependency-promotion branch March 27, 2025 16:58
frenck pushed a commit that referenced this pull request Mar 27, 2025
Revert "Promote after dependencies in bootstrap (#140352)"

This reverts commit 3766040.
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants