Skip to content

Attribute concurrent allocation increase in Performance run 43124385683 #537

Closed
2 of 2 issues completed

Description

@thomhurst

The advisory performance comparison on main reports 731 B/message for ConcurrentRoundTrip against bracketed baselines of 730 and 729 B/message. This exceeds the strict allocation threshold; its allocating owner and whether the difference depends on the candidate remain unknown.

Reproduction

Download performance-43124385683-1 (artifact 13902549289) from https://github.com/thomhurst/Relayer/actions/runs/43124385683 and replay its retained reports with .github/scripts/benchmark_gate.py compare and the input manifest. Candidate 48cdb61 is compared with 6f4eb41. Failed step: Compare bracketed throughput, allocations and startup.

Expected and actual

ConcurrentRoundTrip should not exceed both baselines by more than 0.5 B/message. DirectSend remains 0 B/message and SynchronousRoundTrip remains 536. Several throughput comparisons are inconclusive, not established regressions. The candidate changes loop tooling, but source-only inspection does not establish identical generated code or loaded assemblies. This is a distinct retained execution from #488 and #430; their historical investigations do not attribute this run.

Environment

Hosted Linux x64; exact SDK, measurements, logs, frozen builds and comparison inventories remain in the 81,811,175-byte workflow artifact. No rerun, relaxed threshold or accepted trade-off is claimed.

Acceptance criteria (completed present-day mechanism scope)

  • Retain original reports and frozen builds independently of artifact expiry.
  • Attribute a reproducible present-day allocating mechanism using controlled comparisons of retained images. As recorded in the earlier actionable-scope section, exact historical ownership remains unknown because the original aggregate reports contain no allocation stream.
  • Correct any demonstrated defect with focused coverage, preserving unfavorable evidence and measurement limits. No production defect was demonstrated; no speculative production change or trade-off was made.

Please identify the allocating owner and correct any demonstrated defect.

Completed investigation

Complete resolution, validation and every allocating family.

Both native children #606 and #609 are closed. Fresh origin/main 3609a261fed92de25356042e11266f3cb91f8324 contains #607 and #610's reviewed native-parent and child-only exact-method implementations. The previous waiting blocker is resolved: 43410230346 succeeded. Its complete original-image ABBA on .NET 10.0.15 X64 yields 728.471069 / 723.526184 / 721.055511 / 731.164063 native B/message; all four native receipts, GC denominators, method boundaries and type metadata validate with zero callback coverage failures.

Exact notifications identify stable DI/JSON/message object families (536 object-size B/message) and variable native blocked channel reads, pooled handler state-machine boxes and continuation Actions. The closing comment records every family, native-source mechanism, count and limit. This completes the previously narrowed present-day mechanism-attribution scope. It does not identify the exact historical owner, explain away the original unfavorable result, prove a candidate causal effect or establish production throughput. New controls cannot reconstruct the original allocation stream.

Original unfavorable reports/frozen builds and all locally retained controls/raw profiles/inputs/analyses are independently preserved in the unpublished draft performance-evidence-537, accessible to the authenticated maintainer through Releases. issue-537-complete-evidence.zip restores 23,894 paths / 6,135,207,574 bytes through a read-back-hash-verified content-addressed manifest. Archive size 140,529,102 bytes, SHA-256 4d433500aa9f063efda5f3048980ddda918e969f85a1b6464ac93d6fc2903cb9, independently checked against GitHub's uploaded-asset digest. complete-evidence-sha256.json supplies the same identity. This retention is independent of Actions expiry/local cleanup and lasts until explicitly deleted; the draft requires authenticated access and publishes no package/version.

ELT/JIT/callback/locking perturbations, adaptive counts, process order, host drift and object-size versus native allocation-context-byte limits remain. No independent controls were subtracted; no threshold was relaxed or performance trade-off accepted. Historical attribution is an explicit limit of the available evidence, not an unimplemented production fix. Hosted validation passed 9 native-profiler and 20 launcher tests. No source change or docs impact; production per-message cost unchanged, 0 B added.

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    bug
    area: performance
    P2
    in-progress
    on Nov 13, 2026
  2. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Re-checked and claimed #537. Original artifact 13902549289 is now retained independently of GitHub artifact expiry at /Users/tom/git/Relayer-evidence/issue-537/original/, outside removable worktrees. All 747 frozen-build inventory entries passed size and SHA-256 verification; original-retention-sha256.json inventories all 808 downloaded files (reports, logs, source archives, overlays and executable builds). This local evidence is retained while this issue is open; it is not permanent public hosting.

    Replaying the report comparison with strict thresholds reproduces 730 / 729 baseline vs 731 candidate B/message for ConcurrentRoundTrip. The replay did not re-run source verification (the original input manifest is retained unchanged). This confirms the reported signal, not its owner or a candidate-dependent regression. No threshold was relaxed and no production code was changed.

    Started two controlled investigations on trusted main at 48cdb612e396a94e0680afbe1347e9465a12a337, both explicitly selecting original Performance run 43124385683:

    • Frozen concurrent allocation investigation, run 43340254435: retained-image ABBA, exact calling-thread invocation counters, original BenchmarkDotNet waiter control, and separate marker-delimited allocation profiles. These fixed-count probes do not reproduce the original adaptive BenchmarkDotNet engine exactly.
    • Frozen native-engine owner capture, run 43340257810: original generated BenchmarkDotNet native-engine ABBA with allocation traces and sampled owner extraction. Whole-process profiles include warmup, pilot and overhead; sampled differences must not be treated as exact byte deltas.

    Verified both run records are workflow_dispatch on the intended trusted-main SHA and workflow paths. Original execution was Linux x64; this workspace is macOS arm64, so hosted Linux execution avoids attributing host differences to the retained images. These are diagnostic controls, not retries of the failed advisory gate.

    Next unit: download and hash-retain both diagnostic artifacts; inspect all ABBA outcomes and full stacks/module identities, compare candidate and baseline retained images, then attribute the signal or improve the experiment if attribution remains incomplete. Correct any demonstrated defect with focused coverage. #537 remains open and dependent work remains blocked until that evidence supports resolution. Waiting for the workflow runs is temporary; no on-hold label is appropriate.

    Triage 2026-11-13: both diagnostic runs above are now completed/success, with unexpired artifacts 13999111797 and 13999126587. The body now names the available outputs and remaining evidence analysis. This is ready for an investigation unit; no attribution or artifact retention is claimed by this triage audit.

  3. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    The old wait is resolved: runs 43340254435 and 43340257810 both succeeded. Rechecked/reclaimed #537 under the driver-owned lock. Its existing branch had no commits beyond main and no PR; there was no finished unpublished work. No native sub-issues/dependencies, already-implemented main commit, replacement PR, finished parent or stale-body rewrite delivers the remaining attribution criterion. No human/external gate applies.

    Downloaded both complete diagnostic artifacts independently of GitHub expiry. Read-back size/SHA-256 verification covered 927 files / 295,784,181 bytes for the concurrent artifact and 881 files / 309,327,614 bytes for the native artifact. All 747 original frozen-image inventory entries verified in each copy, and the original retained evidence verified again. Evidence and inventories are under /Users/tom/git/Relayer-evidence/issue-537/, outside removable worktrees; this is local retention while the issue stays open, not permanent public hosting.

    Historical native GC counters agree with exported reports: baseline 729.828491, candidate 731.346558, baseline-after 729.251709 B/message (65,536 operations each). The original strict failure remains intact: +1.518066 / +2.094849 B/message. Frozen baseline/candidate Relayer, benchmark and generated-driver DLL hashes differ; BenchmarkDotNet.dll is identical. Source-only inspection does not prove executable equivalence.

    Every completed ABBA, in baseline/candidate/candidate/baseline order (B/message):

    Separate control A1 B1 B2 A2
    Fixed-count async await 756.202576 756.615692 756.923035 754.946350
    Original BDN waiter 748.948212 748.425415 749.217651 748.589813
    Exact synchronous roundtrip calls 753.477539 755.158691 757.131104 755.602570
    Profiled async await 757.312500 757.367706 757.102661 754.450470
    Profiled BDN waiter 750.674774 748.685944 751.466278 748.419189
    Profiled original native engine 735.037598 729.385742 731.260986 729.784180

    All 24 launches succeeded. Exact synchronous-call histograms (32,768 calls each, eight messages per call) were: A1 944×0 / 31,821×96 / 1×128 / 2×192 bytes; B1 996×0 / 31,772×96; B2 586×0 / 32,181×96 / 1×192; A2 959×0 / 31,809×96. These exact calling-thread counters exclude later continuations/other threads and do not identify object types. Do not subtract them from distinct controls.

    Inspected complete allocation groups, stacks and module identities. Shared sampled families include DI scope/dictionary/entry-array allocations, native BoundedChannelReader.ReadAsync blocked reads for handler-release bytes and in-memory messages, and pooled ConcurrentHandler.HandleAsync state-machine boxes. The channel stacks distinguish handler release reads from receiver reads; pooling is not a promise that every box allocation is avoided. No sampled family establishes the owner of the historical 1.5–2.1-byte difference. All profiles report zero lost events and zero unnamed-frame samples. One marker-delimited candidate capture has one stackless sample; native-engine candidate launch 2 and baseline launch 4 each have one stackless sample. Native samples include startup/pilot/warmup/overhead and cannot be normalized as measured allocation deltas. Weighted samples are not exact object/byte counts.

    Crucial execution boundary: all external-probe profiles loaded /usr/share/dotnet/shared/Microsoft.NETCore.App/11.0.0/System.Threading.Channels.dll; native-engine profiles loaded 10.0.15, matching the historical runtime major/version. Captured paths/PDB signatures do not prove loaded bytes. Module records and full extracted stacks remain retained, along with summary owner-analysis-summary.json; raw diagnostic traces are pruned after recording these results, per the repository evidence lifecycle.

    Improved the next experiment in draft #541, head 6104cbb8249ce683b7657c663edcfbc44a770aee: reuse existing probes and launcher for separate net10 original-waiter, exact source-identity, worker-read/await-registration/continuation, and driver-call/waiter ABBAs. No retained workload rebuild, production behavior change, threshold relaxation, Performance-gate rerun or accepted trade-off. This narrows the runtime-major confound and measures concrete owner regions; it still cannot reconstruct historical ownership by subtraction. Existing #522 supplies a distinct core-DLL crossover route for #488; duplicating that pending tool is unnecessary to execute this available regional route.

    Validation: 22 launcher tests + 3 summary tests pass. All three probes compile net10 with zero warnings; all four modes complete against the frozen baseline locally on macOS ARM64 / .NET 10.0.14, with delivery/count checks satisfied. Those local numbers are not Linux comparison evidence. YAML parsing and diff checks pass. 46 validation sources/logs/binaries are read-back hash verified in net10-validation-inventory.json. Production cost unchanged, 0 B added; no docs impact.

    Verified hosted diagnostic run 43347233456 is pull_request, workflow .github/workflows/frozen-net10-owner-control.yml, associated with #541 and the exact head above. Claude reviews automatically; Codex requested on this draft head. Next unit: independently retain/hash its full artifact, inspect every net10 outcome and its precise region boundaries, then attribute or further isolate the demonstrated allocation signal. #541 intentionally does not close #537. No further wait/poll in this unit. Releasing issue-537 and pr-541; no owned services remain.

    Recheck 2026-11-13 (assigned recovery unit): the quoted wait on 43340254435 is obsolete; both original investigations are complete and the analysis/retention above is already recorded. The issue branch is published as open draft #541 at 6104cbb8249ce683b7657c663edcfbc44a770aee, so the assignment's no-PR observation is stale. Reclaimed issue-537 and acquired pr-541 before inspection. The current prerequisite is its already-running net10 owner-control run 43347233456, verified as pull_request with exact #541 head association. Do not start a duplicate diagnostic while it runs.

    Resolve routes checked: no native sub-issues or blocked-by relationships exist; this is not a finished parent, duplicate, superseded PR or already-delivered issue. Current main remains 48cdb612e396a94e0680afbe1347e9465a12a337, before #541; the historical owner remains unproved, so neither closing #537 nor adding Closes #537 to this partial diagnostic PR would be accurate. The body has been updated to name the remaining net10 experiment. The alternate #522 crossover targets #488's distinct original images and does not replace the pending #537 experiment; no duplicate implementation or unrelated CI work is justified. No human decision, upstream release or credentials gate applies.

    All #541 review surfaces were inspected: REST reviews and inline comments, GraphQL threads, and conversation comments. No findings or threads exist; Codex has a clean completed verdict on this head. Claude's original review run 43347232537 remains queued, so recovery dispatch or promotion would compete with a live review. No changes/tests were repeated because code has not changed. Next unit should retain/hash and analyze the net10 artifact when run 43347233456 completes, preserving all stated measurement limits. This is a temporary workflow wait, not a deferral or on-hold condition. Both locks are released at unit end; no services were started.

  4. added a commit that references this issue on Nov 13, 2026
  5. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Rechecked/reclaimed #537; the prior wait is over: net10 owner run 43347233456 succeeded. Existing work was already published as draft #541, so there was no stale unpublished branch to replace. No native children/dependencies, finished parent, superseding PR or origin/main implementation resolves the remaining historical attribution requirement. Main is still 48cdb61. No human, upstream or credential gate applies.

    Downloaded and read-back size/SHA-256 verified all 926 files / 229,391,034 bytes in artifact 14001943894. Retention inventory: /Users/tom/git/Relayer-evidence/issue-537/net10-owner-retention-sha256.json; complete parsed outcomes/histograms: net10-owner-analysis.json. All three original frozen inventories verify. Local evidence is retained while this issue is open, independently of artifact expiry, not permanently publicly hosted.

    All 16 launches succeeded on .NET 10.0.15 / X64; ABBA is baseline/candidate/candidate/baseline:

    Separate control, B/message A1 B1 B2 A2
    Original BDN waiter 752.452271 743.581635 749.305908 750.689545
    Source identities, isolated fixture 324.125427 322.984070 323.793549 324.221741
    Worker read/registration/continuation 946.009979 944.509155 949.190002 952.025848
    Driver invocation/completion 749.585663 746.934204 748.362396 748.155731

    Every expected delivery/count and full histogram was inspected and checked; recomputed driver summary equals the retained summary. All 262,144 measured native release reads per worker launch were 96 bytes. Registration was predominantly 0 or 200 bytes: first-observed pooled-handler continuation targets correlate with 200-byte regions, but reservation-order first identity is not allocation proof. Registered callbacks were predominantly 0 or 96 bytes, with rare retained outliers up to 8,104 bytes. Those callbacks include inline downstream work; registration excludes initial handler work before read return. Source-identity controls similarly correlate first-observed handler boxes with 296-byte synchronous calls versus 96-byte reused-source calls; the independent pending native-read control is uniformly 96 bytes. Tracking/wrappers change scheduling and retain sources. No subtraction between these controls, no inferred exact object identity from regional byte differences, and no attribution of the historical delta is justified. Driver completion counters were exactly zero in all four driver-only launches; synchronous invocation was predominantly 96 bytes/batch, with every outlier retained.

    The runtime-major confound is removed for these controls, but historical 729.828491 / 731.346558 / 729.251709 B/message remains unfavorable and unattributed. No demonstrated production defect supports an honest fix yet.

    Improved the experiment in #541, pushed 361d2b1: reuse #522's exact existing reciprocal frozen core-DLL crossover and tests for #537's distinct original images. Acquired pr-522 before using its linked work; did not change its PR or experiment. Each original native engine now runs its own/other/other/own core DLL, holding/checking every other disk file fixed. This tests an image effect without another regional wrapper, rebuild, profiler or job/threshold change; it still cannot reconstruct historical object ownership. All outcomes will be retained, including failures.

    Validation: 5 crossover + 8 native-launcher tests pass; actual original inventories verify and all four 235-file images prepare, changing only Relayer.dll in reciprocal pairs. YAML parsed; diff checks pass. Seven analysis/validation files and archived sources verified in 537-crossover-validation-sha256.json. Linux x64 execution is hosted because this workspace is macOS ARM64. Production cost unchanged, 0 B added; no docs impact.

    All #541 review surfaces were inspected (reviews, inline comments, GraphQL threads, conversation). Old head had clean Codex and no findings; Claude was still queued. New head requires fresh reviews; Codex requested. #541 remains draft, deliberately does not claim Closes #537. Next unit: retain/hash every crossover outcome and compare the reciprocal brackets before deciding the next attribution step. This is pushed diagnostic progress, not a deferral. All three locks are released at unit end; no services were started.

  6. added 4 commits that reference this issue on Nov 13, 2026
  7. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Rechecked/reclaimed #537 under the driver lock. The earlier wait on 43347233456 is complete; its full evidence and limitations are recorded above. The assignment's no-PR observation is stale: work is published as #541. No existing implementation, finished parent, duplicate, superseding PR, human decision or upstream/credential gate closes the historical attribution criterion; original unfavorable evidence remains retained.

    Worked the linked PR under pr-541 instead of deferring: current ready CI 43354747308 exposed the AWS test-region failure already fixed by merged #545 (fa86200). Rebased #541 without conflicts onto main 3b06d9e and pushed 4412d6f. Auto-merge is disabled and the PR is draft for fresh head-bound reviews, with Codex requested. No tests rerun for a conflict-free rebase; diff checks passed. No production changes, threshold changes or claimed attribution. Future work should continue from #541's new head/reviews and its hosted controls, preserving all prior measurement limits. All held locks released at unit end; no services started.

  8. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Rechecked/reclaimed #537 under the driver-owned lock. The quoted wait on 43347233456 is obsolete: it completed successfully and its net10 analysis is already recorded above. The assignment's no-open-PR observation is stale: existing work is published in #541; there is no unpublished branch to replace or stale claim to remove while this investigation remains active.

    Worked the linked item under pr-541. Current head is 4412d6f4b295e91059a0e8663aa6a192c8bd300e, ready and already armed through the protected wrapper. All review surfaces were fetched: REST reviews and inline comments, GraphQL threads and conversation comments. Claude CLEAR and Codex no-findings cover this head; there are no review threads or undispositioned findings. Current ready CI 43356615005 is running. No duplicate run, review dispatch, test rerun or new push is justified solely by that wait.

    Independently downloaded the completed current-head reciprocal crossover run 43355934511, artifact 14006461075, and read-back length/SHA-256 verified 1,768 files / 519,137,393 bytes. Retention inventory: /Users/tom/git/Relayer-evidence/issue-537/crossover-43355934511-retention-sha256.json; complete parsed results: crossover-43355934511-analysis.json. All three original frozen inventories verify; all four prepared 235-file images match protocol inventories. In both reciprocal pairs, only Relayer.dll differs. Every native log reparses exactly to its recorded outcome; all eight succeeded with 65,536 operations and gen0/gen1/gen2 counts 2/0/0 each.

    Fixed engine, original/other/other/original core (B/message) A1 B1 B2 A2
    Baseline engine 743.859619 735.918823 743.382324 737.639038
    Candidate engine 741.506592 746.048340 739.871704 737.471924

    Both reciprocal substitution ranges overlap their own-core brackets. These eight new executions do not establish a consistent directional core-image effect. They do not prove absence of an effect, exact allocation types, loaded runtime/JIT-byte equivalence or historical ownership. Earlier crossover run 43348123636 remains separately retained; different operation counts and executions are not pooled or subtracted. The historical unfavorable 729.828491 / 731.346558 / 729.251709 B/message evidence remains intact. No demonstrated production defect justifies a fix or trade-off.

    Resolve routes checked: latest origin/main does not satisfy the historical attribution criterion; no native children/dependencies, finished parent, duplicate or replacement closes it. #541 remains useful partial work and must not gain Closes #537. #522's linked crossover implementation is already merged and reused; no blocker implementation remains there. No human, upstream or credential gate applies. Updated the stale current-experiment body to these completed outcomes. Local evidence remains outside removable worktrees while #537 stays open, independently of artifact expiry; it is not permanent public hosting.

    Next unit: finish the already-armed #541 ready-CI lifecycle, then continue historical attribution with an experiment that identifies an allocating owner rather than repeating these independent-total controls. No production cost change, 0 B added; no docs impact. No tests rerun because code is unchanged. Releasing issue-537 and pr-541; no owned services were started.

  9. added a commit that references this issue on Nov 13, 2026
  10. 53 remaining items

  11. added
    in-progress
    on Nov 13, 2026
  12. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Rechecked #537 and refreshed its in-progress claim under the driver-owned issue-537 lock (HELD-BY-ME). The quoted wait for 43400126661 is resolved: the run succeeded and its complete retained analysis is already recorded above. No duplicate download or rerun is needed.

    Resolve audit against freshly fetched origin/main 7b65d67: the sole native child #606 is closed; #607 merged as 5bdb42a and is an ancestor of main. Its native-parent implementation delivers the child, while the parent's controlled allocation attribution remains incomplete. Existing evidence establishes retention and within-image variability, but does not identify the historical allocating owner or demonstrate a production defect to fix. Closing the parent would therefore overclaim. No issue-537 local branch or worktree, unpublished implementation, open delivering PR, open prerequisite, superseded PR, or human/upstream/credentials/foreign-lock gate remains. Updated the stale remaining-scope section to the merged implementation and actual next experiment.

    Reused the reviewed native BenchmarkDotNet parent instead of implementing a second protocol. Recent completed dispatches 43400637616/43401174557 select unrelated Performance 43392717956 queue-composed inputs; there was no active competing frozen-bdn-control run. Dispatched exactly one original-input native-parent ABBA: 43405582202, with explicit performance_run=43124385683 / benchmark_case=concurrent / same_image=abba / runtime_version=10.0.15 / parent=native. Verified workflow_dispatch, trusted main head 7b65d67 and .github/workflows/frozen-bdn-control.yml. The submitted-input receipt is separate from the API receipt, whose run object does not establish the actual executed inputs. Both are independently retained/read-back SHA-256 verified at /Users/tom/git/Relayer-evidence/issue-537/native-parent-43405582202-{dispatch,api}.json; hashes are in the adjacent receipts inventory. Local retention lasts while this issue is open, not permanent public hosting.

    Next unit: independently retain/hash all outputs and frozen inventories; verify actual protocol/runtime, all four native parent receipts, native GC denominators/completions and every failure before interpretation. Preserve the original unfavorable reports and all measurement limits. This is a bundled parent-protocol intervention, not isolation of pipe effects, historical scheduling reconstruction, or historical owner attribution. Do not start a competing run, subtract independent controls, relax thresholds, or infer a production fix from workflow success alone.

    No source changes/new PR or tests are needed for dispatching the existing reviewed workflow. No docs impact; production per-message cost unchanged, 0 B added. No owned services or additional locks. Removing this unit's transient claim and releasing issue-537 without polling; returning the new workflow wait rather than deferring.

  13. added
    in-progress
    and removed
    in-progress
    on Nov 13, 2026
  14. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Rechecked and refreshed #537 under the driver-owned issue-537 lock. The quoted blocker no longer holds: run 43405582202 succeeded. Against fresh origin/main 7b65d67, sole pre-existing native child #606 is closed and #607's native-parent implementation is merged. All previous issue-537 branches are main ancestors or exactly match merged PR heads. No unpublished work, open delivering PR, open prerequisite or superseded PR remained; no human/upstream/credentials/foreign-lock gate applies. The parent's allocation attribution criterion is still incomplete, so closing it would overclaim. Updated its stale remaining-work section.

    Independently retained/read-back SHA-256 verified 872 files / 261,948,198 bytes, including every outcome, native receipt/log and executable input; all 747 original frozen inventory entries match. Evidence: /Users/tom/git/Relayer-evidence/issue-537/native-parent-43405582202/; adjacent native-parent-43405582202-retention.json inventories every file and native-parent-43405582202-analysis.json records every outcome. Retention lasts while the parent remains open, not permanent public hosting.

    Actual protocol is uninstrumented original-image native-parent ABBA, BDN 0.15.8 generated runner 10, eight operations/invoke, exact .NET 10.0.15 x64. All four native receipts have FoundExecutable/IsSuccess true, exit 0 and no Errors. Every native GC record matches outcomes and receipt PrefixedLines, with native AfterAll/WorkloadResult completion. Native allocated bytes 24227600 / 24309264 / 24203472 / 24103016, all 32768 operations, B/message 739.367676 / 741.859863 / 738.631348 / 735.565674. Workload-result counts 21/30/15/14; means 4713.271/4663.717/4724.580/4771.550 ns are diagnostic only. No failed/unfavorable outcome was discarded.

    One candidate exceeds the baseline bracket; the other lies within it. The native parent does not attribute the allocating types or historical owner. Preserve original unfavorable evidence and all adaptive-count/process-order/host-drift/bundled-protocol limits; no cross-control subtraction, speculative production fix, threshold relaxation or performance trade-off.

    Tried the remaining implementation route rather than deferring: source inspection confirms the launcher expressly rejected native parent plus profiler, while the existing native BDN executor and exact MeasureWithGc profiler already provide the necessary primitives. No design decision prohibits combining them. Created and locked native child #609; draft #610 at 196acd8 enables child-only profiling with per-launch wrappers. This prevents the managed parent from sharing/truncating the child's allocation report. Reuses existing profiler/BDN pipe protocol/readers; no duplicate engine or profiler. #610 closes only #609.

    20 focused launcher tests pass, including real shell execution with apostrophes/spaces, exact-runtime/anonymous-pipe arguments, child-only variables, per-launch report paths and missing-report failure while attempting all four launches. actionlint and diff checks pass. ARM64 macOS cannot run retained Linux x64 binaries/profiler; the unprivileged PR workflow now exercises native-parent callback mode on hosted Linux. Validation sources/logs are independently retained/read-back hash verified at /Users/tom/git/Relayer-evidence/pr-610/196acd8553565c0d95e82ed3f4cc41ba08b9c57a/inventory.json.

    After #610 review/merge, dispatch exactly one trusted-main frozen-exact-adaptive-control.yml run with performance_run=43124385683 / runtime_version=10.0.15 / same_image=comparison / parent=native. Retain/hash every file and inventory, verify native receipts/GC denominators/method coverage, inspect every type family and failed outcome, and compare within its own ABBA. ELT/JIT/callback/locking instrumentation still perturbs scheduling and object sizes need not equal GC allocation-context bytes. The parent's reproducible mechanism attribution and any demonstrated defect correction remain; historical allocation streams cannot be recovered from aggregates.

    No competing experiment, gate rerun or on-hold label added. Codex review requested on the draft's verified remote head; Claude review is automatic. No docs impact (internal tooling; tool README updated); production per-message cost unchanged, 0 B added. No owned services. Releasing issue-537, issue-609 and pr-610 without waiting for review/CI.

  15. added
    in-progress
    and removed
    in-progress
    on Nov 13, 2026
  16. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Rechecked and claimed #537 under the driver-held issue-537 lock. The quoted blocker no longer holds: run 43405582202 succeeded and its complete retained analysis is already recorded above; I did not rerun or duplicate that analysis.

    Resolve audit against freshly fetched origin/main 02fe06f: both native children #606 and #609 are closed. #607's native-parent launcher and #610's child-only exact-method profiling are merged. All 12 historical issue-537 branches are main ancestors or exactly match merged PR heads (#541/#547/#549/#552/#554/#558/#589/#607/#610); no unpublished implementation remains. No open delivering PR, open prerequisite, superseded PR or human/upstream/credentials/foreign-lock gate exists. Original reports/frozen builds and all unfavorable controls remain retained. Tooling delivery does not satisfy the parent's remaining mechanism-attribution criterion, and current evidence demonstrates no production defect to fix. Closing #537 would overclaim. Updated the stale body to the merged implementation and actual remaining experiment.

    Used the next existing, reviewed implementation rather than deferring or adding another profiler/engine. Recent exact-method dispatch 43408936312 selects unrelated Performance 43405571931 and the console parent. No active competing original-input exact-method experiment existed. Dispatched exactly one trusted-main native-parent exact-method ABBA: 43410230346, explicit performance_run=43124385683 / runtime_version=10.0.15 / same_image=comparison / parent=native. Verified workflow_dispatch, main, expected .github/workflows/frozen-exact-adaptive-control.yml path and trusted head 02fe06f.

    Submitted-input and API receipts are separately retained/read-back SHA-256 verified at /Users/tom/git/Relayer-evidence/issue-537/native-parent-exact-43410230346-{dispatch,api}.json; hashes and sizes are in adjacent native-parent-exact-43410230346-receipts-inventory.json. The API run object alone does not establish executed inputs; completed outputs must confirm them. Retention lasts while the parent remains open, not permanent public hosting.

    Next unit must independently retain/hash every output and frozen inventory, verify actual protocol/runtime, all four native receipts, native GC denominators/completion, exact method coverage, every type family and every failed outcome before within-ABBA interpretation. Child-only hooks/callbacks/JIT/locking still perturb scheduling; adaptive counts/order/host drift and object-size versus GC allocation-context-byte limits remain. New instrumented runs cannot reconstruct the historical allocation stream. Preserve original unfavorable evidence; no independent-control subtraction, unbounded control ladder, threshold relaxation, speculative production fix or performance trade-off. Do not start a competing run.

    No source change/new PR or local tests are needed to dispatch the reviewed workflow. No docs impact; production per-message cost unchanged, 0 B added. No owned services or additional locks. Removing this unit's transient in-progress claim and releasing issue-537 without polling; returning workflow waiting rather than deferring.

  17. added
    in-progress
    and removed
    in-progress
    on Nov 13, 2026
  18. thomhurst commented on Nov 13, 2026

    @thomhurst
    OwnerAuthor

    Rechecked and claimed #537 under the driver-held lock. The quoted wait is resolved: run 43410230346 completed successfully. This completes the present-day mechanism-attribution scope recorded in this issue's “Completed uninstrumented baseline; actionable attribution scope” section. Exact ownership of the original historical 731/730/729 B/message result remains unknown: its aggregate reports contain no allocation stream, and new execution cannot recover one. This resolution does not reclassify that unfavorable result as noise or a passing gate.

    Acceptance audit against freshly fetched origin/main 3609a26 (which includes reviewed implementation 02fe06f601928a742eb0934cb9c84700173c7979): both native children #606/#609 are closed; #607/#610 supply the native BDN parent and child-only method profiler. Existing tooling now delivers the controlled retained-image investigation. No open delivering PR or open prerequisite exists. Historical issue branches match merged PR heads or main ancestors; no stranded implementation remains. No human, upstream, credential or foreign-lock blocker exists. The remaining route was to inspect the completed experiment, not defer or start another control ladder.

    Complete execution validation: independently retained/read-back SHA-256 verified 1,038 files / 264,397,759 bytes, including every outcome and executable input; all 747 original frozen inventory entries match. Actual protocol is original-image ABBA, BDN 0.15.8, generated runner 10, native anonymous-pipe parent, eight operations/invoke, child-only Engine.MeasureWithGc callbacks, .NET 10.0.15 X64. All four receipts have FoundExecutable/IsSuccess true, exit 0 and no Errors. Every native // GC record agrees with the outcome and receipt; native WorkloadResult/AfterAll completion is present. Method reports each have one entry/normal leave, zero coverage failures, resolved metadata and type counts/sizes that sum to their report totals. Every report was inspected, including the singleton ThreadPool callback in candidate launch 2; none was dropped.

    ABBA launch Native allocated bytes Native operations Native B/message Callback object count Callback object bytes
    1 baseline 47,741,080 65,536 728.471069 719,218 47,478,936
    2 candidate 189,668,048 262,144 723.526184 2,863,766 188,619,472
    3 candidate 189,020,376 262,144 721.055511 2,857,157 187,971,800
    4 baseline 95,835,136 131,072 731.164063 1,441,878 95,310,848

    Both candidates lie below their own baseline bracket in this execution. Timings remain diagnostic, not throughput evidence.

    Present-day allocating owners: eight stable families contribute exactly 536 object-size B/message in each launch: ServiceProviderEngineScope 48; ConcurrentHandler 24; ConcurrentOrder 24; DI scope Dictionary 80 and Entry[] 144; Int32 24 and Int32[] 36; Json ArgumentState 56. The complete remaining families, normalized by each native denominator, are:

    CLR allocating family (object-size B/message) Baseline 1 Candidate 2 Candidate 3 Baseline 4
    System.Action 23.432617 22.271973 21.866943 24.808594
    PoolingAsyncValueTaskMethodBuilder StateMachineBox for ConcurrentHandler.HandleAsync 49.794312 47.327942 46.467255 52.718262
    BlockedReadAsyncOperation<byte> 119.229492 117.920654 116.725708 117.635010
    BlockedReadAsyncOperation<int> 12.017578 12.010254 12.008789 12.008057
    BlockedReadAsyncOperation<InMemoryMessage> 83.997070 83.995239 83.986816 83.994141
    QueueUserWorkItemCallbackDefaultContext<object> 0 0.000122 0 0

    This accounts for every callback family in this execution, not sampled guesses. Handler box and Action allocation counts match exactly in each launch: 23,995 / 91,226 / 89,567 / 50,808. The mechanism follows the native implementations: .NET 10.0.15 BoundedChannel.ReadAsync allocates a pending-read object when a cancellable token prevents singleton reuse or an uncancellable singleton is already owned. PoolingAsyncValueTaskMethodBuilder.RentFromCache allocates on a thread/per-core cache miss; MoveNextAction lazily allocates the continuation Action. The retained fixture uses this pooled handler and cancellable channel reads with eight live deliveries. These runtime-owned waits and pool misses give a concrete present-day allocating mechanism; variable rents/read counts, rather than added stable DI/JSON/message objects, account for variation among the counted object families. Counts do not identify Action call-site stacks or prove what scheduling happened in the original run.

    Retention independent of local cleanup and Actions expiry: the unpublished draft release Performance evidence for #537 (draft performance-evidence-537) contains the original unfavorable reports/frozen builds and all locally retained controls, raw profiles, executable inputs, analyses, inventories and source. The content-addressed issue-537-complete-evidence.zip has a read-back-verified manifest mapping every original path to its length/SHA-256 and stored object; identical bytes are stored once without dropping any file or outcome. complete-evidence-sha256.json records the archive digest/size, verified against GitHub's uploaded-asset digest. Authenticated maintainer access is required. This is evidence storage, not a published package/version release; it remains until explicitly deleted. Local evidence remains disposable. Restore full current analysis/type names from the manifest entries native-parent-exact-43410230346-{analysis,normalized-types}.json. Earlier unfavorable controls and coverage limitations are preserved without selection.

    Limits and disposition: ELT/JIT, allocation fastpaths, callback locking and metadata resolution perturb execution. Adaptive operation counts, process order and host drift remain confounders. Callback object sizes are not native GC allocation-context bytes; the two totals are reported separately, with no cross-control subtraction. Selected-runtime inventory is not proof of historical loaded-binary equality. The historical allocating owner and any candidate causal effect are not established. No demonstrated production defect remains to correct, and replacing native channel/pooling behavior or changing the fixture/gate to force favorable numbers would be speculative. No threshold relaxation, accepted performance trade-off or production change is made.

    Closing the completed, previously narrowed investigation with this mechanism attribution and preserved evidence, while explicitly retaining the historical inference limit. Hosted checks passed 9 native profiler tests and 20 launcher tests; no source changes or new local test run were needed for evidence analysis/retention. No docs impact; production per-message cost unchanged, 0 B added. No competing workflow or additional lock was started.

  19. removed
    in-progress
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2area: performancebug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions