Repository navigation
Add filtered realtime subscriptions, priority scheduling, codecs, and endpoint failover - #434
Merged
Merged
Conversation
|
@hartz0 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
…port # Conflicts: # src/app/cover/page.tsx # src/hooks/usePoolStats.ts # src/hooks/useRealtimeTopic.ts # src/lib/flags/flagsConfig.ts # src/lib/network.ts # src/lib/realtime/client.ts
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.
Realtime topics currently share a JSON-only FIFO connection to one endpoint. Add explicit subscription interests, bounded priority scheduling, negotiated codecs, and health-based endpoint failover in one documented frontend transport contract.
Closes #256
Closes #257
Closes #258
Closes #259
Changes
Tests and evidence
npx vitest run --config vitest.config.mts src/lib/realtime/realtime.test.ts src/hooks/useRealtimeTopic.test.ts --reporter=verbose --silent=false.npx vitest run --config vitest.config.mts --environment jsdom src/hooks/dataSourceFallback.test.ts -t usePoolStats.no-restricted-syntaxselector disabled. Diff, files, author, and single-commit ancestry verified before push.Existing upstream blockers
Independently reproduced on pristine upstream main
826026687eced83ce2d59552bf5b17e775981e81:Literal[value=1e7].--legacy-peer-deps --package-lock=false; @testing-library/dom was installed locally without saving. Dependency and lockfiles are unchanged.Unrelated failures remain outside this PR. Repository CI and reviewer approval remain pending, and neither is claimed. Backend filtering and codec implementation are out of scope. Preferred retries briefly reconnect fallback, and browser throttling or slow synchronous subscribers prevent an absolute wall-clock latency SLA.
One commit directly atop freshly fetched upstream main, authored and committed by hartz0 wendyshima1@gmail.com, without co-authors. No force push.