Skip to content

fix(native-chat): settle structured chat turns stranded by a restart - #19122

Merged
brennanb2025 merged 16 commits into
mainfrom
brennanb2025/structured-chat-restore-settle-2
Sep 7, 2026
Merged

brennanb2025 merged 16 commits into
mainfrom
brennanb2025/structured-chat-restore-settle-2

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 11 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​490 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​488
Prod 17 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​96 $\color{#cf222e}{\Huge{\mathbf{−}}}$​25 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​71

The bug

Kill Orca while a structured chat turn is streaming and the chat is permanently unusable. It comes back with a spinner, a Stop button, and no send button — you cannot type in it again. The only escape is closing the tab and losing the conversation.

Measured on main, for both Codex and Claude:

Codex Claude
lifecycle row pre-kill turnLifecycle{running} turnLifecycle{running}
settlement row after kill -9 absent absent
after relaunch Stop present, send absent, Model/Effort disabled identical
survives a 2nd restart yes yes
Stop click appends a row, controls unchanged same

This also breaks Resume from Agent Session History: the tab comes back, but the chat it returns is wedged.

Root cause

Settlement runs on the way out, and the shutdown path is explicitly abandonable. A turn interrupted by a kill leaves a turnLifecycle{state:'running'} row that nothing closes, and the projection reads it as "still working" forever.

Verified: a later graceful shutdown appends zero rows, because exit settlement only settles turns a live session knows about. So no exit-path work can ever repair an already-stranded row — the repair has to happen on the way in.

The fix — trigger the settle that already exists

The repair itself is already implemented and provider-agnostic (unexpectedExitFallbackMutations / retryPendingStructuredAgentSessionSettlement). It only ran on an observed provider exit, which by definition never happens when Orca itself is killed. This adds the missing trigger:

  • Latch on proven-death eviction — sets both settlementRetryRequired and a stable settlementRetryId (restart-eviction:<sessionId>:<fence>). Latching only the boolean would have been a silent no-op: the retry short-circuits unless both are present.
  • New settlement-pending disposition — a settlement latch previously adjudicated to recovering, which sets a handoff stage that makes the session permanently un-openable through the hold path. This keeps the stage null. It also repairs that pre-existing trap for the observed-exit latch.
  • Settle at boot, not only on attach — so chats you never open are repaired too, and one that is opened later is not already bricked.
  • Both eviction sites inherit the latch, so the recovering-then-proven-dead path settles as well.

Safety

Settles only on proven death evidence (exit-observed / pid-absent / identity-mismatch). An indeterminate probe routes to recovering and is never settled — loss of contact is not proof of death, which keeps this correct for remote and SSH-hosted sessions.

Tests

Focused validation after review covers 12 affected and neighboring test files, including the wedged-profile migration for both providers, eviction-latch safety, idempotent settlement, observed-exit retry, recovery, and surface-lifetime coverage. pnpm tc:node, oxlint, and the changed-code quality gate are clean.

Scope

Deliberately excluded: the liveness gate on status projection, the interrupted-state UI copy, and the quit/update deadline ordering — each is its own PR.

@coderabbitai

coderabbitai Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: 841afeac-60f7-4af4-8db9-1f6da63e243b

📥 Commits

Reviewing files that changed from the base of the PR and between 39fdb5b and ee4e45a.

📒 Files selected for processing (7)
  • src/main/native-chat/agent-session-wire/structured-agent-session-handoff-owner-close.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-handoff-owner-close.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-host.ts
  • src/main/runtime/agent-session-eviction-settlement-latch.test.ts
  • src/main/runtime/agent-session-handoff-lease-transitions.ts
  • src/main/runtime/agent-session-lease-transitions.ts
  • src/main/runtime/agent-session-record-store.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review.


📝 Walkthrough

Walkthrough

The changes add deterministic settlement retry state for evicted agent sessions and support the settlement-pending restart disposition. Session restoration retries settlement before restoring handoff state. Host wiring passes the session map and clock to the retry callback. Tests cover eviction latching, restoration ordering, wedged-profile migration, intentional owner closure, and cancellation outcomes.

Merge Risk: ⚪ Minimal · up to ee4e4

This change restores chats whose provider process died during streaming by settling the interrupted turn at restart, returning the chat to an editable, sendable state. The supplied coverage indicates no remaining concrete merge-blocking risk.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description gives a detailed, relevant explanation of the bug, root cause, fix, safety conditions, tests, and scope. However, it omits most required template sections, including the linked issue, … Complete the required template sections. Add the issue reference after Fixes #; add visual proof or write N/A with a reason; document manual and automated testing with platforms; complete the AI Disclosure, Review, Agent skill upstream …
Docstring Coverage ⚠️ Warning Docstring coverage is 42.11% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 19 functions across 20 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: fixing structured chat turns that remain unsettled after a restart.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description gives a detailed, relevant explanation of the bug, root cause, fix, safety conditions, tests, and scope. However, it omits most required template sections, including the linked issue, visual proof or an explicit N/A statement, structured testing details, AI disclosure, review, boundary confirmation, notes, and checklist.

Resolution

Complete the required template sections. Add the issue reference after Fixes #; add visual proof or write N/A with a reason; document manual and automated testing with platforms; complete the AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections; and retain the existing technical details in the corresponding ELI5, What Changed, and Why sections.

✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: 43525c09-2857-4747-89b9-72e21d8f8df3

📥 Commits

Reviewing files that changed from the base of the PR and between 6fcd829 and 8e7c47f.

📒 Files selected for processing (16)
  • src/main/native-chat/agent-session-wire/structured-agent-session-host.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-readable-restorer.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-readable-restorer.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-restart-restore.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-restart-restore.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-reveal.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-reveal.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-turns.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-turns.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-unexpected-exit.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-wedged-profile-migration.test.ts
  • src/main/runtime/agent-session-eviction-settlement-latch.test.ts
  • src/main/runtime/agent-session-lease-transitions.ts
  • src/main/runtime/agent-session-restart-handoff-adjudication.ts
  • src/main/runtime/agent-session-restart-lease-transitions.ts
  • src/shared/agent-session-lease-adjudication.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review.

@pullfrog pullfrog 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.

Important

One correctness concern in the performCancel change: { cancelled: false } is not uniformly "already finished", so tombstoning the running lifecycle row on that signal can clear a turn that is still executing. Details inline.

Reviewed changes

The PR adds a durable "settlement latch" (settlementRetryRequired + settlementRetryId) to every proven-death eviction, adjudicates that latch to a new settlement-pending disposition (instead of recovering, which made the lease permanently un-openable), and triggers the existing provider-agnostic settlement at boot and on attach rather than only on an observed provider exit. It also changes performCancel to tombstone a dangling running-turn row instead of appending an unbounded status note per Stop click.

  • Eviction latch — evictAgentSessionOwner and the evicted restart disposition now set settlementRetryRequired/settlementRetryId (a stable restart-eviction:<sessionId>:<nextFence> id) on proven death (exit-observed / pid-absent / identity-mismatch), while indeterminate probes still route to recovering and are never settled.
  • settlement-pending disposition — replaces the old recovering verdict for a surviving latch, keeping the handoff stage null so the lease stays openable through the hold path.
  • Boot-time settle — createStructuredAgentSessionHostRestore now wires retrySettlement into the readable restorer, so restoreOneStructuredAgentSessionRead settles latched journals between onReadable and restoreHandoff.
  • Stop settles — performCancel tombstones the running turn-lifecycle row (reusing the new runningTurnLifecycleTombstoneMutations) when the adapter reports { cancelled: false }.
  • Tests — 43 new/updated assertions, including a wedged-profile migration test across both providers, an idempotency check, and latch coverage for both eviction sites.

ℹ️ Nitpicks

  • The settlement-pending branch added to adjudicateRestartedAgentSessionHandoff (agent-session-restart-handoff-adjudication.ts) appears unreachable: that function only runs for preparing / new-owner-proving leases, and both paths clear settlementRetryRequired at reservation time, so adjudicateAgentSessionRestart cannot return settlement-pending there. It's harmless and consistent with the sibling handler, but it's dead code with no test coverage — consider dropping it or noting the intent.
  • The boot/attach settle surfaces raw host-probe text as a user-visible chat line: retryPendingStructuredAgentSessionSettlement feeds deathEvidence?.detail into unexpectedExitFallbackMutations, which always appends Provider exited: <detail>. For the new restart-eviction trigger that's recorded pid absent on host / mismatched process-start-time, and it's emitted even when no turn was actually running (an idle chat killed by kill -9). The wording is more appropriate for an internal log than a chat transcript.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

The new commit reverts the performCancel stop-tombstone sub-feature in response to the prior correctness concern; the boot/attach settlement repair is untouched.

  • Reverted performCancel tombstone — { cancelled: false } no longer infers "already finished" or clears the running lifecycle row; performCancel returns to base behavior (appendStatus(ctx, input.clientOperationId, note)). Provider completion and proven-death eviction remain the only authorities that settle a running turn.
  • Re-inlined the running-turn tombstone — runningTurnLifecycleTombstoneMutations was removed and its logic folded back into unexpectedExitFallbackMutations, which still tombstones running status rows during the boot/attach settle.
  • Adjusted tests — dropped the "settles an already-finished turn" case and restored the "leaves the running lifecycle row intact" assertion for the confirmed-cancel path.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

The two new commits add regression coverage that locks in the reverted cancellation behavior.

  • Added unconfirmed-cancel coverage — keeps the running lifecycle when cancellation cannot be confirmed seeds a running lifecycle row, drives performCancel through an adapter returning { cancelled: false }, and asserts the row survives untouched while only the status note is appended. The exact-array assertion would fail if the prior tombstone behavior were reintroduced.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Electron red/green QA (structured native chat recovery)

Scope: desktop Electron CDP only (ORCA_BACKGROUND_LAUNCH=1). Isolated profile + unique CDP/renderer ports. Codex structured native chat on a throwaway git workspace. Not mobile.

Commits

  • Red / baseline: 6fcd82918dd649a3f97d073f9354d33c54d868d8
  • Green / current PR head: 2a0253d4a32c4dd52ce356c58829d202c3dc9aab (includes 8e7c47ff plus the three follow-up commits)

Scenario: New tab → Codex structured chat → send a long counting turn while streaming (Stop + disabled Model/Effort) → kill -9 only the verified app main PID → relaunch same profile.

Red (baseline after kill + relaunch)

red-wedged

  • Visible: Working… spinner, Stop (square), no Send, Effort Medium + Model GPT-6-Astra disabled, composer not usable.
  • Journal: turnLifecycle{state:'running'} at seq 4; no settlement row after kill -9.
  • Lease: claimStatus live, handoffStage null, deathEvidence null.

Green (same profile on 2a0253d4)

green-recovered

  • Visible: real recovered Codex chat, draft filled (qa draft after recovery — harmless), Send present/enabled, Effort Medium + Model GPT-6-Astra enabled, no Stop / no spinner.
  • Journal seq 21: lifecycle-batch settlementId=restart-eviction:<sessionId>:4, recovered: true, status text Provider exited: recorded pid absent on host, plus a tombstone of the running-turn item.
  • Agent Session History was reachable (Local Mac). Resume in Worktree focused the same recovered session; it stayed typable (Send present, no Stop/Working).

Gaps: Claude structured chat was not exercised (Codex only). Resume did not open a second tab; it focused the already-open recovered session. Dictation stayed disabled (mic), unrelated to this fix.

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

The new commit narrows the settlement latch so only proven-death evictions trigger the boot-time settle, keeping intentional chat closes out of it.

  • Gated settlement latch on eviction reason — evictAgentSessionOwner now takes a required journalSettlement: 'required' | 'not-required' flag; the intentional-close path (closeRetainedTuiOwner) passes 'not-required', while the proven-death paths (recoverDeadTuiOwnerForHandoff, evictProvenDeadOwner) pass 'required'.
  • Regression test for intentional close — new structured-agent-session-handoff-owner-close.test.ts asserts an intentional TUI close leaves settlementRetryRequired/settlementRetryId unset, and the existing latch test pins 'required' for the proven-death evictions.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

The new commit ee4e45a is a pure Merge remote-tracking branch 'origin/main' — no PR-authored code changes. All 37 files it carries are main's orthogonal work (branch-rename hook, reliability-gate contracts, the status-feed onSessionStatusChanged feature). The only PR-authored files it touches are structured-agent-session-host.ts / structured-agent-session-host-types.ts, and the PR's settlement wiring (the createStructuredAgentSessionHostRestore(deps, this.sessions, () => this.now(), …) signature) survives intact with no conflict-resolution logic. The settlement latch and journalSettlement gating reviewed at 7d6bb74 are unchanged.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025

brennanb2025 commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

Review status for PR 19122

Status: ready from this review pass. I reviewed the actual PR diff through pushed head 27e63383179df900a6dfe47626c0851f1d57e98e; GitHub reports it mergeable/clean and its complete exact-head CI matrix is green: https://github.com/stablyai/orca/actions/runs/34075506367.

What changed during the review loop:

  • Reverted the unsafe Stop-click settlement path and retained focused cancel tests. An unconfirmed cancel is not proof that the provider finished the turn, so the running lifecycle must remain until provider completion or proven-death settlement handles it.
  • Kept the explicit eviction contract: proven-death paths require journal settlement, while intentional retained-TUI close does not create a recovery latch (src/main/runtime/agent-session-lease-transitions.ts:69, src/main/native-chat/agent-session-wire/structured-agent-session-handoff-owner-close.ts:30).
  • Fixed a same-model review finding where a proven-dead TUI handoff could reserve a replacement before replaying its pending provider-exit settlement (src/main/native-chat/agent-session-wire/structured-agent-session-handoff-reverse.ts:98).
  • Fixed the follow-up retry bug so successful settlement clears recovery-only state but preserves the old-owner-stopped stage and operation identity required by the dead-TUI handoff (src/main/native-chat/agent-session-wire/structured-agent-session-settlement-retry.ts:89, src/main/native-chat/agent-session-wire/structured-agent-session-settlement-retry.ts:96).
  • Kept the generated pnpm-lock.yaml artifact out of the PR.

Readiness checklist:

  • Start-of-review: PASS at 39fdb5b331, with 0 P0 / 0 P1 / 0 P2 findings.
  • End-of-review: PASS at d20b4a5eb6178c7b3d96669961f693410626ed89, after all production fixes, with 0 P0 / 0 P1 / 0 P2 findings; counsel was not required. The only subsequent branch change was a conflict-free main-only test merge to 27e6338317; the PR diff did not change, and that exact head passed the full CI matrix.
  • No mobile-facing schema, RPC, pairing, route, handshake, or persisted-state surface changed, so mobile emulator QA was not applicable. Cross-platform review found no new platform-specific path, shell, native-module, permission, or process-launch behavior.
  • Performance review found no regression: the normal restore path adds one O(1) record lookup per restored journal, settlement scanning is limited to latched sessions, restore concurrency remains capped at four, and the diff adds no polling, subprocess, timer, listener, or unbounded fanout.

Same-model review loop: the same-model/same-thinking loop found and drove the two handoff/settlement fixes above, then returned CLEAN. Scope stayed within proven-death restart settlement; it did not grow into the status-projection liveness gate, interrupted-state UI copy, or quit/update watchdog ordering.

QA and verification:

  • Existing Electron red/green proof: fix(native-chat): settle structured chat turns stranded by a restart #19122 (comment). It proves the measured Codex wedge red/green: after restart, the recovered chat is typable with Send enabled, no Stop, and journal settlement restart-eviction:<session>:4 / recovered: true.
  • Claude remains unproven by separate visual Electron QA. The journal-level mechanism should still hold because the boot settlement path is provider-neutral and the wedged-profile regression is parameterized across Codex and Claude (src/main/native-chat/agent-session-wire/structured-agent-session-wedged-profile-migration.test.ts:221), but the screenshot evidence is Codex-only.
  • Local final-diff gates passed: 22 focused test files / 170 tests, pnpm tc:node, pnpm run check:code-quality:changed with zero findings across 28 changed files, and git diff --check.
  • GitHub exact-head CI passed every applicable job, including all eight Node test shards, static analysis, typecheck, cross-version wire compatibility, Linux packaging, Windows packaging, and final verify.

Deferred item, intentionally not fixed here: repeated Stop clicks still append one status row per click while the lifecycle stays running, because each click has a fresh clientOperationId and the note is keyed by that operation id (src/main/native-chat/agent-session-wire/structured-agent-session-turns.ts:147, src/main/native-chat/agent-session-wire/structured-agent-session-turns.ts:185). This is a real measured defect for a separate follow-up so this PR stays scoped to proven-death restart settlement.

Branch update note: the branch was repeatedly refreshed from main and exact-head CI stayed green after each final update. During the last exact-head matrix, main landed five additional unrelated commits, so the PR currently reports 5 behind while remaining mergeable/clean; the validated head includes main through 1e301ab1df.

@pullfrog pullfrog 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.

Important

This delta regresses the observed-exit settlement path: the settle no longer clears handoffStage, so a session whose surface-release settlement previously failed can never re-attach. See the inline comment and the failing test.

Reviewed changes

  • Settle before reacquire on the dead-TUI handoff path — handoffStructuredSessionToNative now calls the new retryPendingSettlement dep whenever record.lease.settlementRetryRequired is set, so a stranded turnLifecycle{running} row is tombstoned before a native owner is reserved.
  • Extracted retryLoadedStructuredAgentSessionSettlement — the shared settle logic now takes a loaded session (journal/fence/acquisitionGeneration) instead of the full host deps, so the boot/attach settle and the handoff settle reuse one path; retryUnexpectedExitSettlement and unexpectedExitFallbackMutations were narrowed to the fields they actually use.
  • New regression test — structured-agent-session-proven-dead-retry.test.ts drives a pid-absent dead-TUI handoff retry and asserts the running turn is settled and the latch cleared without re-closing the dead owner.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

  • Preserved the handoff stage in the settle — retryLoadedStructuredAgentSessionSettlement now keeps old-owner-stopped (and its handoffOperationId) when a dead-TUI handoff retry settles, while clearing recovery stages (recovering) back to null, which fixes the observed-exit re-attach regression from the previous round.
  • Re-targeted the observed-exit regression test — structured-agent-session-wedged-profile-migration.test.ts now drives host.attach directly (rather than the boot sweep plus hold) so it exercises the exact attach path that regressed.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

The new commit d20b4a5eb is a pure Merge remote-tracking branch 'origin/main' — no PR-authored code changed. The delta against the prior pullfrog review carries only main's orthogonal work and leaves the PR's 28 settlement files untouched, with no conflict-resolution logic.

  • Merge of origin/main — brings in browser-client host attach adoption, pane-manager / terminal-webgl hidden-retention, and the paired-cmd-j / floating-workspace e2e specs (10 files), all orthogonal to the settlement latch and boot/attach + handoff settle paths.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

The new commit 27e6338 is a pure Merge remote-tracking branch 'origin/main' — no PR-authored code changed. It carries a single main-side commit, 1e301ab ("test: cover native Wayland Hangul in isolated CI (#19174)"), whose seven files (the terminal-ime-e2e workflow, run-terminal-ibus-hangul-e2e.mjs, focus-nested-wayland-terminal.sh, a reliability-gate entry, pr-e2e-source-routing.mjs, terminal-ime-e2e-workflow.test.mjs, and a Hangul e2e spec) are all CI/test infrastructure orthogonal to the settlement work.

  • Merge of origin/main — brings only Wayland Hangul terminal-IME e2e CI from main; none of the 28 PR settlement files are touched and there is no conflict-resolution logic, so the settlement latch, journalSettlement gating, boot/attach settle, and dead-TUI handoff settle paths remain exactly as previously reviewed.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025
brennanb2025 merged commit fa5ef99 into main Sep 7, 2026
28 checks passed
ivanvykopal pushed a commit to ivanvykopal/orca that referenced this pull request Sep 7, 2026
…tablyai#19122)

* fix: settle structured chat turns after restart

* fix: preserve unconfirmed turn cancellation state

* test: preserve unconfirmed turn lifecycle

* test: narrow unconfirmed cancellation coverage

* fix: keep intentional TUI closes out of recovery

* test: keep branch rename journal mock current

* fix: settle dead TUI handoffs before reacquire

* fix: preserve handoff stage after retry settlement

---------

Co-authored-by: Merge Sim <sim@local>
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