Repository navigation
perf(build): restore release size limits and repair performance gates - #315
Conversation
ENG-834: retry_performance_budget_accepts_turn_recovery_but_rejects_an_extra_send fails because the approved six-send retry allowance exceeds the old 1050-milli budget. Record merged AB slices and the user-authorized performance follow-up.
ENG-834: use full LTO and size-oriented final executable optimization; retain level 3 dependencies. Align H0 and turn drivers with the shipped profile, correct the ADR-0040 retry ceiling, and preserve every other size and speed budget. Runtime performance qualification remains required.
ENG-834: normal compiler invocation retained symbol tables despite the inherited release setting. Make the setting explicit for qq and xtask; verify the normal build artifact against unchanged size ceilings.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f05340b294
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 42a06cc608
ℹ️ 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".
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2f7c5af221
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 645e2fdbd8
ℹ️ 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".
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Brings in main via #313's branch and adapts the desktop app: - ADR renumbered 0062 -> 0064: main accepted a different ADR-0062 (full LTO, #315) and ADR-0063 while this PR was open. The file, its index row, the root ledger reservation (next free 0065) and the desktop references move to 0064; a ledger entry records the renumbering. - The desktop core handles main's new StateEffect::CheckInterruptionChanged like the TUI: a warning while an interrupted goal completion check holds the workspace, and a notice when it is acknowledged. Test snapshots gain main's new `goal` and `check_interruption` fields. Co-Authored-By: Claude Opus 5.5 <[email protected]>
QQ’s release binaries exceed the existing 48 MB default and 41 MB minimal limits. This change restores those limits while retaining all features and dependencies, and repairs the verification of release performance and retry recovery. Tracks ENG-834.
soptimization forqq,xtask,qq-authandqq-config; runtime/provider and other libraries retain level 3. Strip executable symbols. ADR-0062 supersedes ADR-0010’s compiler choices while preserving its ceilings. Main’s fast development profiles remain intact.77a42b53reproduces stale report acceptance;3dc36557repairs it. The real CLI rejects an actual historical version-4 hosted report against current budgets.3b763ea1and candidate using one immutable H0 fixture; retain original/effective source hashes and verify candidate/control binary identity. The guard permits only fixture 4 → 5 and the documented retry-budget correction. Turn diagnostics retain common fixture9868038cand each arm’s final optimization setting.Verification at published head
3dc36557:cargo xtask check
Head
3dc365578669vsorigin/main; 16 changed file(s); scope: full workspace.cargo fmt --all -- --checkcargo xtask lintcargo clippy --color never --workspace --all-targets --all-features -- -D warningscargo nextest run --color never --profile quick --workspacecargo test --color never --workspace --doccargo clippy --color never -p qq-provider --no-default-features --features test-support --all-targets -- -D warningscargo nextest run --color never --profile quick -p qq-provider --no-default-features --features test-supportAll gates passed in 281.2s.
Performance qualification failed; do not merge. Current-head CI run 38695949630 has green correctness, smoke, Windows, wasm, website and turn-recording jobs; Codex review is clear. H0’s size and correctness checks pass, but its performance comparisons fail.
Current-head H0 artifact 11956370731, SHA-256
ffd67039a389f056cecb07d8175f2f47b5e1aee773f656c31a7aae31973900ec, is downloaded and independently audited: all 231 metric summaries, pinned production/fixture identities, version-5 budget bytes and candidate/control binary identities verify. All three recordings exit successfully and pass 25/25 correctness checks each, including exactly six entries in all 20 faulting runs.Sizes are 44,849,176 / 48,000,000 default and 40,778,584 / 41,000,000 minimal bytes. These current-head measurements pass the unchanged ceilings.
H0 reports 18 A/B and 20 A/A failures involving noise, latency and throughput; rerunning the comparator over the saved reports reproduces them exactly. Host I/O pressure reaches 25.62, above the documented threshold of 20. Unchanged-binary direct-completion p95 shifts 38.7 → 92.5 ms while shell p95 shifts 214 → 7.8 ms. Baseline HTTP acknowledgment already exceeds its absolute ceiling. Ten-session throughput medians 61.008 / 47.228 / 41.064 runs/s remain unresolved; this run cannot establish that every observed regression is noise or attribute one to the change.
Independent review agrees that the artifact does not justify a source fix or a waiver. The selected
sprofile’s restart/replay medians are 3.123 / 3.218 / 3.258 ms, without the earlier repeated 45–64%zregression. The required next step is unchanged H0 A/B plus A/A on an exclusive quiet host, with focused throughput profiling if the decrease persists. The local host is also above the pressure threshold, and the repository has no registered self-hosted runners. A quiet-host resource has been requested. No blind shared-host retry, budget change or failure waiver.Current-head
3dc36557turn artifact 11954752079, SHA-256396458c093ac3ddf52addef766f7520cc086a865693a8feab1f00409c116b153, verifies all 120 logs, source manifests against immutable fixture commit bytes, binary identities and recomputed summaries. I/O pressure max 13.02, 0/240 snapshots above 20. At 1,000 turns, A/B median −0.552%, p95 −1.499%; same-binary median +0.590%, p95 +3.532%. Across 10/100/1,000 turns the largest A/B p95 increase is +0.483%. This diagnostic shows no material slowdown; it is not an H0 metric registration or a substitute for the pending H0 gate.Full LTO increases release linking time. No protocol, store schema, feature set or dependency change.