Skip to content

fix(sessions): serve live projection during historical ingest - #4831

Merged
ScriptedAlchemy merged 13 commits into
masterfrom
codex/live-projection-during-history
Nov 10, 2026
Merged

ScriptedAlchemy merged 13 commits into
masterfrom
codex/live-projection-during-history

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Give live session projection a turn while historical ingestion is running. A foreground publication can supersede the old candidate, and a background wake preserves the generation still serving readers. The async acceptance fixture releases its worker with a watch notification.

This is the scheduler prerequisite for #4810, stacked on draft #4830. Relative to that base the diff contains only the scheduler and its tests. Its scheduler files match the versions verified on #4810. On the standalone master-based scheduler patch, 66 native Bazel scheduler tests and the real reset-during-refresh acceptance journey passed. The combined stack preserves the separately reviewed per-session compression changes in its base.

Keep the draft hold for independent review.

The current verification run checks 20c8a07a08 against #4830 at c914e408d4. This head includes the Linux launcher download prerequisite. The 4-file feature diff has the same paths and stable patch ID after updating the prerequisite.

A synchronous OnceLock wait inside the asynchronous historical-ingest
fixture blocked the worker that must poll live projection concurrently.
Use a durable async watch latch to preserve release ordering while
exercising the real interleaving and supersession journey.

Refs #4481
@changeset-bot

changeset-bot Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0bdd2a3

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 changed the base branch from codex/serialize-lcm-publications to master November 10, 2026 03:48
@ScriptedAlchemy
ScriptedAlchemy merged commit d260a49 into master Nov 10, 2026
30 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