Skip to content

fix: cache integrity and size events so late listeners still get them #154

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

@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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants