René's URL Explorer Experiment


Title: fix(hub): reset message deltas across instances by SaKaNa-Y · Pull Request #486 · devframes/devframe · GitHub

Open Graph Title: fix(hub): reset message deltas across instances by SaKaNa-Y · Pull Request #486 · devframes/devframe

X Title: fix(hub): reset message deltas across instances by SaKaNa-Y · Pull Request #486 · devframes/devframe

Description: Summary A reader that connects to a restarted Hub can keep old messages and miss new ones when both instances reach the same numeric version. A mounted standalone viewer can also show a notification from its new connection while the visible panel still belongs to the first connection. The Hub includes its instance ID in each list result. The messages panel and Hub UI return that ID with their next read. same instance + valid version → delta foreign instance or expired version → full snapshot A replacement connection gets its own message list, selection, toasts and timers. Replacing a standalone viewer’s context also remounts its dock shell, so clicking a toast opens the panel on the same connection. On a full snapshot from a different instance, the UI drops old notifications and rebuilds the feed in snapshot order. A full refresh from the same instance preserves surviving notifications. Evidence The host and RPC tests cover foreign cursors below, at and above the new version, and subsequent same-instance removals. WebSocket tests cover both older readers. After the Messages panel calls list(), its next list(version) used to return another full snapshot. It now returns the removal and the replacement entry when the Hub reuses a message ID. The older Hub UI starts with list(null) and receives the same removal across overlapping reads. A fresh connection that sends only a version still gets a full snapshot. In Chrome, replacing the context on a mounted standalone custom element removed the first connection’s pane. Clicking the second connection’s toast opened its messages iframe. The check used two dock contexts with controlled RPC responses. Local lint, Knip, typecheck and build passed. The full unit suite passed 1,883 tests and skipped 14. Merge Danger Door: two-way Blast Radius: message-sync Direct numeric-only listSince calls receive full snapshots. The live messages RPC can serve deltas to older readers after establishing a snapshot on their connection. Older results and static snapshots may omit the instance ID. Connection replacement remains explicit.

Open Graph Description: Summary A reader that connects to a restarted Hub can keep old messages and miss new ones when both instances reach the same numeric version. A mounted standalone viewer can also show a notificatio...

X Description: Summary A reader that connects to a restarted Hub can keep old messages and miss new ones when both instances reach the same numeric version. A mounted standalone viewer can also show a notificatio...

Opengraph URL: https://github.com/devframes/devframe/pull/486

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8d4cc880-1cda-ebe2-16f0-8b2073db9cac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2FC:2E9461:FF2FE:16800C:6AFB6AED
html-safe-nonced509b4bad33616ea11ce4e329b2787b332f5b2c5aabf04c00f87215a4117614e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkZDOjJFOTQ2MTpGRjJGRToxNjgwMEM6NkFGQjZBRUQiLCJ2aXNpdG9yX2lkIjoiMjEzNTMwNTkzNTc0Njk4NDY4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3930d77800f6a3ba6f00a49dda59b5dad15513b78cefa18a1a11c3b56a0d6f11
hovercard-subject-tagpull_request:5168799719
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/devframes/devframe/pull/486/files
twitter:imagehttps://avatars.githubusercontent.com/u/185575200?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/185575200?s=400&v=4
og:image:altSummary A reader that connects to a restarted Hub can keep old messages and miss new ones when both instances reach the same numeric version. A mounted standalone viewer can also show a notificatio...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/devframes/devframe git https://github.com/devframes/devframe.git
octolytics-dimension-user_id279879373
octolytics-dimension-user_logindevframes
octolytics-dimension-repository_id1231722386
octolytics-dimension-repository_nwodevframes/devframe
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1231722386
octolytics-dimension-repository_network_root_nwodevframes/devframe
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/devframes/devframe/pull/486/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F486%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F486%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=devframes%2Fdevframe
Reloadhttps://github.com/devframes/devframe/pull/486/files
Reloadhttps://github.com/devframes/devframe/pull/486/files
Reloadhttps://github.com/devframes/devframe/pull/486/files
devframeshttps://github.com/devframes
devframehttps://github.com/devframes/devframe
Codehttps://github.com/devframes/devframe
Issues12 (12)https://github.com/devframes/devframe/issues
Pull requests13 (13)https://github.com/devframes/devframe/pulls
Actionshttps://github.com/devframes/devframe/actions
Security and qualityhttps://github.com/devframes/devframe/security
Insightshttps://github.com/devframes/devframe/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
SaKaNa-Yhttps://github.com/SaKaNa-Y
devframes:mainhttps://github.com/devframes/devframe/tree/main
SaKaNa-Y:fix/message-cursor-instancehttps://github.com/SaKaNa-Y/devframe/tree/fix/message-cursor-instance
Conversation 2 https://github.com/devframes/devframe/pull/486
Commits 7 https://github.com/devframes/devframe/pull/486/commits
Checks 14 https://github.com/devframes/devframe/pull/486/checks
Files changed 21 https://github.com/devframes/devframe/pull/486/files
fix(hub): reset message deltas across instances https://github.com/devframes/devframe/pull/486/files#top
Show all changes 7 commits https://github.com/devframes/devframe/pull/486/files
04cc2af fix(hub): reset message deltas across instances SaKaNa-Y Nov 5, 2026 https://github.com/devframes/devframe/pull/486/commits/04cc2af838a62cfaaf8186604d2f8006abf2ed11
c98a81e Merge branch 'main' into fix/message-cursor-instance SaKaNa-Y Nov 14, 2026 https://github.com/devframes/devframe/pull/486/commits/c98a81eb7f09dd65a1347e4566d0af5ee81d5a71
0bf2316 fix(hub-ui): isolate message feeds and toasts by connection SaKaNa-Y Nov 16, 2026 https://github.com/devframes/devframe/pull/486/commits/0bf23165ba14c99c342ad13642bf38265e121edd
587d3d4 Merge branch 'main' into fix/message-cursor-instance SaKaNa-Y Nov 16, 2026 https://github.com/devframes/devframe/pull/486/commits/587d3d49378b79136b235e95c6d8427e939dfb6e
06f80c0 fix(hub-ui): remount the standalone shell when its context changes SaKaNa-Y Nov 16, 2026 https://github.com/devframes/devframe/pull/486/commits/06f80c04d44cf89bf945d397047a46b5993a41c7
0b23ed4 fix(messages): preserve removal deltas for legacy RPC readers SaKaNa-Y Nov 16, 2026 https://github.com/devframes/devframe/pull/486/commits/0b23ed4fc8d9c2a0c2afd434722cc9a29ea7a5cd
b6f75d1 fix(messages): retain the cursor from a no-argument snapshot SaKaNa-Y Nov 16, 2026 https://github.com/devframes/devframe/pull/486/commits/b6f75d1f642d1175191fb450e828ce9ee72c25c2
Clear filters https://github.com/devframes/devframe/pull/486/files
Please reload this pagehttps://github.com/devframes/devframe/pull/486/files
Please reload this pagehttps://github.com/devframes/devframe/pull/486/files
6.hub-api.md https://github.com/devframes/devframe/pull/486/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
ToastOverlay.stories.ts https://github.com/devframes/devframe/pull/486/files#diff-4edb65c6eaff21f80aef382bd90dd0dcf1b8200e1fa65b6c62b8e2a1eb690a35
ToastOverlay.vue https://github.com/devframes/devframe/pull/486/files#diff-3b0c952ed59590d9b751280bdcafa2bee631a5712ea81f8ec74a88719c13bc5d
DockStandalone.vue https://github.com/devframes/devframe/pull/486/files#diff-91c4834af7d08d079ef5b8f35fffe6537537c6eca26a0918b3f453101d4088b3
DockStandaloneShell.vue https://github.com/devframes/devframe/pull/486/files#diff-3064a1f1afabb16b0a860d6a03cb835bc787bd33a0db1571eb1613dd4982c556
messages.test.ts https://github.com/devframes/devframe/pull/486/files#diff-b8cbca92d79175632ca36d09bab8803844da091352dbcace21a2e5e8b72cb8e9
messages.ts https://github.com/devframes/devframe/pull/486/files#diff-c95712de4ac46552488f0791e12066f898f6141726bd82b86721289992aeb230
toasts.test.ts https://github.com/devframes/devframe/pull/486/files#diff-929e885807381d59cc78a18676e69f5dcd8e0f94f57d39c5d37698122ffe561c
toasts.ts https://github.com/devframes/devframe/pull/486/files#diff-6fb260201ef21880772c893945597de218b9caa1039e0ee2af1fa022d0b23ed6
host-messages.test.ts https://github.com/devframes/devframe/pull/486/files#diff-acc663ec947f6171d9d9653e03485fcb1b280bf3a7fa48fa94c992482a4151f0
host-messages.ts https://github.com/devframes/devframe/pull/486/files#diff-09bc565671ab0dd5b474f629b06b98ec033fed3c149f730fa5287ed2ee11c66b
messages.ts https://github.com/devframes/devframe/pull/486/files#diff-7e3ae4e9915f5d2e381ac26a890f2322db779723dbcf488947d3d2a045fad429
messages.ts https://github.com/devframes/devframe/pull/486/files#diff-b73a40d668bd615efedd07b5bd2853507f76fc1eda099b85edc63e814726907c
list.ts https://github.com/devframes/devframe/pull/486/files#diff-cb080d70f779c1a54425b38328ea264d8764669af27a9984f755f45d6fafc44f
dev-server.test.ts https://github.com/devframes/devframe/pull/486/files#diff-730bf74804ecf2ff6fdb2195e56d7cb023ebe54a3bc20c08f6f10602d4476345
message-state.test.ts https://github.com/devframes/devframe/pull/486/files#diff-12ac8fa5ef4186675805ef66f6b84ec2dbc761ded1e42a45614fbb2677975a53
index.snapshot.d.ts https://github.com/devframes/devframe/pull/486/files#diff-db64e389f351b7be6e78012df747772ce10c467c799d8e47a05290539673b278
node.snapshot.d.ts https://github.com/devframes/devframe/pull/486/files#diff-75e0ffc0919ffd1238e0892aa80a9bca51b8d344ddbad7302d571c385d05486e
node.snapshot.js https://github.com/devframes/devframe/pull/486/files#diff-c1ba383b9e7cdde0b09b9c8eded6069ab381b1e75ed3164a131e8bf358def996
types.snapshot.d.ts https://github.com/devframes/devframe/pull/486/files#diff-9e8dd68531e7a26a379ccf1616af89d73c03e4024cb79b4af2371aee73db0ec1
rpc.snapshot.d.ts https://github.com/devframes/devframe/pull/486/files#diff-02cdc289f5a07d07348146814bd89a0485424895c2303725670382b0cc4f3c8d
docs/content/8.references/6.hub-api.mdhttps://github.com/devframes/devframe/pull/486/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
View file https://github.com/devframes/devframe/blob/b6f75d1f642d1175191fb450e828ce9ee72c25c2/docs/content/8.references/6.hub-api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/486/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/486/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
https://github.com/devframes/devframe/pull/486/files#diff-c242156e3ff17216da5a8d155312307ff263e33ba2d1f0e8c0f7d444b793a74b
packages/hub-ui/src/client/components/display/ToastOverlay.stories.tshttps://github.com/devframes/devframe/pull/486/files#diff-4edb65c6eaff21f80aef382bd90dd0dcf1b8200e1fa65b6c62b8e2a1eb690a35
View file https://github.com/devframes/devframe/blob/b6f75d1f642d1175191fb450e828ce9ee72c25c2/packages/hub-ui/src/client/components/display/ToastOverlay.stories.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/486/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/486/files#diff-4edb65c6eaff21f80aef382bd90dd0dcf1b8200e1fa65b6c62b8e2a1eb690a35
https://github.com/devframes/devframe/pull/486/files#diff-4edb65c6eaff21f80aef382bd90dd0dcf1b8200e1fa65b6c62b8e2a1eb690a35
https://github.com/devframes/devframe/pull/486/files#diff-4edb65c6eaff21f80aef382bd90dd0dcf1b8200e1fa65b6c62b8e2a1eb690a35
packages/hub-ui/src/client/components/display/ToastOverlay.vuehttps://github.com/devframes/devframe/pull/486/files#diff-3b0c952ed59590d9b751280bdcafa2bee631a5712ea81f8ec74a88719c13bc5d
View file https://github.com/devframes/devframe/blob/b6f75d1f642d1175191fb450e828ce9ee72c25c2/packages/hub-ui/src/client/components/display/ToastOverlay.vue
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/486/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/486/files#diff-3b0c952ed59590d9b751280bdcafa2bee631a5712ea81f8ec74a88719c13bc5d
https://github.com/devframes/devframe/pull/486/files#diff-3b0c952ed59590d9b751280bdcafa2bee631a5712ea81f8ec74a88719c13bc5d
https://github.com/devframes/devframe/pull/486/files#diff-3b0c952ed59590d9b751280bdcafa2bee631a5712ea81f8ec74a88719c13bc5d
https://github.com/devframes/devframe/pull/486/files#diff-3b0c952ed59590d9b751280bdcafa2bee631a5712ea81f8ec74a88719c13bc5d
packages/hub-ui/src/client/components/dock/DockStandalone.vuehttps://github.com/devframes/devframe/pull/486/files#diff-91c4834af7d08d079ef5b8f35fffe6537537c6eca26a0918b3f453101d4088b3
View file https://github.com/devframes/devframe/blob/b6f75d1f642d1175191fb450e828ce9ee72c25c2/packages/hub-ui/src/client/components/dock/DockStandalone.vue
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/486/{{ revealButtonHref }}
packages/hub-ui/src/client/components/dock/DockStandaloneShell.vuehttps://github.com/devframes/devframe/pull/486/files#diff-3064a1f1afabb16b0a860d6a03cb835bc787bd33a0db1571eb1613dd4982c556
View file https://github.com/devframes/devframe/blob/b6f75d1f642d1175191fb450e828ce9ee72c25c2/packages/hub-ui/src/client/components/dock/DockStandaloneShell.vue
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/486/{{ revealButtonHref }}
Please reload this pagehttps://github.com/devframes/devframe/pull/486/files
Please reload this pagehttps://github.com/devframes/devframe/pull/486/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.