Skip to content

fix(daemon): decode partitioned sealed gens in fan-out wait - #1541

Merged
ScriptedAlchemy merged 1 commit into
masterfrom
cursor/mounted-fan-out-timeout-13ea
Sep 17, 2026
Merged

ScriptedAlchemy merged 1 commit into
masterfrom
cursor/mounted-fan-out-timeout-13ea

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • mounted_fan_out_recovers_then_synthesizes_and_hands_off timed out in wait_for_code_generation even when the active generation pointer and file were already on disk.
  • Root cause: the journey helper used monolithic decode_sealed, which rejects partitioned manifests the daemon publishes under code-generation-segments-v1.
  • Teach read_active_code_generation to use decode_partitioned_sealed (same pattern as indexing_lifecycle_test) and enrich the timeout assertion with pointer/segment diagnostics.

Test plan

  • scripts/require-exact-test.sh cargo test --features test-helpers --test daemon_suite advanced_workflow_journey_test::mounted_fan_out_recovers_then_synthesizes_and_hands_off -- --exact --nocapture

Post-#707 master fix. Does not touch campaign branch.

Open in Web Open in Cursor 

Monolithic decode_sealed rejected partitioned manifests on disk, so
mounted_fan_out timed out waiting for a generation that already existed.

Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2db3aad

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

@ScriptedAlchemy
ScriptedAlchemy marked this pull request as ready for review September 17, 2026 15:27
@ScriptedAlchemy
ScriptedAlchemy merged commit 7d87d65 into master Sep 17, 2026
5 of 35 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the cursor/mounted-fan-out-timeout-13ea branch September 17, 2026 15:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-17T15:28:42.969492Z 2db3aad Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

2 participants