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: cache integrity and size events so late listeners still get them #154

Merged
merged 1 commit into from
May 19, 2022

Conversation

nlf
Copy link
Contributor

@nlf nlf commented May 19, 2022

this caching is necessary because it's possible that the pipeline may start flowing data and these events may be emitted before we have a chance to setup listeners for them, so to be sure that our downstream consumers (like cacache) receive these events, we cache the data and re-emit them immediately when a new listener is added

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@nlf nlf requested a review from a team as a code owner May 19, 2022 17:43
@nlf
Copy link
Contributor Author

nlf commented May 19, 2022

the one CI failure is a timeout, which has been happening sporadically for some time now. i'm going to land this as-is and we can decide if we need to raise the timeouts later.

@nlf nlf merged commit 8c78584 into main May 19, 2022
@nlf nlf deleted the nlf/cache-integrity-events branch May 19, 2022 17:50
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.

None yet

2 participants