Repository navigation
Conversation
Restore the guarded file-route drain and exact stop ownership boundaries from lidge-jun#8803 after its Windows timeout revert. Replace repeated CIM owner probes with same-handle native creation/SID evidence, preserve Windows argv semantics, retain apply exclusion during recycle, and retry only closed, unpublished rollback listeners within a shared remaining budget. Native Windows acceptance remains pending; no CI policy or budget changes.
Contributor
|
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: true
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. |
Contributor
|
✅ Deterministic PR hygiene checks passed. |
Apply the identical generated timing table from lidge-jun#8940 (d190515). Completed primary-file samples update scheduling weights only; test coverage, five-shard execution, time limits, and workflow policy remain unchanged.
Preserve upstream same-handle argv reads, Hub incarnation checks, relay refresh cleanup, volatile lifecycle locks and fixture phase deadlines. Keep strict native owner evidence, Windows argv parsing, rollback retry ownership and Link recycle exclusion from this follow-up. Use the reviewed upstream-preserving timing table from lidge-jun#8940 (e584532). Native Windows acceptance remains outstanding; keep this PR in draft.
Preserve the 26 historical evidence snapshots and append the current CI fingerprint set with the independently reviewed timing table blob. Keep every workflow, job requirement, shard count, and timeout unchanged. Validation: 69 release evidence/history/dispatch/resume/docs tests pass; release-evidence policy-check passes.
Preserve the existing PR work while merging current dev. Keep five shards, individual test and batch deadlines, required checks, triggers and release identity rules. Append the reviewed workflow fingerprint without changing prior policy records. Refs lidge-jun#8940
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow up on the Link stop restoration now merged into dev as #8937. The current diff retains the remaining Windows command-line, native ownership, rollback and recycle corrections. Saved connections and credentials remain intact; conflicting or unverified ownership refuses destructive actions.
Outstanding Windows gate
Draft. Two native Windows cases called out in #8930 now pass. The wider parent/Link recovery gate still fails on this host. A refused parent stop followed by disconnect and bound restart reached the fixture's 15-second watchdog on this branch and on unmodified dev. Keep the PR in draft until native Windows recovery passes with the real ACL and stop checks enabled.
Verification
Native Windows verification on
8e4d926feff87debfed6e2042154c7d0632cf369The merge incorporates
e6432dbc6e75551c1135b2c80451290cf9d4b19dfrom dev.git merge-treealso produced clean results against dev5f80219ff91e273512b2fbb09374205844122777and #8931 head9dbc668857eba41cc2b274211a3647c85679b97e. The runtime diff following #8937 still includes the same-handle command-line/owner evidence, rollback lock handling, and recycle exclusion through teardown.scripts/test.ts --no-env-file --no-install --isolate --parallel=1. The Windows stop-owner identity, recycle exclusion, rollback lock and two layout suites passed all 48 tests. The 30 native in-process creation-proof test passed in 2.55 ms.bound restartrecovery case was also isolated. The untouched fixture exited 137 at 15.06 s on this branch and 15.05 s on unmodified dev5f80219f, with the same host, Bun, dependencies and real ACL operations. In a separate instrumented run, startup finished at 9.35 s, preflight took 1.55 s and disconnect started at 12.47 s before the 15 s parent watchdog terminated the fixture. A diagnostic-only control using the repository's Windows ACL subprocess stubs completed in 3.71 s. The PR keeps real ACL checks and the original deadlines. The isolated comparison covers this case only.bun run typecheckpassed for 2,654 files.bun run structure:check, the release-evidence policy check andgit diff --checkpassed. PR CI for this head. The full local suite was omitted during shared Windows validation.Earlier dev integration and CI job budget — 2026-11-19
Head
d04a6d0ed5db477e7e11f56c42b4e325962e0adc, tree96b3ffdec72d04d036d5503d8195accbd8b943e5, with normal-merge parents8e8623bb78d041748aca876a26ea55b0fa182437and dev676baf650c2d2b020439341f65e1ccc57c5d3e90. GitHub's actual PR mergea69ebd44b1372d0e6aa757aaeb0f93950d713b98has this same tested tree. The PR-owned runtime and test files (13 files) remain byte-identical to the previous PR head; upstream features and the layout/structure inventories are retained.The common change from #8940, source
82ee1a5a483c3e4e7756d5cb000f72ab98e376a5, gives the five full Ubuntu shard jobs a bounded 18-minute outer job limit, previously 15 minutes. The prior runs were cancelled near the 15-minute limit while tests were still progressing or finishing. The per-test and per-batch deadlines, five-shard coverage, required jobs, workflow triggers, permissions, trusted-dev/manual-dispatch rules and release identity checks are unchanged. This is an outer CI-job budget change, not a passing result for the earlier cancelled runs.Current dev's timing table
a07f90e6098082e1452ea5cc075c801271321ecais preserved. The release policy retains all 27 prior records and appends one exact workflow snapshot. Reviewed blobs: workflowda0b271b0d8c362a3efe98485ebfc543f64b03a2, strict budget testb8fa9b20e23a0ed571c2ded0b655f22492ad43f6, and policy7df235ec7904dd19a4b2e588ecfba1da627e9972. Independent source and security review covered the immutable common patch3e18ab649f9766f74859c7eb9ae2f400f1eddbc8d8c4496f77a22fff5f675f7b.Validation on this integrated tree, using Bun 1.4.4 on Linux:
scripts/test.tsrunner with--no-env-file --no-install --isolate --parallel=1ranwindows-stop-owner-identity,client-recycle-exclusion, andclient-restart-rollback-lock, together withci-workflows, both test-layout files, the file-size ratchet and Spanish localization: 245 pass, 1 skip, 0 fail; 5,801 assertions across eight files. The one skipped check requires native Windows. This PR remains draft with the existing Windows acceptance requirement.node .github/scripts/release-evidence.cjs policy-checkpassed.bun run typecheck: 2,632 files, no errors.bun run structure:checkandgit diff --cached --checkpassed.Exact-head main CI 44472792150 is queued as of 2026-11-19 06:33:30 UTC. It has not established a passing result. No manual workflow dispatch or additional retry was started. The full local suite and documentation build were not repeated for this integration during shared-worktree activity; earlier runtime/docs results below remain evidence for their explicitly named trees. Native Windows acceptance and the existing review requirements remain separate.
Previous release-evidence follow-up — 2026-11-19
Head
8e8623bb78d041748aca876a26ea55b0fa182437, tree69ae71fcb44374e26f3ac981a71c811515f1c202, direct parente3c6154dde46ad1f07d0a0af93c4fc4626cc6ff6.The reviewed timing table from #8940 also needs an exact fingerprint in the release-evidence registry. This follow-up changes only
.github/scripts/release-evidence-policy.json: all 26 historical records are preserved, and one snapshot is appended with the existing CI requirements and timing-table bloba07f90e6098082e1452ea5cc075c801271321eca. The approved policy blob is51c1f898f2bdd69b7a012bd191ac51acb3c1779b; it received independent review. Workflow triggers, required jobs, shard counts, time limits, and test coverage retain their existing values.Validation on this exact tree:
release-dispatch-guard,release-evidence,release-history,release-resume, anddeploy-docs).node .github/scripts/release-evidence.cjs policy-checkpassed and confirmed that the registered fingerprints match the working tree.git diff --cached --checkpassed. Before this snapshot was added, the timing-table fingerprint assertion failed.Historical run 44463011731 for this parent head finished cancelled. Shard 4/5 completed all 63/63 batch summaries, with no failing assertion in its full log, before cancellation. The run was not a passing result.
Previous dev integration — 2026-11-19
Head
e3c6154dde46ad1f07d0a0af93c4fc4626cc6ff6, tree615e902f66b3ba183937a28371e97136812b1119. This is a normal merge of9914824e9a9b90280f532ee1a5eb7c5a61be78cband dev80e8952357d11ccf1421b4aa5620e781625dcdb0, published with an exact-head fast-forward lease. The merge preserves the source changes from both branches; it does not restore the older implementation over the maintainer's changes.Bun 1.4.4, the normal
scripts/test.tsrunner/preload,--no-env-file --no-install --isolate --parallel=1 --timeout 30000, and a private test temporary filesystem were used:windows-stop-owner-identity,client-link-stop,client-link-stop-recovery,client-recycle-exclusion,client-restart-rollback-lock,stop-deferred-teardown, andwindows-process-evidence: 288 pass, 5 skip, 0 fail; 2,661 assertions. The portable owner-enrichment test was then run with PowerShell 7.7 on PATH: 1 pass, 27 assertions. Four native-Windows tests remain skipped.client-hub-relay,client-runtime-restart,client-link-stop-sibling, androute-intent-runtime-stop: 163 pass, 2 macOS skips, 0 fail; 1,337 assertions.5920933f76e412ffa05d3b61d3aa28de21308b72360195e34d752c943700db0dfound no remaining implementation blocker. It checked the recycle admission/teardown boundary, listener closure before retry, owner classification, same-handle SID/liveness/creation/argv checks and preservation of Hub refresh cleanup.e5845320b776a27aa58562f80e8d968140bc9046; table SHA-2562d56880fe64338d36b424bb73178b025078ca1482da5dd4be6e73c6792759be5. Completed primary-file samples from dev run 44386662799 and Ubuntu PR runs 44448708478/44448420609 are used; the cancelled workflow and unfinished sample are explicitly distinguished. All 20 newer dev rows are preserved. Independent replay of the actual runner retained all 3,358 general files exactly once across five shards. The common candidate's 42 harness tests / 6,670 assertions are scoped data/runner evidence, not this PR's full-suite result.460036b66ee9d8eac99af25ced81010fa8c5676f, and Service/Catalog/PR gates are queued. No queued check is described as passing.The first local run refused the history coordinator because the temporary namespace had the wrong owner/mode. It was stopped; the successful runs above used a private root-owned
1777temporary namespace without changing host permissions or production ownership guards. Full local repository tests were not repeated during concurrent worktree activity. Native Windows, the two macOS-only handoff cases and full exact-head CI remain outstanding. The earlier results below belong to their earlier tree.Earlier validation before dev integration
Candidate based on
d4a0382ceab624c44a7753d50054379f57933ad4; reviewed tree:5609284b6df4842fa45f95bf9fced54147524e68.bun run typecheck: passed, 2,592 files.bun run structure:check: passed;bun run privacy:scan: passed;git diff --check: passed.ASTRO_TELEMETRY_DISABLED=1 bun run buildindocs-site: passed, 775 pages and 117,969 internal links.4ffd5824e8e0e7e2f1ea6f1c8e3aeed65df16840a997aba5657d78a52c17f80a; the immutable follow-up-only review patch isff1fb76bc8bca2189992ee23725e87aeb662d1d880f16b428a5c1c159e6c8608.Checklist
Review readiness
e6432dbcthrough a normal merge and a clean merge tree was verified against5f80219f.