You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replay keyed Pacer utilities when Devtools mounts after their initial events
keep the existing event-bus subscriptions for relayed and public client events
deliver future same-runtime updates independently of the EventClient retry state
replace the placeholder Devtools test with the production late-mount sequence
Impact
Architecture: augments the existing keyed instance registry with event metadata and a guarded subscription; it does not add a second registry or replace the serialized event bus
Performance / bundle size: adds a small in-memory listener set and registry metadata, with no new dependency
Risk: keyed instances remain strongly retained by the existing registry until another instance replaces the same key; this PR does not introduce an unregister lifecycle
Compatibility: @tanstack/pacer-devtools now requires @tanstack/pacer >=0.21.2 for the registry subscription API
User-facing changes: a lazily mounted Pacer Devtools panel can discover existing utilities and continue receiving updates after connection retries were exhausted
Root cause
EventClient permanently stops attempting bus delivery after five failed connection retries. The Devtools provider previously subscribed only to future bus events, so utilities created before a lazy-mounted panel could not be discovered and later events remained invisible.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 6db7a729-d5b2-44b0-a95a-4602e22645a6
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
🔍 Trigger review
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
Summary
Impact
@tanstack/pacer-devtoolsnow requires@tanstack/pacer >=0.21.2for the registry subscription APIRoot cause
EventClientpermanently stops attempting bus delivery after five failed connection retries. The Devtools provider previously subscribed only to future bus events, so utilities created before a lazy-mounted panel could not be discovered and later events remained invisible.Testing
pnpm --filter @tanstack/pacer test:lib --run— 522 tests passedpnpm --filter @tanstack/pacer-devtools test:lib --rungit diff --check