feat: unify Oven event bus architecture#18
Closed
alowpoly wants to merge 1 commit into
Closed
Conversation
Contributor
Author
|
Superseded by #19 on the unprefixed event-bus-architecture branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
OvenRuntime, using events only to invalidate before a conditional canonical refetch. A 30-second reconciliation fallback remains./ovens/<id>/viewroute, and private response caches. Streaming Diff content SSE and the Differential Testing worker inbox remain intentional separate transports.Why
The previous partial bus could miss return-to-identical-content publications, mismatch scenario subscriptions with Oven-scoped data events, stop observing after 64 streams, baseline past an uncommitted event, let stale replay delay live invalidation, and bypass shared memory admission in Differential Testing. Several canonical writers also emitted no event, leaving the fallback timer to hide producer gaps.
This change makes canonical state the only data authority and gives the event bus one job: prompt a bounded conditional reread.
Validation
npm run build:dashboardindex-CmGKifu2.js— 431,165 bytes, SHA-25666fa7d5057caca71776e662656fea4420ceaaacee2db1afddb27713dbd5a6f34index-BaZeu40K.css— 96,184 bytes, SHA-2568ca440bac2469cb7bfc7e886bd42a34cf25e9ceac76a902ceaad90869bc2e7dcnpm run verify— passednpm run verify:package— 139 files, 1,538,980 bytes unpackedgit diff --check— passedThe Oven Catalogue, Storybook, layout-library, and Performance Tracing adapter work in the shared checkout are intentionally excluded from this PR.