Skip to content

fix(vue): keep live queries subscribed across refreshes - #930

Merged
omegent-app[bot] merged 2 commits into
mainfrom
keep-live-query-subscriptions
Oct 26, 2026
Merged

omegent-app[bot] merged 2 commits into
mainfrom
keep-live-query-subscriptions

Conversation

@jfet97

@jfet97 jfet97 commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Why

A live query can refresh for the first repository write and then miss later changes, leaving dashboards stale even though the server publishes the correct dependencies. Synchronous refresh callbacks can replace their registration while dispatch is still iterating the subscriber Map.

What

Keeps each write or source reset limited to the subscriptions present when dispatch began. Replacement registrations remain available for the next event.

How

Snapshots registered queries before invoking refresh callbacks, preserving repository-read intersection and existing delay behavior. Observed-query coverage exercises successive writes, a source reset, and another write with both awaited and soft invalidation. Includes a patch changeset for @effect-app/vue.

Remarks

This is the dependency for Scanner SA-529. Scanner must adopt the published release before its dashboard's final browser validation. Both pull requests remain unmerged.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@jfet97
jfet97 marked this pull request as ready for review October 25, 2026 23:17
@pkg-pr-new

pkg-pr-new Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@effect-app/cli

npm i https://pkg.pr.new/@effect-app/cli@930

effect-app

npm i https://pkg.pr.new/effect-app@930

@effect-app/eslint-codegen-model

npm i https://pkg.pr.new/@effect-app/eslint-codegen-model@930

@effect-app/eslint-shared-config

npm i https://pkg.pr.new/@effect-app/eslint-shared-config@930

@effect-app/infra

npm i https://pkg.pr.new/@effect-app/infra@930

@effect-app/vue

npm i https://pkg.pr.new/@effect-app/vue@930

@effect-app/vue-components

npm i https://pkg.pr.new/@effect-app/vue-components@930

commit: fcc1faa

@jfet97 jfet97 closed this Oct 26, 2026
@omegent-app omegent-app Bot reopened this Oct 26, 2026
… live queries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@omegent-app
omegent-app Bot merged commit 555d9e2 into main Oct 26, 2026
5 checks passed
@omegent-app
omegent-app Bot deleted the keep-live-query-subscriptions branch October 26, 2026 08:49
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