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

Remove support for "weak" Gets #10805

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

stuhood
Copy link
Member

@stuhood stuhood commented Sep 17, 2020

Problem

"weak" Gets were a potential solution for optionally allowing for cycles in the runtime Graph, but they were only partially implemented (see #10229), and not particularly trustworthy. We ended up going with a higher level solution in #10409, but the weak-Gets code still exists, and increases the complexity of the graph crate unnecessarily.

Solution

Revert #10230. Closes #10229 and closes #10394.

[ci skip-build-wheels]

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up! I updated the PR description to close out #10394.

@coveralls
Copy link

coveralls commented Sep 17, 2020

Coverage Status

Coverage remained the same at 0.0% when pulling 1451ddd on stuhood:stuhood/revert-weak-gets into 3b0bff5 on pantsbuild:master.

@stuhood stuhood force-pushed the stuhood/revert-weak-gets branch from 5b23433 to 1451ddd Compare September 17, 2020 20:42
@stuhood stuhood merged commit 3b70039 into pantsbuild:master Sep 17, 2020
@stuhood stuhood deleted the stuhood/revert-weak-gets branch September 17, 2020 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove weak Gets Allow a strong-weak cycle to be entered from either end
3 participants