feat: reconcile native runtime and Activity integration with dev - #551
feat: reconcile native runtime and Activity integration with dev#551lidge-jun wants to merge 195 commits into
Conversation
Preserve integrated runtime and presentation code while retaining dev conditional trace-close coverage. Extend immediate Stop tests to steer and verify trace closure at the real exit barrier.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Accessibility, visual polish and cross-runtime verification handoffVerified that all seven scoped checkpoints are ancestors of this PR head
At the integration checkpoint These results are checkpoint evidence, not a claim of final-head CI or live-provider certification. This PR head additionally changes All scoped changes are already included here, so no duplicate PR is needed. |
(cherry picked from commit 7725ae600061c2d683a0262efffdd1acf4333a39)
(cherry picked from commit fdffa1d81ade44642475e0c309ecfbb32ba4ae65)
(cherry picked from commit ba49d7470cf9d9c6fbb3099f055b04c17a997d16)
(cherry picked from commit 91665339763a4822e65be65a70ed04462adea8d6)
Apply the model-free, cache and request-bridge subset of be4f5b3b2f05754594313e9ef36c6089f25c2417. The newer redirect fixture is repaired at its owning upper layer.
Summary
Runnable cumulative native-runtime / Activity integration candidate, based on
devafter #541 and #542. Draft: not ready for final merge.This PR's dev-to-head diff is cumulative, not a small test-only feature claim. Original donor PRs #543, #544, #545, #546, #547, #548 and #550 remain open while their assertion/path coverage and review dispositions are reconciled; this PR does not claim every donor is fully superseded.
Initial reconciliation verification (
36eb07591)npm run typechecknpm run build --ignore-scriptsnpm run build:frontendbash scripts/verify-dist-assets.shbash structure/verify-counts.sh: 538 entries passed.Tests ran serially with isolated homes and bounded process cleanup. No full local repository suite or real-provider/Slack interaction was performed. An initial test-launch attempt hit macOS IPC socket-path length before tests began; shortening the task-owned temporary prefix fixed the harness, and the complete named run passed. Existing frontend theme-boot/chunk-size warnings remain.
Remaining gates / follow-up layers
Baseline repair update (
d15b1c037)The baseline descendant at
d15b1c037includes the reviewed three-test-file repair from7725ae600: CSR006/012 now exercise actual settings/session ownership with distinct database sentinels and restoration; EG007's obsolete source window is replaced by the existing, freshly executed EG007a/b print/Copilot error-reentry oracles; three projection-lookup cases guard allocation, recording failure and the item bound. No production code changed in that update.Freshly passed 76 tests /7 named files on this exact head: cli-switch-refresh, enoent-guard, runtime-projection-lookup, print-spawn-journal, print-bypass-paths, web-settings-runtime-ownership and codex-runtime-projection. New-head CI is tracked separately. This addresses the three known CSR/EG failures, not all remaining Web/docs CI failures. The repair belongs in this lower layer and is normally merged upward into #552; no force-push or rebase.
Final-rendering / hydration baseline update (
106ab9f8d)Source
ba49d7470is included as one three-test-file unit: real finalizer dispatch coverage, six widget types through first-user/history/recycling entrypoints, and removal only of the obsolete elicitation callback assignment-spelling check. All 15 existing elicitation cases remain. Its real first-user/history behavioral replacements are delivered together, not deletion alone. No production change.Fresh 29 tests /3 files passed on this lower head. The same unit is propagated normally into #552 and #553. Remaining unrelated CI failures still need their own reconciliations; no blanket green claim.
Further runnable changes will be published as ordinary dependent PR layers; this is not a new GitHub native stack.
Rendering and bootstrap repair update (9712b3d)
Includes the reviewed Node A repair from
916653397: behavioral badge/final-render proofs, actual Mermaid callback dispatch, settings-failure/location ordering and AST-verified API counts. These repairs are present in lower #551 and propagated normally; the required existing replacement tests are retained there. Each layer freshly passed 60 tests across six named files after that update.Also includes the reviewed Node B repair from
be4f5b3b: observable reconnect/history/sidebar readiness, declared HTTP ledgers and an actually-started stale-A request. Model-free/cache/request-bridge repairs start in #551; the newer redirect fixture is repaired only in its existing #554 layer and descendants. No new test is introduced into an earlier layer merely to apply a patch.Fresh bootstrap verification at this head: 61 tests /6 files passed. The test-only repairs preserve production code, process policy and Windows selection. Exact-head hosted Node/Windows results remain mandatory; previous Windows successes are not relabeled as new-head CI. No whole-suite local run, force-push, rebase, skip or approval bypass.