Conversation
First exact-head evidence checked: nine contract cases and matching test treeHead The Windows subspan contract job 102326051610 in workflow 34307133260 passed. Downloaded artifact 10087043962, 523 bytes, verified SHA-256 Complete source diff review confirms six files, 429 additions / 8 deletions. The new work identifiers append to existing enums/names; The exact candidate has also built successfully in the dedicated Windows study. Its fixed eight reports, actual native Debug/Release filesystem tests and the separate observer-off ABBA are still independently required. No merge authorization, root-cause attribution or #170 HOLD release follows from this initial contract result. |
Merge-blocking real default-endpoint control failure — C1041 despite explicit /FSExact head Downloaded artifact 10087359460, 12,420,568 bytes, verified SHA-256
The original strict read-only artifact audit correctly rejected this control failure. I am inspecting the remaining records without changing that verdict. Production timing instrumentation is new in this PR, but the compiler fixture, its Microsoft documents that /FS serializes PDB writes through MSPDBSRV but is not a guarantee against every PDB access error (https://learn.microsoft.com/en-us/cpp/build/reference/fs-force-synchronous-pdb-writes?view=msvc-170). This is platform context, not proof of antivirus/disk/lock/RPC causation here. No /Z7 substitution, /FS removal, global service kill, retry-to-green or workload reduction will be used to erase this failure. Separate gates are successful so far: actual link-cache native test execution in Debug job102327478334 and Release job102327521691; the fixed subspan study; independent ABBA collection/recomputation; and native/release workflow status. These do not override the failed real-tool control. #170 remains independently held. |
Iviesever
left a comment
There was a problem hiding this comment.
Final iteration review — subspan tooling works; merge HOLD because a real drain control failed
Implementation/source self-review with independent read-only artifact/statistics recomputation, not independent human approval. Do not merge this iteration. The new diagnostic study and native tests pass, but the predeclared real default-endpoint gate does not.
Exact source
Base c8c8c0172850ff11351b63d5bd1507a7f57ac01e, head 6386cc2be1207c25692e96c1fe160755f6271edc, tree 14ed3d293e64593e3b213cccb57067df59f6bc2b. Native test-merge fd769b90b9ad80c4af1f5978603486c47a55d062 has that identical tree and exactly those parents. Independently reconstructed both complete Git trees from the CI source archives (400 base /402 head files), respecting .gitattributes and Windows CRLF checkout conversion: base reconstructs af6b293f04521575a2bdbd2fc31bc156b676d0c8, head reconstructs the tree above.
Full diff: six files,429 additions/8 deletions. This changes PRODUCT diagnostic instrumentation, not only tests. The existing write protocol, cache bytes, error categories/diagnostics, manifest,79 native executable inventory, original benchmark/ABBA scripts and freshness remain unchanged. New enum/name entries append after existing values. No new clock reads inside inactive scopes, but guards/larger collector can have overhead; no zero-overhead assertion. Payload/flush are nested inside stream, not additive wall elapsed. Stream includes implicit close and failure cleanup; install includes original exists/remove/rename and its cleanup. No durable-storage/atomic-transaction claim.
Completed execution — one failed workflow is not hidden
- Native C++ #712 /34307133464: actual Debug build, all shards, freshness/side-output/runtime/parameter checks and final gate passed. The expanded
link_cache_file_tests.cppactually compiled/linked/executed PASS in job102327478334, subshard7/8. - Native Release #605 /34307133347: all shards, complete self-host and validation of the exact runtime-only package passed. The same expanded cache test actually executed PASS in job102327521691. publish-release skipped.
- Documentation#166/34307133248; Cross-Stage#189/34307133346; Reporting#8/34307133247; incremental/PCH/module target/module scan/module compile/build-plan evidence workflows all completed successfully.
- Subspan Evidence #1 /34307133260: nine synthetic contracts and the full fixed diagnostic study passed, with raw evidence independently inspected.
- Independent Performance #556 /34307133279: both exact source checkouts, both Release builds, instrumentation verification, actual19x4 ABBA and upload ran. All paired data independently recomputed.
- **Private Ownership #11 /34307133236:**42/42 collected, no collection/control failure.
- **Default Endpoint #9 /34307133230: FAILED.**56 records complete, one real control failure; not an allowed managed-policy counterexample. Synthetic collector contracts, probe build and refusal guards passed, but the real matrix step failed.
Blocking failure: A cannot open its PDB, despite /FS
Original C1041 diagnostic, exact argv and unmet gate
pch-release-A-started-drain: PCH creation and warm compile exit0; original A/work0 exits2 with fatal C1041 cannot open A/compiler.pdb, while actual argv contains /FS /Zi /O2 /MT /bigobj /Yucommon.hpp and A's separate PDB/PCH paths. This is not missing /FS, not a compiler process terminated by admission cancellation, and not evidence establishing a particular lock/antivirus/RPC cause.
A/drain.json correctly preserves first_compile_exit2, one dispatched work compile, pending−2 and stop_observed=true. A root exits1; lifecycle/drain control flags are false. Retained A/B overlap, original service survival and all original B compile/link/run successes do NOT turn the failed A compile into successful drain. The later recovery is a B compile, not an A repair. Postflight cleanup is verified, but that is not a writer-quiescence or root-cause certificate. The strict original positive audit correctly rejects this artifact; a separate negative-evidence audit verifies the failure without modifying any record or relaxing acceptance.
Default direct-drain controls therefore pass 13/14, not14/14. Both modes'14 unmanaged controls pass. Separately retain 6 default +2 private original B failures under the old managed-ending counterexample: default includes C1001/C1090/C1051; private C1090. All28 A-started managed endings still kill the original service. These eight permitted adverse B results are not the blocking A control failure. All98 later B recovery compiles succeed and replace none of the original failures. B PDB owner identities are observed in only3/56 default and2/42 private. Audited558 default/413 private tool results and1116/826 original stdout/stderr files. No missing identity snapshot is promoted into proof.
Fixed candidate-only diagnostic study: four AA pairs, no adaptive reruns
Eight complete reports, 168 invocations including16 primes, 144 instrumented subspan samples,4968 merged output lines; 72 instrumented AA semantic pairs identical, four timings-off pairs retain unavailable counters. All72 no-save samples have zero work in all seven save fields;72 actual saves retain the expected write counts. Every raw invocation clock/start/result, original timing JSON and subspan summary was independently checked.
Actual measured executable is 1,815,040 bytes, SHA-256 8b5b84124b5623f79e4e1e49f8d4d2f7ed729fd7c5d1d1ca3e261d277464edaa, matching the archived executable, study copy and both build/study identities. This is the diagnostic executable, NOT the independent ABBA binary pair. Full source archive trees, unchanged harness and plan/order were also verified.
Maximum observed link-cache save 3.039ms in01-right/target-scale-single-tu: serialize0.289,prepare1.387,stream0.605,install0.757ms; nested payload0.122 andflush0.047ms. Another save,02-right/link-only, totals2.557ms withstream0.956 andnestedflush0.649ms. No seconds-scale cache-save tail reproduced in this fixed study. That does not explain or negate the historical tail. Stream residual is not isolated kernel close/disk wait; preparation and installation are still aggregate scopes.
The observed timings-off AA no-op median is +0.19685ms/+1.6587%,MAD0.10085,max+1.1073ms,4/4 right sides slower. Reported separately from unobserved ABBA below; no AA subtraction or observer-zero-cost claim.
Independent original ABBA — every scenario retained
Exact base/head pair above, observer OFF.76pairs, AB/BA/AB/BA; all72 instrumented counters/breakdowns/compile-link-archive hit/miss identities match. Four external timings-off counter sets remain unavailable, not zero. Only the LAST row is timings-off external elapsed; all others are instrumented. Four-pair nearest-rank P95 is the maximum, not a population-tail estimate. Paired percentage medians use each pair's own denominator.
| Scenario | Paired median delta ms | Paired median delta % | MAD ms | Paired P95 delta ms | Slower pairs |
|---|---|---|---|---|---|
| cold | +200.034 | +12.44% | 84.929 | +364.979 | 4/4 |
| no-op | +0.068 | +1.50% | 0.162 | +0.306 | 2/4 |
| single-tu | +78.380 | +80.23% | 95.099 | +638.560 | 2/4 |
| public-header | +54.315 | +37.33% | 62.854 | +250.724 | 3/4 |
| build-run | +0.349 | +2.39% | 0.438 | +1.221 | 3/4 |
| link-only | +27.034 | +39.42% | 31.031 | +155.518 | 3/4 |
| target-scale-cold | +487.644 | +12.07% | 468.190 | +1706.332 | 3/4 |
| target-scale-no-op | −3.059 | −7.10% | 5.363 | +2.923 | 2/4 |
| target-scale-no-op-auto | +1.076 | +3.29% | 0.540 | +1.681 | 3/4 |
| target-scale-no-op-j1 | +0.213 | +0.49% | 0.053 | +0.292 | 3/4 |
| target-scale-common-header-no-op | +0.421 | +1.18% | 0.917 | +1.538 | 2/4 |
| target-scale-single-tu | +5.302 | +2.78% | 7.678 | +153.441 | 2/4 |
| discovery-cold | +111.078 | +6.92% | 103.129 | +1830.859 | 3/4 |
| discovery-no-op | +0.266 | +3.32% | 0.176 | +1.919 | 4/4 |
| discovery-header | +114.036 | +100.95% | 110.072 | +3539.437 | 4/4 |
| modules-cold | +84.427 | +5.00% | 110.817 | +226.246 | 3/4 |
| modules-no-op | +0.535 | +10.42% | 0.677 | +1.302 | 2/4 |
| timings-enabled-no-op | −0.007 | −0.18% | 0.030 | +0.032 | 2/4 |
| timings-disabled-no-op (external) | +0.954 | +8.01% | 1.500 | +3.232 | 3/4 |
Unrounded external no-op median +0.9536ms/+8.0064778818%,MAD1.49965,max+3.2324ms: it does not cross the unchanged BOTH>1ms AND>10% gate. This is close to the threshold, not evidence of zero cost. No favorable sample offsets a failed gate or an adverse sample.
The largest paired anomaly, discovery-header pair2, is localized differently from the old cache-save hypothesis: total182.412→3721.849ms; link_execution111.929→3651.657ms, but link_cache_write1.762→1.842ms. Candidate save subspans are0.018serialize/0.941prepare/0.356stream/0.527install; nested payload0.004/flush0.087. Thus THIS new tail sits in the existing process execution envelope, not the cache save. That envelope includes launch/wait/capture/cleanup, not only link.exe CPU, and does not isolate an OS cause. Other unfavorable cold/scale/discovery results remain; no outliers were discarded as noise and historical cold-tail debt stays open.
Raw artifact identity and corrections retained
All five original ZIPs downloaded and SHA-256/CRC verified:
- contracts10087043962,523bytes:
43ddbdc31047bbc216500694292e9f9dd5954205168909fe1a1d27a615a40504 - subspans10087181253,4,633,475bytes:
f99d35390ceb5823bd00df6d522105a3eedddd6b92f78594c4ac4ac1978e4e0e - ABBA10087256050,36,895bytes:
b55fee34049c3682a70cb6994bf3443c46f4c1207049407832541312e59deadd - default10087359460,12,420,568bytes:
7a3da051ebff0a148ac70137200be41c8d187e02d36e7bf3f587e48c4e9d7cf8 - private10087263565,4,914,445bytes:
d7ef717525c64a7857559f8cc1c9e20234cd612ef0f7bc80d33ebcec12168d33
Diagnostic ownership ZIPs have post-case binary hashes (710default/533private), not generated binary bytes or failure-instant snapshots. The subspan ZIP separately contains the actual diagnostic executable and full source archives; ABBA contains paired comparison JSON, not its own executable pair. Actions retention30days; the delivery also retains these raw ZIPs and runnable read-only audits.
The first local source-blob audit incorrectly compared CRLF archive text directly with LF Git blobs; explicit normalization and then full-tree reconstruction corrected that audit, without changing source/artifacts or rerunning CI. A pre-PR script marker correction remains in history and never reached CI. All current-head executions are first attempts; no post-PR source fix or same-head retry was requested. No local MSVC/PowerShell/full Windows execution is claimed.
Decision / next handoff
HOLD #172 as Draft: the default drain control requirement is unmet. #170 remains independently HOLD; neither is merged. Keep actual main c8c8c017... and VERSION5.5.0 unchanged.
Next focus first on the new real A/PCH/PDB-open failure with a bounded, predeclared reproduction/observation plan preserving exact tools, separate A/B PDB identities and underlying errors. A successful rerun alone cannot close it. The raw snapshots do not locate the failing open's lock/RPC/OS state; do not invent that missing history or remove /FS/PCH/cases. Only after that gate is addressed should this PR be reconsidered. The performance follow-on can then observe actual link/process subspans or trustworthy OS events under its own declared budget, using this newly localized tail, not another blind median run. No CLI cancellation, durable writer quiescence or lease-transfer authority is granted.
Accept controlled investigation tooling after exact-tree Native Debug #713, full Release/self-host/package #606, Documentation #167, Cross-Stage #190, ten synthetic and seven actual-file checks, eight fixed query-on/off cases, unchanged default56/private42 and independent ABBA #558. Preserve exact physical file identities, unavailable queries, original diagnostics and all unfavorable timing/managed-service results. Four query-on and four query-off original builds pass, but finite non-recurrence does not explain #172's historical C1041 or release #170's performance hold. Keep both old PRs held; no CLI cancellation, M1b completion, external writer quiescence or lease-transfer authorization. VERSION stays 5.5.0; no historical tag/asset or formal release change.
…ness Accept the event-backed readiness iteration after exact-tree Native Debug #718, full Release/self-host/package #610, Documentation #171, Cross-Stage #195, 36 synthetic contracts, actual withheld-provider refusal and four complete calibrated MSVC traces, unchanged default56/private42, and independent ABBA #566. Require actual same-session event delivery and single opening calibration before compiler admission; rematch witnesses against authoritative ETL records. Preserve original C2398/old incomplete traces, C1041 controls, managed-service failures and all adverse performance samples. No same-head retry or weakened gates. Keep #170/#172 held; no M1b completion, CLI cancellation, external writer quiescence or writer-lease authorization. VERSION remains5.5.0; no historical tag/asset or formal release change.
…ed PDB events Accept bounded investigation tooling after exact-tree Native Debug #721, full Release/self-host/package #612, Documentation #173, Cross-Stage #198, original PDB investigation, 40 invocation plus 36 trace contracts, eight fixed invocation traces and four reference traces with native refusal/calibration controls, original default56/private42 and independent ABBA #570. Preserve initial cross-volume correlation failure, ambiguous B child candidates, original outcomes and all adverse timing samples. Six sharing-violation events are coordinator-probe events, not proven compiler failures; historical C1041 and #170/#172 holds remain unresolved. No CLI cancellation, M1b completion, external writer quiescence or lease-transfer authority. VERSION5.5.0 and historical tags/assets/releases unchanged.
…daries Record same-QPC native API intervals, PID+creation and TID only in explicit invocation investigation. Preserve native returns before timestamp/serialization, RM cleanup and metadata-open outcomes. Add strict offline matching without treating temporal overlap or public API success as compiler/RPC causality. Keep fixed eight/four studies, original tracing/ownership/ABBA, product code and VERSION5.5.0 unchanged. Add 38 record contracts; preserve historical missing records and #170/#172 holds.
…vidence Accept test-only diagnostic capability after exact-tree Native Debug #727, full Release/self-host/package #617, all original default56/private42 positive controls and retained studies, 33 fault plus 154 prior record contracts, four fixed cold-B calibrations, and independent ABBA #583. Both injected C1041/exit2 cases retain native MSPDBSRV sharing failures and separate recovery; original controls and historical failures remain distinct. Explicit scoped risk acceptance revises only #176's PR-level hold, not historical C1041/root-cause or production reliability status. Preserve the failed first path-matching audit, original historical C1041, all adverse timing including +4.628-second tail, and #170/#172 holds. No product behavior, CLI cancellation, writer-lease, M1b completion or formal release authority. VERSION5.5.0 and historical tags/assets unchanged.
…baseline Accept current-main test-only integration after exact-tree Native Debug #729, full Release/self-host/package #618, Documentation #179, Cross-Stage #206, 150 ownership record contracts, default70/private42 with 14 real scheduler controls and all direct references, all accepted trace/query/fault studies, and independent ABBA #587. Preserve the original 56-case matrix, accepted observer capabilities, original error outcomes and compiler/service ownership boundaries. Explicit limited-risk acceptance revises only the PR-level hold; original #170 performance crossing, historical C1041/cold-tail debts and #172 hold remain unresolved. No production scheduler/caller or CLI cancellation, writer-lease or M1b/release authorization. VERSION5.5.0 and historical tags/assets unchanged; no history rewrite or same-head benchmark retry.
…ission stop Accept the explicit expected-result batch adapter after exact-tree Native Debug #731 and full Release/self-host/package #619 with 46 checks actually run in both configurations, six real two-worker MSVC outcomes and successor gates, original default70/private42 plus 150 record contracts, and independent ABBA #590. Preserve original errors/exception payloads and successful siblings; failed callbacks outrank concurrent admission cancellation, and unentered items are not successful. Existing scheduler/compiler/CLI callers remain unchanged, with no process kill token or production link/cache integration. Preserve four adverse managed-policy B failures, historical C1041/performance debts and #172 HOLD. VERSION remains5.5.0; no historical tag/asset or formal release change.
…admission Accept explicit target API integration after exact-tree Native Debug #733 and full Release/self-host/package #620 with 84 actual target-boundary and 50 batch checks in both configurations, original default70/private42 and six real underlying MSVC batch regressions, 150 record contracts and independent ABBA #593. Preserve original compile failures over cancellation, source-indexed evidence, post-execution freshness revalidation and conservative retry; stopped waves do not enter target link/cache-save. Successful TU caches remain valid; no project rollback or external-writer/lease proof. New target tests use deterministic tool substitutes and real cache files; real end-to-end target API validation is a separate next step. Retain all adverse timing/managed-service results, C4100 warning, historical C1041/performance debts and #172 HOLD. No CLI/static/module cancellation, VERSION/tag/asset or formal release change.
…arriers Accept four-file end-to-end test coverage after exact-tree Native Debug #735, full Release/self-host/package #621, six real target API/MSVC/link/cache cases and 32 record contracts, original default70/private42 and six true-MSVC batch regressions, documentation/Cross-Stage and independent ABBA #596. Real target cancellation and failure preserve original compiler results and old target/link-cache bytes, mtime and identity, while freshness still requires relinking; completed sibling TU caches may remain valid. Product code and CLI unchanged. Preserve all adverse service-policy and performance results, existing warnings, historical C1041/performance debts and #172 HOLD. No project rollback, writer-quiescence/lease, M1b completion or release authorization. VERSION5.5.0 and historical tags/assets unchanged.
…strap Accept the isolated call-level stdin repair after exact-tree Native Debug #742, full Release/self-host/package #626, seven native file/pipe/error17/vendor-bootstrap controls and four ordinary foreground paths in both configurations, default70/private42, real batch/target regressions, and independent ABBA #608. Read NUL only for noninteractive vcvars initialization; preserve generic runner/foreground input inheritance and original errors. No #180 build/run refactor or ancestry imported. Retain original managed-policy failures, all adverse timing samples, #599 performance crossing, and #180/#172 HOLD. VERSION remains5.5.0; no historical tag/asset, project lease or formal release change.
Accept the opt-in existing-local-NTFS directory identity and HANDLE-relative cooperative reservation primitive after exact-tree Native Debug #747, full Release/self-host/package #629, 39 native domain checks in both dedicated and standard configurations, original default70/private42 and real batch/target-cache regressions, record contracts, documentation/Cross-Stage and independent ABBA #616. Preserve unresolved markers across normal destruction and owner death; only explicit unstarted withdrawal is supported. Actual residual child writes after owner death do not authorize takeover, even after that child's exit. No post-write completion/recovery API, recursive write-set closure, CLI/build adoption, project transaction or lease safety is claimed. Keep original adverse managed-service outcomes, historical C1041/performance debts, #172 HOLD and M1b remaining gates. VERSION5.5.0 and historical tags/assets unchanged; formal release skipped.
… mapping Accept the bounded read-only inventory after exact-tree Native Debug #749, full Release/self-host/package #630, 28 pure inventory and 33 mapping plus 39 unchanged domain checks, original default70/private42 and real batch/target-cache controls, and independent ABBA #619. Preserve unresolved native effects, per-entry errors, missing-parent/leaf and case-alias distinctions; no complete write-set, reservation/recovery or CLI lease authority. Retain all adverse managed-service and timing results and historical #170/#599/C1041 debts. VERSION5.5.0, #172 HOLD, historical tags/assets and release status unchanged.
…ection Accept exact base eaf3437 / head a012b2b, tree 4f5594d, after substantive review 5190239753. Native Debug #751 and Release/self-host/package #631; actual new44/original28/target84 and domain39/mapping33 checks in both configurations; original default70/private42 positives and batch6/target6; unchanged independent observer-OFF ABBA #622 (76 pairs, 72 equal complete instrumented vectors). Preserve default2/private3 unsafe cleanup failures, all diagnostics and adverse timing samples including +3.9745 ms/+34.5689858%. Only collection APIs, no CLI cancellation/write lease/recovery authority. Begin 5.6 feature freeze and cumulative correctness/compatibility closure; #164 retains the long-term 6.0 roadmap. Historical C1041/#170/#599/common129 risks remain release-blocking; #172 HOLD. VERSION remains 5.5.0. No release authorization, historical tag or asset change.
…regression Accept test-only base b7e322c / head a876eba, tree 280326b, after substantive review 5190397138. Debug/Release 79 native programs each; four new sequences/32 actual calls; original failure run34748925471 and all not-run records retained. Pinned-seed Stage0/1/2 self-host, seven-file package and installer lifecycle verified. Independent original ABBA625: 76 pairs, 72 matching complete instrumented vectors; external median +0.79255ms/+6.8856773% does not trigger the predeclared conjunctive median gate. Preserve adverse external +63.0149ms/+392.6039687% and +1.4072ms/+12.2515432%, plus all other tails; no zero-overhead claim or history erasure. Only test collector/workflow added; product freshness and VERSION5.5.0 unchanged. Continue cumulative correctness/compatibility closure, especially actual PCH target configurations and failure-repair coverage. #172 HOLD; historical C1041/#170/#599/common129 remain release-blocking. #164 retains long-term6.0 roadmap; no release authorization, CLI cancel/write-lock default activation, historical tag or asset changes.
…aries Accept diagnostic-only changes after substantive review5190963120 of exact base1c565ca/head8c8d213/tree4fc13a. First Windows diagnostic318calls, Debug79/Release79, self-host Stage0/1/2, exact package/installer/docs, and original ABBA#631 passed their declared gates. Retain all original and new adverse evidence. No product change, no claim that old performance regressions or C1041 are fixed. #188/#172 and v5.6 release remain HOLD; VERSION5.5.0, default cancellation/write-lock and v6 route unchanged. Metadata-only performance#632/#633 skipped after validated first evidence; no duplicate measurement.
Accept only the four diagnostic files after substantive review5193446514 of exact base7526686/head4977036/tree1544b00. Original Windows Debug79/Release79, clean self-host/package/installer/docs, bounded78-call20-trace diagnosis and original independent ABBA#634 reviewed. External no-op +1.21235ms/+9.8760361423% does not cross the predeclared conjunctive gate; all slower pairs and link-only +164.53ms/+300.17% remain risk evidence. The baseline8.125s cl failure-control lifetime is a lead, not a root-cause or repair claim. #188/#172 and all historical C1041/performance release holds remain. VERSION5.5.0, product code, release assets and v6 route unchanged; no publication or repeated scoring.
Accept only three diagnostic files after substantive review5195682463 on exact basef359f519/head2aa3cc7/tree5f48fe9. First-attempt hosted replay, all Windows Debug79/Release79 programs, clean Stage0/1/2 package and installer/docs validated. Original independent ABBA#637 retains76pairs/72full vectors; external no-op paired median -0.11935ms/-0.965444662572195% does not trigger unchanged conjunctive gate, but all adverse discovery/modules tails remain. Recovered existing raw process exits/cycles/IO/fault counts without new diagnostic MQB calls or ETW captures; original18MQB captures,1050cl/16link and calibration0/17/0 reproduced. CPUCycleCount is not CPU milliseconds or wait-cause proof; historical failures and release risks remain unresolved. #188/#172 HOLD, VERSION5.5.0, product/old recorder/statistics/tags/assets unchanged, no5.6 publication or6.0 route change.
Decision: HOLD — real default-endpoint drain control failed
Final exact-source, native execution, full19-rowABBA, raw-artifact review and HOLD decision
Blocking C1041 failure with original compiler argv/results
Keep this PR Draft and unmerged. The new subspan diagnostic study, native tests and independent ABBA completed, but the predeclared requirement that every real default drain control pass is unmet. #170 remains independently Draft/HOLD. Neither PR is approved by this instrumentation.
Exact source and scope
c8c8c0172850ff11351b63d5bd1507a7f57ac01e, merged test: retain benchmark invocation evidence and fixed AA calibration #171.6386cc2be1207c25692e96c1fe160755f6271edc.14ed3d293e64593e3b213cccb57067df59f6bc2b.fd769b90b9ad80c4af1f5978603486c47a55d062, with exactly those parents.Delivered diagnostic contract
Four disjoint child scopes within inclusive
link_cache_write: serialization, directory/temporary-path preparation, complete stream lifetime, and installation/replacement. Payload write and flush are nested within stream. The stream interval includes implicit close and original failure cleanup; installation includes unchanged exists/remove/rename/error cleanup. Do not add nested work again as wall elapsed, label flush as durable storage, or infer a disk/antivirus/OS cause from these aggregate scopes.The six enum/name entries append to existing fields. Existing cache counts, file format and errors are preserved; new JSON work fields are additive. Inactive scope guards take no new clock readings, but guard/collector overhead remains possible and was measured separately. No zero-overhead or optimization claim.
Existing native link-cache tests now check observed/unobserved create/replacement byte identity, round-trip and actual write counts, raw interval containment, oversize serialization rejection, directory obstruction and nonempty-destination replacement errors with unchanged diagnostics/cleanup. No new test executable is added.
The new collector reuses #171's original clock/statistics/semantic helpers, adds nine positive/negative subspan contracts and a predeclared four AA pairs/eight reports/168 invocation records/144 instrumented subspan samples. Same candidate path and bytes on both sides; fixed left/right order, complete plan before measurement, no overwrite/adaptive budget/retry. Original benchmark and ABBA scripts are byte-unchanged. Actual diagnostic executable and exact source archives are retained. JSON containment tolerances only cover independent0.001ms rounding, not performance noise.
Completed gates and the failed gate
Why the default failure blocks merge
pch-release-A-started-draincreated its PCH and warmed successfully, then original A/work0 exited2 with C1041 cannot open A/compiler.pdb. Its argv already contains /FS /Zi /O2 /MT /bigobj /Yucommon.hpp. A and B use distinct PDB paths. A/drain.json records the failure; root exits1 and lifecycle/drain_control_ok are false. Pending A work is suppressed, B's original compile/link/run succeed and the original service survives, but those do not replace the failed A compile. The separate recovery compile is B, not A. Cleanup is verified, with no cause established for the failed PDB open.The unchanged positive artifact auditor rejects the matrix. A separate read-only failure audit verifies all56 records and retains that rejection; it does not turn this into an expected successful case. No same-head retry or removal of /FS/PCH/workload/case. This is distinct from the preserved 6 default+2 private original B failures in the intentionally adverse managed-ending experiment. All28A-started managed endings still kill their original service. Both sets of evidence remain, and no service/writer-lease safety is authorized.
Diagnostic findings, not historical root-cause resolution
The fixed study validates all72zero-save samples as zero,72actual saves and72instrumented AA semantic pairs. Maximum link-cache save is 3.039ms (serialize0.289/prepare1.387/stream0.605/install0.757; nested payload0.122/flush0.047). No seconds-scale save tail reproduced; that does not disprove #171's earlier observation. Observed AA timings-off no-op median +0.19685ms/+1.6587%,4/4right sides slower, no gate crossing. Observer effects and unrecorded OS state remain.
Independent observer-OFF ABBA has external timings-off no-op paired median +0.9536ms/+8.0065%,MAD1.49965,max+3.2324ms,3/4slower. The unchanged BOTH>1ms AND>10% gate is not crossed, but this is near the boundary and not zero-cost proof. All18other scenarios remain instrumented; all favorable/adverse samples retained.
The worst new paired tail, discovery-header pair2, totals182.412→3721.849ms. link_execution111.929→3651.657ms, while link_cache_write1.762→1.842ms. This narrows THIS tail to the existing process-launch/wait/capture/cleanup envelope, not link-cache save, but it does not isolate link.exe CPU or an OS cause. The full table preserves cold4/4slower, discovery-header4/4slower and all remaining tails. No outlier deletion, AA subtraction, speedup or historical-cause claim.
Original acceptance gates remain unchanged
Full final diff/exact trees; complete native Debug/Release/selfhost/package and relevant documentation/Cross-Stage/ownership gates; actual cache-test execution; nine contract expectations; fixed8reports/168records/144samples with original correspondence/containment/zero-save checks;72AA semantic identities. Independent original19x4ABBA with all72counter/breakdown/hit-miss identities and the original external no-op BOTH>1ms AND>10% median gate. Missing instrumentation is unavailable, not fabricated zero. All real default drain controls must pass: this gate did not pass, so no merge.
No post-PR source correction or same-head rerun. The pre-PR placeholder correction and initial local CRLF-vs-LF audit mismatch are recorded, not erased. Complete source-tree reconstruction resolves the latter without changing raw archives. No local MSVC/PowerShell execution is claimed.
Handoff
First investigate the real A/PCH/PDB-open failure with a bounded predeclared plan and preserved exact tools, A/B PDB identity and underlying failure diagnostics. A successful rerun alone is insufficient; unavailable historical lock/RPC/OS traces cannot be fabricated. Reconsider this PR only after its unmet correctness gate is addressed. The performance follow-on can then target the newly localized link/process envelope with credible subspans/tool/OS evidence, not a blind median rerun.
#170 remains held. No M1b completion, CLI cancellation, durable quiescence, single-writer lease, transaction/build-run/session/daemon or release authorization. Five original ZIPs with verified hashes and read-only reproducible audits are retained in the delivery; Actions retention30days. Ownership generated binaries are post-case hashes, not failure-time snapshots; the separate diagnostic study archives its actual executable, not the independent ABBA executable pair. Title was changed only after actual#556 completed; later title-triggered skipped perf jobs are not replacement measurements.