Skip to content

fix(workflow-session): preserve full-history unfinished-call recovery - #3

Merged
franksong2702 merged 2 commits into
integrate/reviewed-upstream-20261020from
sync/unfinished-call-recovery-20261104
Nov 7, 2026
Merged

franksong2702 merged 2 commits into
integrate/reviewed-upstream-20261020from
sync/unfinished-call-recovery-20261104

Conversation

@franksong2702

@franksong2702 franksong2702 commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Scope

Backport upstream #1344 and its follow-up #1374 onto the maintained integrate/reviewed-upstream-20261020 branch.

Unfinished mutating/shell calls remain visible after resume or another instruction, including starts pushed beyond the 200-event presentation summary but still present in retained Session history. Resolution requires the exact later invocation identity. The reverse scan is bounded by retained history and remains read-only: no execution, replay, permission, retention, persistence-format, or deployment change.

The fork retains JSON-ledger persistence. Tests cover full-history reload, hot/cold parity, serialization privacy, reused identities, duplicated finishes and finish ordering. Fork-only patches remain intact; PR #2 is unchanged.

Final local validation

  • Isolated Linux cloud checkout with official Rust/Cargo 1.99.1 and locked dependencies.
  • Red control on prior head bda7eb6 plus new window regressions: 2 expected failures (in_progress instead of blocked).
  • Final workflow-session package: 309 passed, 0 failed, 10 existing ignored.
  • Server cargo check --locked -p webcodex --tests: passed; this is compile evidence, not Server test execution.
  • Independent reviewer reruns: continuation 46 passed; borrowed projections 7 passed / 4 ignored benchmarks.
  • Formatting, workspace policy (22 packages), 20 checker self-tests, Markdown links and diff checks passed.
  • Independent final review found no blocking concern.

Current validation report.
Historical #1344 validation.

Exact source and CI

Current head: 22c0643d1067caefe7b400ee97c576a549d23ac2; Git tree 4092e57047a31bc1602427f68c90ecf77c3b5ef7 exactly matches the locally validated and independently reviewed tree.
Exact-head CI run completed successfully on 2026-11-07 at 02:23:24 UTC: 11 jobs successful, 7 path-classifier skips. Required stable aggregates test and test-native passed. Linux Server (including experimental Code Mode/receipt tests), workspace crates, Runner, tooling, contract and MCP conformance passed. Native Windows/macOS and Docker execution lanes were skipped by the trusted path policy; their aggregate policy checks are not native-platform acceptance. Previous head's CI is historical only.

Ready-for-review recheck: CI run 42331382826 passed on the same head at 2026-11-07 03:02:18 UTC, again with 11 successful jobs and 7 policy skips. This latest run completed before merge.

No full local Server runtime test, native Windows/macOS/ARM64, real Host/MCP, crash/power-loss or deployed Server/Runner acceptance is claimed. No release, deployment, or service restart. Merged into integrate/reviewed-upstream-20261020 on 2026-11-07 at 03:02:51 UTC as 3ca34f67. The merge tree remains exactly 4092e57047a31bc1602427f68c90ecf77c3b5ef7.

Backport upstream yyjeqhc#1344 with JSON-ledger restore regression adaptation.
Preserve read-only projection and exact invocation identity.

Validation: 305 workflow-session tests passed, 10 existing ignored;
42 continuation tests passed; baseline regression failed as expected.
Independent static review found no blocking issue. Exact-head CI required.
Backport upstream yyjeqhc#1374 over existing yyjeqhc#1344 recovery fix. Compute unfinished
mutations over all retained Session events while keeping presentation bounded.
Preserve exact invocation identity, JSON ledger persistence, and no replay.

Validation: baseline regression 2 expected failures; final workflow-session
309 passed / 10 ignored; Server tests compile; independent continuation
46 passed and borrowed projections 7 passed / 4 ignored. Independent final
review found no blocker. Exact-head CI remains required.
@franksong2702 franksong2702 changed the title fix(workflow-session): backport unfinished-call recovery fix(workflow-session): preserve full-history unfinished-call recovery Nov 7, 2026
@franksong2702
franksong2702 marked this pull request as ready for review November 7, 2026 02:52
@franksong2702
franksong2702 merged commit 3ca34f6 into integrate/reviewed-upstream-20261020 Nov 7, 2026
36 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