Skip to content

ci(perf): record controlled turn overhead on an isolated runner - #297

Merged
lg2m merged 30 commits into
fix/eng-1029-ac3-durable-summary-spendfrom
ci/eng-1044-turn-overhead-recording
Oct 14, 2026
Merged

lg2m merged 30 commits into
fix/eng-1029-ac3-durable-summary-spendfrom
ci/eng-1044-turn-overhead-recording

Conversation

@lg2m

@lg2m lg2m commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Add an explicitly dispatched, reproducible turn-overhead recording job. It builds immutable baseline/candidate commits with the same immutable benchmark fixture, verifies compiled fixture identity and compiler/dependency closure, then retains raw A/B and A/A samples.

Spec: autonomous-core AC0.2.1 · ENG-1044

Stacked on AC3 #296, currently e8c52db1, which integrates main 7de994b1 and has current-head Codex approval. This PR integrates that parent without changing its runtime.

Recording contract

  • Explicit workflow dispatch with immutable40-hex baseline and fixture inputs; candidate is the dispatched workflow’s actual commit.
  • Separate optimized build directories, saved binaries and30 A/B +30 same-binary A/A pairs across10/100/1000-turn boundaries.
  • One immutable checkout overlays exactly turn_overhead.rs and tests/support/soak.rs into both production arms. Embedded source digest, dep-info/compiler closure, actual binary hashes and profiles bind reports to their inputs.
  • Bound captured output to1MiB, timed processes to180s and clean up owned process groups on all outcomes. Contents-read permissions, no persisted checkout credentials or provider requests.
  • Default PR CI behavior is unchanged. Raw measurements remain artifact data.

Verification

Current source aac4b95b, recorded/published at b590823f:

  • Serial workspace 2,309 passed /0 failed /14 ignored, excluding one nested embedding child.
  • Workspace formatting, all-target/all-feature Clippy -D warnings, and build pass.
    -16 recorder CLI tests and4 immutable-fixture tests pass. Focused workflow actionlint passes with the same documented pre-existingSC2129 style exclusion; unfiltered diagnostic logs are retained.
  • Prior independent recorder/fixture source review approved; this integration changes parent/runtime ancestry and ledger records only.

Measured evidence and limits

Controlled run38512527872 completed120 runs/360 rows with matching fixture, compiler1.97.1,229 dependency-feature closure and verified binary hashes. Earlier baseline f3b76376 vs candidate 3def2ab9: A/B median changes10/100/1000 were+2.03%/+0.85%/-1.19%; A/A controls+2.12%/-1.22%/-2.44%. A/B1000 p95 rose1.8498→1.8829ms while I/O pressure increased. This is a verified recording, not attribution or a quiet-tail pass.

Current-head recording38532450201 compares main 7de994b1 with b590823f, using the same immutable fixture on both. Independent artifact audit verifies120 logs/360 rows, saved binary hashes, Rust1.97.1 and optimized feature/profile equivalence. A/B median changes10/100/1000 are+2.309%/-3.267%/-2.491%; p95 changes are-0.215%/-14.718%/-5.226%. A/A median controls are-0.511%/+2.605%/+0.438%; p95 controls-0.127%/-11.207%/-5.152%. I/O pressure avg10 ranges0–13.15%, and A/A ran after A/B, leaving phase drift possible. This is controlled-fixture evidence, not quiet-host equivalence or a performance-gate pass.

Earlier different-fixture recordings remain confounded diagnostics. H0, quiet-host reproducibility, concurrent-agent latency, fsync, flatness and whole-plan/live gates remain open without waivers.

Current head b590823f has a genuine Codex no-major-issues review and opening 👍 (2026-10-14); all three review threads are resolved. This completes the recording mechanism’s implemented scope; it does not claim the entire autonomous-core plan finished.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T08:04:54.397046Z b590823 Manual request
ℹ️ 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cc86fadb11

ℹ️ 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".

Comment thread .github/scripts/record-turn-overhead.py Resolved
Comment thread .github/scripts/record-turn-overhead.py Resolved
lg2m added 2 commits October 13, 2026 17:50
AC0.2.1: reject equal commits, enforce the hard log bound while reading, and terminate descendants even after the benchmark leader exits.

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Both previous findings are fixed in e07725f and their threads resolved. Eleven deterministic recorder regressions, workspace tests, formatting, Clippy and build pass. Please review the updated opening description and implementation.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: e07725f8b2

ℹ️ 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".

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Stack integration a76a958 brings the qualified AC3 recovery repair into the parent lineage and resolves the ledger conflict, preserving both recordings and all receipts. Recorder implementation remains e07725f (opening +1 verified before integration); all11 CLI tests, actionlint and formatting pass again. Rust workspace paths exactly match the qualified AC3 parent5b8badf, whose2,280 tests, Clippy and build pass. Please review the final stacked head.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: a76a958930

ℹ️ 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".

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Final stack integration907cea7 brings qualified AC3 client fixes4ef32ff into the parent lineage and resolves only append-only ledger history. Rust workspace paths match that2,283-test/fmt/Clippy/build-qualified parent exactly; recorder implementation remains unchanged,11 CLI tests/actionlint/formatting pass again. Please review the current stacked head and opening description.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 907cea7a08

ℹ️ 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".

…4-turn-overhead-recording

# Conflicts:
#	docs/plans/progress/autonomous-core.md

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Final stack head6383c746 integrates the qualified terminal/client repair parent7b5c431. Rust paths match parent exactly (2,288 workspace tests/fmt/Clippy/build pass); all11 recorder CLI regressions, actionlint and fmt pass again. The earlier opening +1 on907cea7 is preserved as historical evidence; please review the current integrated head.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6383c74699

ℹ️ 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".

Comment thread .github/scripts/record-turn-overhead.py Resolved
@lg2m
lg2m added this pull request to stack #300 October 14, 2026 03:18

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review
Common compiled fixture repair published at3def2ab9; all20 recorder/fixture tests and complete serial workspace gates pass. Please review the latest head.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 3def2ab9af

ℹ️ 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".

lg2m commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review integrated head b590823 against its current AC3 parent e8c52db. Recorder source/fixture safeguards retain their earlier reviewed implementation; main integration and full workspace2309 tests/fmt/Clippy/build, recorder16/fixture4 and focused workflow checks pass. Focus on concrete introduced regressions; settled findings require new reproducing evidence to reopen. Updated description separates the recording mechanism from still-open final-head performance/H0 gates. Please give the final current-head outcome and opening-description 👍 if approved.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: b590823f14

ℹ️ 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".

@lg2m
lg2m merged commit f87d5d9 into main Oct 14, 2026
10 checks passed
@lg2m
lg2m deleted the ci/eng-1044-turn-overhead-recording branch October 14, 2026 15:31
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