Repository navigation
perf(test): reduce CI case and scheduling overhead - #32645
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
This pull request is merged. |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 3b970cc533d0935c32c4734790ac81773dc431d0
Assessment: approve
The changes reuse existing fixtures and the authoritative snapshot matrix while preserving distinct data, metadata, failure and recreation oracles. The BVT selector preserves exact coverage and order; no production behavior changes or actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Read the complete seven-file delta, all discussion entries and applicable owners/consumers. Verified the removed 556-statement snapshot matrix remains identical after account-spelling normalization; checked canonical snapshot ownership and unchanged join-order result oracles.
-
Private-runtime preflight and the exact selector regression passed. Independent baseline/candidate selector checks retained all 1,890 scripts exactly once, with lexical order preserved and only 122 git4data scripts moved; empty and populated resource arguments passed.
-
Verified clean frozen source, git diff --check and gofmt for both changed Go files. Reconciled checks with retained command/source/exit receipts and logs.
-
Reused the author's reported SQLintegration, race A/B, snapshot and joinorder BVT results within their stated scope.
Limitations:
-
Frozen build, UT, SCA, coverage and some analysis checks were pending; these are not passes.
-
SQL/BVT, full-package and performance results were reported without raw local_validation artifacts and were not repeated locally. The group critical-path saving is a timing-model estimate.
-
Local selector probes used Linux Bash 5.2; the externally referenced CI workflows and Darwin shell runtime were not independently exercised.
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 7e74b27b23bb1b85f7c5e2e2cc3de9cdf245c5b3
Assessment: approve
The changes preserve distinct coverage while reusing existing fixtures, admission and observation owners. Parent protocol ownership and the cross-CN commit wait address real lifecycle boundaries; the scheduler increase stays confined to the measured profile. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Reviewed all fifteen changed files and affected owners/consumers, the prior assessment, all five discussion entries and linked #28933. discussion-assessment.json covers every discussion key exactly once.
-
Local optools passed normal and race execution: 90 roots each, no skips. All 29 scheduler scenarios passed; the changed root also passed seven same-process race repetitions, derived from T=4.09s and B=30s.
-
Local S3FIFO owner passed all 33 roots normally; TestMatchesModel passed under race with all 32 million membership observations retained. Go formatting, both shell syntax checks and vet for optools/S3FIFO passed.
-
Independent inventory and source/oracle audits passed: all 1,890 BVT scripts exactly once, only 122 intended moves, retained ordering, all 556 canonical snapshot statements and unignored outputs, unchanged join-order result oracles, all 50 planner scenarios and 25 initial view inputs.
-
Isolation preflight and all completed checks passed using assigned caches/executors. validation-evidence.json maps commands to receipts/logs; final audit checks/1794546590619239836-2.json exited 0. Frozen source remains clean.
Limitations:
-
Planner/view/multi-CN runtime checks, five-package configured linting and controlled performance measurements are author-reported and were not independently repeated; raw execution artifacts were not supplied.
-
Frozen UT, SCA, coverage and BVT checks remain pending. The reported phase improvement does not establish the one-hour full-job target or cold-runner resource behavior.
-
Local shell validation used Linux Bash 5.2; Darwin Bash 3.2 was not executed.
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 758ed23d0e68200dae9af4d36e751314fcd6c494
Assessment: approve
The changes preserve distinct coverage while reusing existing fixtures, the snapshot matrix and scheduling owners. Charset errors now belong to the executing child, with cleanup and quarantine preserved. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Qualified the complete 16-file scope against supplied review 5886494144: fourteen final files and all other dependencies are unchanged. Inspected the charset update and its cleanup, failure and fixture-generation consumers.
-
Independent selector execution preserved all 1,890 scripts exactly once, ordering and both resource-argument modes; only the intended 122 scripts moved.
-
Source/oracle audit passed: checks/1794558561410177076-2.json and source-audit.stdout.log. Verified all 556 delegated snapshot statements and unignored outputs, unchanged join-order oracles, charset/planner semantic tokens, gofmt for eight Go files and shell syntax.
-
Reused source-qualified supplied normal/race/BVT reports at their stated scope. Current-head nine-scenario charset normal/race and real SQL-error controls remain explicitly author-reported.
-
All seven discussion keys and linked issue #28933 were assessed. Final source, schema and receipt/log reconciliation passed; records are retained in discussion-assessment.json and validation-audit.json.
Limitations:
-
No fresh Go, SQL-service, race or full BVT execution. Underlying runtime, lint and performance logs were not supplied in local_validation.
-
Full new-head CI remains unfinished. The one-hour full-job target and cold-runner resource behavior remain unproven; earlier failed or cancelled full UT attempts are not passes.
-
Selector validation used Linux Bash 5.2; Darwin Bash 3.2 was not executed.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #28933.
What this PR does / why we need it:
Reduce repeated test work and repair cross-CN cleanup observation and child-test failure ownership without changing production code or adding CI runners. The UT budget remains one 8-CPU/16-GiB runner.
git4datascripts to group 1 and handle an empty resource argument on Bash 3.2.The maintained behavior mapping and critical-path analysis distinguishes equivalent fixture reuse, differential coverage, fixed costs and overlapping stages. Actual full race baselines are 68–73 minutes; case sums or shorter incremental runs are not full-job improvements. An identical-binary SQL-integration grouping experiment regressed execution from 755.7 to 778.5 seconds, so the existing grouping remains.
Prepared-cache comparison of the same new source: the joined heavy/plan critical path was 331s → 242s (−26.9%), including the plan preparation increase from 6s to 37s. Both arms selected the identical 42,412 run/terminal nodes and 8,746 roots (8,737 pass, nine existing skips); no new skip or omitted/duplicated scenario. This uses about 12% more wave CPU time inside the same quota. Cgroup peaks were 7.27/5.56 GiB with zero max/OOM/kill events; differing file-cache charging prevents interpreting that ratio as a memory saving. Engine and setup time are excluded from this phase claim.
Validation:
optoolsrace PASS (90 roots), plus eight same-process race repetitions of the changed scheduler root.On the previous published head 7e74b27, coverage, SCA and both full BVT jobs passed. Its first full race attempt failed after 97m47s: two unchanged SQL scenarios timed out during cleanup, and an unchanged checkpoint scenario exceeded its cumulative context deadline. Exact runner/node telemetry shows substantial shared-device NVMe queueing and I/O pressure in the failure windows; the underlying storage cause remains unresolved. The same-head observational repeat passed the complete light phase in 21m03s and HNSW in 33s, then failed the unchanged
TestIssue30345LoadIgnoreCheckConstraintsbefore cancellation. Attempt 2 was cancelled after its diagnostics were saved to publish the reviewed new head without overlapping UT runners. Its partial results are not a complete job pass or an infrastructure fix.The new charset failure-ownership delta at 758ed23 passed all nine original scenarios in normal and race modes, and the real SQL-error negative controls proved correct child failure, stopping subsequent scenarios, database cleanup and completed fixture quarantine. Its incremental golangci-lint, molint and vet passed. The SQL/data/oracle semantic token stream matches after removing only the owner/error plumbing. An additional unchanged issues-stage diagnostic had one multi-CN deadline failure; its timings are excluded from speedup claims and no batching policy was changed.
All full CI for the new head is pending. The one-hour target remains unproven. The starting-head successful job took 71m38s.