Repository navigation
test: add race UT memory telemetry with opt-in overlap guard - #28824
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? |
db05436 to
4609c7f
Compare
|
Post-rebase status: the PR branch is now at |
XuPeng-SH
left a comment
There was a problem hiding this comment.
GPT-6 medium deep review at 4609c7f49637e2e8ec8153c7aacdaffd78488d0a — PASS; no blocking findings.
The slower light/issues treatment is disabled by default again; the PR documents that its single treatment exceeded the 60-minute and 90%-of-memory gates, while explicitly limiting the causal conclusion because the comparison was not a controlled same-head run. The final memory snapshot follows helper/report joins, and admission checks account for every visible finite cgroup boundary and OOM counters. I ran go test -run '^TestResolveCgroupMemoryBoundary$' -count=1 -v ./optools: PASS in 1.18s; each new subtest took 0.12–0.32s. Current-head CI is green. This does not promote the overlap path as a verified speedup.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #28538 (this PR is diagnostic and optimization work; it does not close the issue).
What this PR does / why we need it:
UT_OVERLAP_LIGHT=1treatment opt-in; the defaults remain0in both Makefile and optools/run_ut.sh because same-runner measurements regressed wall time and did not meet the memory-headroom gate. When explicitly enabled, HNSW runs first; light uses at most two package workers and overlaps only with the exclusive pkg/tests/issues stage. Each test/package still runs once.UT_OVERLAP_LIGHT=1, compare it to the serial baseline and prior complete runs with matching runner/configuration/test scope; do not spend CI on extra serial controls. Exclude timed-out/cancelled runs from total-duration comparisons.Validation
UT_OVERLAP_LIGHT = 0(the overlap treatment remains an explicit opt-in)This PR is a diagnostic/guardrail change. Do not change the default to overlap=1 until a same-runner result is compared with the serial baseline and the cgroup/OOM evidence is reviewed.