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 dependency error propagation by replaying the panic #373

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

a-palchikov
Copy link

@a-palchikov a-palchikov commented Sep 27, 2021

Persist the panic that a dependency had failed with and replay it each time (*onceFun).run is invoked.

I took the liberty of restructuring runDeps to be more idiomatic by using channels but let me know if that's beyond the scope.

Fixes #371.

@a-palchikov a-palchikov changed the title Fix racy dependencies by replaying the panic Fix dependency error propagation by replaying the panic Sep 27, 2021
arschles
arschles previously approved these changes Oct 1, 2021
@jippi
Copy link

jippi commented Apr 20, 2022

I've been hit with this issue a couple of times, @natefinch do you think it need more work before being merged in?

@natefinch
Copy link
Member

Let me look at this tonight. I'll make time for it. Sorry for the delay

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.

Target is launched which should not be launched
4 participants