Skip to content

feat(explorer): stream results for exact projects - #4906

Merged
ScriptedAlchemy merged 6 commits into
masterfrom
t3/dashboard-query-job-streaming
Nov 16, 2026
Merged

ScriptedAlchemy merged 6 commits into
masterfrom
t3/dashboard-query-job-streaming

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Why

Explorer users need progressive search results with cancellation and exact project routing. Replace query-job polling with a stream owned by the request.

What changed

  • Stream each source's result and one terminal event. Cancel outstanding reads when the request ends.
  • Route selected-project searches to the registered project and preserve source coverage, freshness, and typed failures.
  • Update the dashboard reader and remove the polling registry, routes, and generated contracts.

Scope

  • Covers Explorer search, progressive rendering, supersession, and cancellation.
  • Selected-project Knowledge uses its own store. Code and Sessions report explicit unavailability until their exact-project ports are mounted.
  • Unresolved and absent scope messages still share the existing write-permission wording.

Blast Radius

The embedded dashboard and daemon change their Explorer contract together. The retired polling endpoints are removed.

Verification

  • API unit suite passed 210 tests with one ignored. Real API journeys cover selected-project isolation, write refusal, streaming, and typed unavailable sources.
  • Dashboard suite passed 2,323 tests. The final cancellation, absence, and UI checks passed 35 tests; typecheck and build passed.
  • Contract generation and drift checks, Bazel formatting, commitlint, and diff checks passed. Cancellation diagnostics were reproduced before the fix and verified afterward.

References #4432.


Devin Review

@changeset-bot

changeset-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 61111c8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@ScriptedAlchemy
ScriptedAlchemy merged commit 80ebe1b into master Nov 16, 2026
16 checks passed
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