fix(devtools): Discover utilities when panels mount late by KevinVandy · Pull Request #275 · TanStack/pacer · GitHub
Skip to content

fix(devtools): Discover utilities when panels mount late - #275

Draft
KevinVandy wants to merge 2 commits into
mainfrom
feat-239-devtools-discovery
Draft

KevinVandy wants to merge 2 commits into
mainfrom
feat-239-devtools-discovery

Conversation

@KevinVandy

Copy link
Copy Markdown
Member

🎯 Changes

  • Replay existing keyed utilities when a devtools panel mounts and deliver later updates even after event transport reconnection stops. Retain the serialized event bus.
  • Isolate observer errors, keep subscriptions independent, and give each mounted panel its own state. Preserve the legacy event-bus path when an older core has no replay API.
  • Add 13 regressions. pnpm test and pnpm run test:pr pass all 330 workspace tasks and the core size limit. Updated devtools also bundles against published @tanstack/pacer@0.23.0 without missing-export warnings.

Supersedes #239 and retains Nicolas Beaussart's registry replay and subscription design.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm run test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Co-authored-by: Nicolas Beaussart <nic.beaussart@gmail.com>
@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

2 package(s) bumped directly, 7 bumped as dependents.

🟩 Patch bumps

Package Version Reason
@tanstack/pacer 0.23.0 → 0.23.1 Changeset
@tanstack/pacer-devtools 1.5.0 → 1.5.1 Changeset
@tanstack/angular-pacer 0.25.0 → 0.25.1 Dependent
@tanstack/preact-pacer 0.24.0 → 0.24.1 Dependent
@tanstack/preact-pacer-devtools 0.8.0 → 0.8.1 Dependent
@tanstack/react-pacer 0.24.0 → 0.24.1 Dependent
@tanstack/react-pacer-devtools 0.9.0 → 0.9.1 Dependent
@tanstack/solid-pacer 0.23.0 → 0.23.1 Dependent
@tanstack/solid-pacer-devtools 0.8.0 → 0.8.1 Dependent

@nx-cloud

nx-cloud Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 2a70162

Command Status Duration Result
nx affected --targets=test:eslint,test:sherif,t... ✅ Succeeded 5m 1s View ↗
nx run-many --targets=build --exclude=examples/** ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-09-30 20:12:58 UTC

@pkg-pr-new

pkg-pr-new Bot commented Sep 30, 2026

Copy link
Copy Markdown

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.

1 participant