• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 25271128407
82%

Build:
DEFAULT BRANCH: dev
Ran 03 May 2026 05:42AM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 05 May 2026 05:05PM UTC via web
25271128407

push

github

web-flow
Scope sdk_messages live-query invalidation by session (#1771)

* feat: scope sdk_messages live-query invalidation by session

When an SDK message is written for one session, the ReactiveDatabase
now attaches scope metadata (sessionId) to the table-change event.
LiveQueryEngine uses this scope to skip re-evaluating queries that are
clearly unrelated — e.g. messages.bySession for session B is not
re-evaluated when session A writes a message.

Changes:
- Add TableChangeScope interface with sessionId field
- Extend METHOD_TABLE_MAP with scope extractors for sdk_messages writes
- Add scopeFilter option to LiveQueryEngine.subscribe()
- Add buildScopeFilter to NamedQuery for messages.bySession, task
  queries, group queries, and neo.messages
- Scope filters use param matching (session) or DB membership checks
  (task/group) to determine relevance
- Transaction flushes deliberately omit scope (multi-session writes)
- Methods without sessionId (updateMessageStatus, updateMessageTimestamp)
  fall back to table-wide invalidation

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Add debug-level instrumentation to live-query invalidation fanout

Logs table name, scope presence, evaluated/skipped/total counts on
every onTableChange call. Zero cost in production (debug level gated).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Source Files on build 25271128407
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #25271128407
  • 1ed6c7c4 on github
  • Prev Build on dev (#25270888469)
  • Next Build on dev (#25271366292)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc