Repository navigation
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? |
|
mo-bot review · Commit: Review linked issue or PR description changed before publication; a fresh contextual review is queued. |
|
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: d334217316d85278d812fd4184272248a3c479d4
Assessment: approve
The updated issue references resolve the prior linkage concern. The optimization reuses existing holder logic and a bounded fallback while preserving filters, output and error ordering. Fresh comparisons passed across 1,030 cases; no actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
Validation:
-
Reviewed both changed files, affected consumers, all four discussion entries and complete linked issue context. Verified unchanged frozen inputs before reusing prior structural analysis.
-
PASS: 1,026 fresh differential cases covering randomized streams, malformed input, independent filters, helper behavior, fallback and error precedence. differential.log; checks/1794729799808909501-2.json.
-
PASS: four exact event-count/byte-budget boundary comparisons. boundary.log; checks/1794729870740011512-2.json.
-
PASS: Python syntax, gofmt, git diff --check, source/patch identity and updated description requirements. static-audit.log; checks/1794729870639807509-2.json.
-
Confirmed installed Go 1.26.6; this is an environment check, not a test pass. go-environment.log; checks/1794729831618365358-2.json.
Limitations:
-
Go suites were not rerun because the checkout requires Go 1.27.1. The PR reports 94 owning-package tests and six relevant normal/race tests passing; raw author artifacts were unavailable.
-
Reported large-report timings were not independently reproduced. Differential checks exclude traceback source-file/line formatting.
-
Hosted CI remains failed/pending/skipped in the supplied snapshot without a causal preflight failure log; the description correction does not establish CI recovery.
d334217 to
4b6cedf
Compare
|
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: 4b6cedf4317cea5dbeaea7c097cff41f6e00ee3b
Assessment: approve
The change shares existing holder logic with the normal JSON scan while preserving filters, output and error precedence. Bounded provisional tracking and reuse of the original scan as a fallback justify the added state and prevent unbounded holder retention in reports without totals.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
Validation:
-
Reviewed both changed files, the run_ut.sh consumer, all six discussion entries and complete linked-issue context.
-
Reused 1,026 differential and four exact-boundary comparisons after verifying unchanged candidate/base optools trees, module inputs, Python build, receipts and retained logs.
-
Current-head source/patch identity, Python syntax, gofmt, diff whitespace, description and discussion-coverage audit passed; evidence retained in review-audit.json.
Limitations:
-
Go suites were not rerun: installed Go is 1.26.6 while the repository requires 1.27.1. The reported 94 owning-package tests, six normal/race tests and vet/lint results remain attributed author evidence.
-
Reported large-report timing gains were not independently reproduced and do not establish full CI wall-time savings.
-
UT, SCA, coverage and BVT checks remain pending for the rebased head; pending or skipped checks are not passes.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #27705 and #27076, earlier work to reduce CI wall time and duplicated setup/report work. Both issues are already closed; this is a follow-up.
This also continues the main CI optimization after PR #32717.
What this PR does / why we need it:
The UT setup summary previously decoded the complete JSON report twice: once for setup totals and once for admission-holder evidence. It now gathers both during the normal scan, retaining the existing independent filters, error ordering and output. Provisional holder state is bounded before the first valid setup total; if that bound is exceeded and totals are found, the existing separate holder scan is used as a fallback. Reports without totals do not retain unbounded holder state.
On one 329 MB historical local race report, three alternating warm-cache runs of the summary parser took 4.548–4.585 s before and 2.176–2.204 s after. On a 64 MB SQL integration report, the corresponding times were 0.748–0.754 s and 0.360–0.365 s. In each comparison stdout, stderr and exit status were identical. These measurements are local parser times, not an estimate of full CI job savings; this change alone does not reach the one-hour race UT target.
No test cases, test order, runner count, DWARF flags, or report contents are changed.
Validation
./optoolsnormal test run: 94 top-level tests passed, no skips.-racemodes, including malformed JSON, independent filters, bounded provisional state and error precedence.go vet, repository-configuredmake static-check-selected STATIC_CHECK_PACKAGES=./optools, gofmt andgit diff --checkpassed.On the previous head
d334217316d, CI run 43691228594 attempt 2 passed SCA, UT coverage and both BVT jobs, but race UT failed inlogservicedriver.Test_Replayer9: an injected cancellation cause was reported ascontext canceled. A separate WAL repair remains under investigation. On the rebased head4b6cedf4317cea5dbeaea7c097cff41f6e00ee3b, CI run 43703688237 passed UT race, SCA, UT coverage, both BVT jobs and CI Required. The full UT race job took 65m28s (Unit Testing 63m30s); the previous successful main-target job took 65m29s, so this does not establish a whole-job speedup.