Skip to content

Investigate #537 with net10 exact allocation owner controls - #541

Merged
thomhurst merged 2 commits into
mainfrom
issue-537-allocation-attribution
Nov 13, 2026
Merged

thomhurst merged 2 commits into
mainfrom
issue-537-allocation-attribution

Conversation

@thomhurst

@thomhurst thomhurst commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

#537's completed net10 regional controls do not identify the historical allocation increase. This PR runs the existing owner probes on .NET 10 and adds a reciprocal frozen core-DLL crossover against the exact original Performance run 43124385683, separating a core-image effect from its surrounding engine image in new executions.

Reuses the unchanged crossover implementation and tests from #522 (17f8bfa), the original native BenchmarkDotNet launcher, inventory verifier and strict GC-stat parser. Each engine runs original/other/other/original Relayer.dll, with all other disk files held fixed and checked before/after execution. No retained workload rebuild, production change, native-client reimplementation, threshold change or Performance-gate retry. DLL replacement includes metadata and IL; it is not an identity-only intervention or proof of historical owners. #522 continues its distinct #488 experiment unchanged.

All 16 completed net10 controls from run 43347233456 were retained and validated, including delivery counts and complete regional histograms. Net10 original-waiter ABBA: 752.452271 / 743.581635 / 749.305908 / 750.689545 B/message. Source-identity: 324.125427 / 322.984070 / 323.793549 / 324.221741. Worker-instrumented: 946.009979 / 944.509155 / 949.190002 / 952.025848. Driver-regional: 749.585663 / 746.934204 / 748.362396 / 748.155731. These separate fixed-count/instrumented experiments cannot be subtracted or treated as original adaptive-engine replay. The historical 729.828491 / 731.346558 / 729.251709 B/message result remains unfavorable and unattributed.

Validation: 5 crossover tests and 8 existing native-launcher tests passed. All three original inventories verified; four 235-file crossover images prepared from the real #537 inputs, reciprocal pairs differing only at Relayer.dll. Hosted Linux execution follows this push; macOS ARM64 cannot execute the frozen Linux x64 images. YAML parsed and diff checks passed. Earlier net10 probe validation remains recorded in the issue.

Evidence outside removable worktrees: /Users/tom/git/Relayer-evidence/issue-537/net10-owner-retention-sha256.json read-back verifies all 926 artifact files / 229,391,034 bytes. net10-owner-analysis.json preserves every outcome and full histogram; 537-crossover-validation-sha256.json verifies 7 retained validation/analysis files. All original and earlier unfavorable evidence remains retained while #537 is open; local retention is not permanent public hosting. No raw diagnostic traces were produced by this run.

Per-message production cost: unchanged, 0 B added. No docs impact (investigation tooling only).

Related to #537; this partial diagnostic PR does not close its historical attribution and demonstrated-defect criteria. Next unit: retain/hash and inspect every reciprocal crossover outcome, then narrow the image effect or correct a demonstrated defect without attributing historical types from independent totals.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 33485404-c63f-4e54-b554-7e6d4ff5ee09
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@thomhurst

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T03:07:07.524131Z 4412d6f Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 6104cbb824

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@thomhurst

Copy link
Copy Markdown
Owner Author

@codex review

@github-actions

Copy link
Copy Markdown

Review of #541: CI investigation tooling only

No production code or per-message path is touched, so the performance and zero-allocation rules don't apply. Docs impact is correctly stated as none.

I checked the following against the base branch:

  • Imports: BENCHMARK, executable and result from frozen_bdn_control, verify from frozen_concurrent_control, and the COMPLETE constant and OriginalRunnerTests.fixture used by the tests all exist with the signatures the new code assumes.
  • Image preparation: prepare copies the frozen images, leaving the originals untouched. It asserts that exactly Relayer.dll differs in the cross pairs and that nothing differs in the same-core pairs. The tests cover the identical-DLL case and the mutation-during-run case.
  • Failure handling: run keeps every outcome, re-verifies the original archives after the launches, and prevents launches when input verification fails.
  • Workflows: actions are pinned by SHA, permissions are read-only, the run ID is validated as numeric, and the timeouts (130 minutes for 8 launches of up to 15 minutes each) are sufficient.

Minor, non-blocking: the net10 owner workflow installs the 11.0.100 SDK but only builds net10.0 probes, so the extra SDK is probably unnecessary.

No actionable findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 361d2b1fe5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@thomhurst

Copy link
Copy Markdown
Owner Author

Current head 361d2b1fe5bdae86db09fdc2a0b39ae4354c251f has CLEAR Claude and completed/no-findings Codex verdicts; every review surface is clear. Claude’s extra-SDK observation is non-blocking: retaining the repository-selected SDK keeps probe restore/build compatible with global.json; no code push is warranted.

Reverified the existing inventories: 7 validation files, 926 net10 owner files, 808 original files, 877 native files and 919 concurrent files match their recorded lengths and SHA-256 hashes. Existing evidence remains under /Users/tom/git/Relayer-evidence/issue-537/ while that issue is open.

Downloaded all 1,768 files from crossover run 43348123636, artifact frozen-537-core-crossover-43348123636-1, and created/read-back verified /Users/tom/git/Relayer-evidence/pr-541/361d2b1fe5bdae86db09fdc2a0b39ae4354c251f/sha256.json. This local PR evidence is removable after closure; the hosted artifact has 90-day retention, not permanent hosting.

All eight outcomes completed (32,768 operations each): baseline-engine original/other/other/original = 740.295654 / 736.595215 / 738.447998 / 735.932129 B/message; candidate-engine original/other/other/original = 737.896484 / 735.866211 / 735.708496 / 739.284180. These overlapping new executions do not establish a consistent core-DLL effect or identify historical owners. #537 remains open for its attribution and demonstrated-defect criteria. Promoting this reviewed investigation tooling only; no production cost or docs impact.

@thomhurst
thomhurst marked this pull request as ready for review November 13, 2026 02:07
@thomhurst
thomhurst enabled auto-merge (squash) November 13, 2026 02:07
@thomhurst

Copy link
Copy Markdown
Owner Author

Run 43349857104 completed with both framework jobs failing restore: NU1903 for Aspire.Hosting / Aspire.Hosting.AppHost 13.6.4 (GHSA-f7vh-h5g3-7jrh). This is the existing #536 defect, already fixed by the 13.6.5 pins in open PR #528. No retry can repair the dependency graph, and origin/main still pins 13.6.4. This investigation PR is neither superseded nor complete for #537; its reviewed tooling remains useful. Moving to prerequisite #528 under its own lock; once it merges, rebase #541 onto the fixed main and obtain fresh reviewed CI. No audit suppression or on-hold label.

@thomhurst
thomhurst disabled auto-merge November 13, 2026 02:11
@thomhurst
thomhurst marked this pull request as draft November 13, 2026 02:11
@thomhurst
thomhurst force-pushed the issue-537-allocation-attribution branch from 361d2b1 to 8e57521 Compare November 13, 2026 02:12
@thomhurst

Copy link
Copy Markdown
Owner Author

The blocker is resolved: #528 merged as 644473b after required CI passed, and main now pins Aspire 13.6.5. Released its lock, reacquired this PR lock, disabled auto-merge, returned this PR to draft, and rebased onto patched main.

Pushed 8e57521. The rebase had no conflicts; git range-diff confirms both investigation commits are patch-identical to the previous head, and git diff --check passes. No tests rerun for this conflict-free rebase, per repository rules; existing targeted validation remains recorded, and full ready CI must validate the updated dependency base after both reviewers approve this new head. No production/per-message changes or docs impact.

All previous review surfaces were inspected and had no blocking findings. Prior approvals belong to the old head, so requesting current-head review; do not promote until both required verdicts name this head. No retry of the deterministic failed restore, competing security patch, on-hold label, or closure of the still-unfulfilled attribution issue #537 is warranted.

@codex review

@github-actions

Copy link
Copy Markdown

Review of #541 (head checked against AGENTS.md)

No production code, public API or per-message path changes. The PR adds investigation tooling only: a Python crossover script and its tests, plus two workflows. There is no docs impact, and the PR states 0 B per-message cost. Nothing here triggers the benchmark or performance-label rules.

What I checked in the diff:

  • prepare verifies all three original inventories before copying anything. It then asserts that the only changed file per image is Relayer.dll (none for same-core images). The identical-DLL test covers the case where that would otherwise be a false intervention.
  • The ABBA launch order is reciprocal per engine. Image inventories are re-hashed before and after each launch. A failed launch is recorded and does not stop the later ones, and outcomes.json is rewritten after every launch, so no outcome is lost.
  • The tests cover the isolation guarantees: originals untouched, PDBs left alone, input failure prevents any launch, bracket symmetry, and mutation detection.
  • Workflows use pinned action SHAs, read-only permissions, and a validated numeric run ID before it reaches gh run download. The run ID is a fixed default or a workflow_dispatch input, not PR-controlled text.

Non-blocking notes:

  • The 130-minute crossover workflow also runs on every pull_request that touches its paths. If that is unintended for later edits, restrict it to workflow_dispatch.
  • The post-launch inventory check treats any new file in the image directory as a mutation. If the native launcher writes artifacts into its cwd on hosted runs, every launch would be flagged. That would fail loudly rather than silently, and the hosted run will show it.
  • The PR description says hosted execution follows this push, so the Linux run is not yet evidence either way.

No actionable findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 8e57521180

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@thomhurst

Copy link
Copy Markdown
Owner Author

The old wait on run 43349857104 no longer blocks this head: its deterministic NU1903 restore failure was fixed by merged #528, and this PR was rebased to 8e57521. Claude run 43350439603/1 is CLEAR for this exact head; Codex reports completed/no findings for the same full SHA. REST reviews, inline comments, conversation comments and GraphQL threads were all inspected; no unresolved threads or blocking concerns remain.

Disposition of Claude’s non-blocking notes: retain the path-filtered crossover trigger so changes to the experiment are validated; strict post-launch inventory verification is intentional and the retained eight-outcome hosted experiment completed without mutation errors. The original hosted evidence is already retained and analyzed in the preceding comment, so no competing rerun or code push is warranted. The current path-filtered control checks are successful.

Reverified every recorded file length and SHA-256 in all six retained inventories: 877 native, 919 concurrent, 808 original, 7 validation, 926 net10-owner and 1,768 crossover files. Evidence remains at /Users/tom/git/Relayer-evidence/issue-537/ and /Users/tom/git/Relayer-evidence/pr-541/361d2b1fe5bdae86db09fdc2a0b39ae4354c251f/sha256.json. The latter is evidence for the original patch-identical experiment head, not a claim of rerunning the rebased head; local retention remains removable as previously stated.

Promoting the reviewed tooling through the protected wrapper for fresh ready CI. #537 remains open: these experiments do not establish historical allocation owners or a demonstrated production defect. No production cost or docs impact.

@thomhurst
thomhurst marked this pull request as ready for review November 13, 2026 02:48
@thomhurst
thomhurst enabled auto-merge (squash) November 13, 2026 02:49
@thomhurst

Copy link
Copy Markdown
Owner Author

Protected promotion succeeded. The first arming attempt stopped on GitHub’s temporary mergeable=UNKNOWN; a fresh state inspection showed MERGEABLE/BLOCKED with ready CI running, so the wrapper was invoked again and successfully armed auto-merge pinned to 8e57521. Waiting only for fresh ready CI run 43354747308; no rerun of the old failure, dependency deferral, or additional implementation is needed. Both current-head reviews and all evidence checks are recorded above.

@thomhurst
thomhurst force-pushed the issue-537-allocation-attribution branch from 8e57521 to 4412d6f Compare November 13, 2026 02:59
@thomhurst

Copy link
Copy Markdown
Owner Author

The quoted wait on 43347233456 is obsolete: it succeeded and its complete net10 evidence is already retained/analyzed in #537. Existing work is published as #541; no stale unpublished branch or claim replacement is needed. The current ready CI run 43354747308 failed net11 tests with native region us-west-2 differing from export region eu-west-1, including Queue_message_size_preserves_native_default_and_explicit_values. This is the already-fixed #544 defect delivered by merged #545 (fa86200), which was absent from this PR base. Failure log retained at /Users/tom/git/Relayer-evidence/issue-537/net11-failure.log.

Disabled auto-merge, restored draft, and rebased onto origin/main 3b06d9e. Pushed 4412d6f. No conflicts; the net10 workflow patch is unchanged, and the reciprocal script/tests are already supplied by merged #522, so the final diff contains only the two investigation workflows. git diff --check passed. No tests rerun for this conflict-free rebase; fresh ready CI follows current-head approvals. No production cost or docs impact.

All review surfaces were inspected before the push: REST reviews/inline comments, conversation comments and GraphQL threads; no blocking findings or threads remained. Earlier approvals belong to the old head. This push needs fresh Claude and Codex review. No retry of the deterministic failed test, threshold relaxation or audit suppression. #537 remains open because independent regional/crossover totals do not identify the historical allocation owner. Existing retained results, including unfavorable evidence and prior crossover outcomes, remain applicable to their measured heads, not this new head.

@codex review

@github-actions

Copy link
Copy Markdown

Review

This PR adds two investigation-only workflows. There are no production, per-message or docs changes, so the performance budget and docs rules do not apply.

Verified

  • Every script, probe project and test the workflows reference exists at the PR head: frozen_core_crossover.py, frozen_concurrent_control.py, summarize_frozen_driver.py, and tools/Frozen{Concurrent,Fixture,Driver}Probe.
  • The frozen_core_crossover.py argument order (artifact output) matches the workflow call.
  • frozen-537-core-crossover.yml differs from the existing frozen-core-crossover.yml only in the run ID, names and artifact names.
  • Actions are pinned by SHA, permissions are read-only, and the run ID in the net10 workflow is regex-validated before use.
  • The performance gate is not retried or relaxed.

Non-blocking notes

  • The 537 crossover workflow is an almost exact copy of the Investigate frozen core image effect on concurrent allocations #522 one. A reusable workflow_call with the run ID as an input would avoid a new copy for each investigation. Do this only if more of these workflows are expected.
  • The net10 workflow triggers on pull_request only for its own YAML path. Script changes alone won't trigger it, which is acceptable for a diagnostic.

No actionable findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 4412d6f4b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@thomhurst

Copy link
Copy Markdown
Owner Author

The previous wait on run 43354747308 no longer holds. That old-head run ended after the net11 region mismatch; the preceding unit rebased onto the merged #545 fix. Current head 4412d6f has Claude CLEAR (43355931342/1) and completed/no-findings Codex review. All conversation comments, REST reviews/inline comments and GraphQL threads were inspected; no blocking concerns or threads remain.

Disposition of current Claude notes: reusable workflow extraction is optional architectural follow-up if further experiments warrant it; keeping these two existing diagnostic workflows is reasonable for this scope. The narrow net10 trigger is intentional diagnostic tooling. Neither warrants another code push or review cycle.

Reverified every file length and SHA-256 in all six evidence inventories: 877 native, 919 concurrent, 808 original, 7 validation, 926 net10-owner and 1768 crossover files. Locations remain /Users/tom/git/Relayer-evidence/issue-537/ and /Users/tom/git/Relayer-evidence/pr-541/361d2b1fe5bdae86db09fdc2a0b39ae4354c251f/sha256.json. These are retained results for their measured heads, not new executions of the rebased head; retention limits and unfavorable results remain as previously recorded.

The latest diagnostic checks both passed. #537 remains open because the historical attribution criteria are not delivered by these workflows; this PR remains useful and is not superseded. No remaining prerequisite, stale acceptance criteria, human choice or external dependency prevents promotion. Proceeding through the protected promotion wrapper for fresh ready CI, without rerunning the failed old-head run. No code changed, no tests rerun, no production cost or docs impact.

@thomhurst
thomhurst marked this pull request as ready for review November 13, 2026 03:05
@thomhurst
thomhurst enabled auto-merge (squash) November 13, 2026 03:05
@thomhurst

Copy link
Copy Markdown
Owner Author

Protected promotion and auto-merge arming succeeded for reviewed head 4412d6f. Verified ready status and non-null autoMergeRequest. Fresh ready CI run 43356615005 is running; the old wait on 43354747308 is replaced by this current-head run. No further implementation or review recovery is pending. Releasing the PR lock for the next unit.

@thomhurst
thomhurst merged commit cb1938a into main Nov 13, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant