test(topology): settle geometry requests before the telemetry-refetch check #5129
All Vouch review confidence checks passed
Residual risk 0.51 = Change Risk (0.57) × (1 − Review Confidence (0.10)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 3% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #5129"
general
weight: 0.35
copilot-pull-request-reviewer[bot]
Intent
Fix two races in //elixir/web-ng/assets:million_world_browser_test (god_view_million_browser.cjs) that intermittently fail BazelCI: (1) take the telemetry-refetch baseline only after geometry tile requests stop arriving (three quiet 250 ms windows, bounded 10 s) so in-flight tile loads are not charged to overlays.poll(); (2) optional-chain deck.props.layers[0]?.isLoaded so the settle predicate retries instead of throwing. Contract unchanged: a telemetry poll fetches no geometry. Test-only change; evidence is BazelCI failures 'telemetry must not refetch geometry 206 !== 203' (invocation fff1295b) and 'Cannot read properties of undefined (reading isLoaded)' (invocation 6c2ffbb5). Do not run Bazel or browsers locally; PR BazelCI runs this target. PR title 'test(topology): settle geometry requests before the telemetry-refetch check'; body ends with: 🤖 Generated with Claude Code
What Changed
renderer.deck.props.layers[0]?.isLoaded === trueso a missing first deck layer retries instead of throwing out of the wait.overlays.poll().🤖 Generated with Claude Code
Risk Assessment
✅ Low: Test-only change that keeps the telemetry-no-geometry contract intact while making the settle predicate retry instead of throw and baselining only after 750ms of geometry quiet bounded at 10s.
Testing
Verified the diff statically: optional-chained settle predicate and bounded three-quiet-window baseline. Did not run Bazel or browsers locally as the intent forbids it and assigns this target to PR BazelCI, so no scenario was driven live.
| Scenario | Result | Live | Evidence |
| --- | --- | --- | --- |
| Telemetry poll fetches no geometry after settled baseline | ⏸️ untested | no | Live drive requires //elixir/web-ng/assets:million_world_browser_test via Bazel + Playwright Chromium. User intent explicitly forbids running Bazel or browsers locally and assigns this target to PR Ba… |
| Settle wait retries instead of throwing when deck layer is absent | ⏸️ untested | no | Live drive needs the real god-view page with deck.gl in a browser (invocation 6c2ffbb5 context). Intent forbids local browser runs; only a stub simulation of
layers[0]?.isLoaded === truewas execute… |<details>
<summary>Evidence: static syntax and logic simulation</summary>
</details>
Pipeline
Updates from git push no-mistakes
<!-- no-mistakes-pipeline-attestation:v1 {"head_sha":"7790ed673b39761c83ede044482cff4a5ab1d76f","steps":[{"step":"intent","status":"completed"},{"step":"rebase","status":"completed"},{"step":"review","status":"completed"},{"step":"test","status":"completed"},{"step":"document","status":"completed"},{"step":"lint","status":"completed"},{"step":"gate.lint.test-registration","status":"completed"},{"step":"gate.lint.elixir-quality","status":"completed"},{"step":"push","status":"completed"},{"step":"pr","status":"running"},{"step":"ci","status":"pending"}],"live_validation":{"verdict":"inconclusive","live":0,"total":2}} -->
<details>
<summary>✅ intent - passed</summary>
✅ No issues found.
</details>
<details>
<summary>✅ Rebase - passed</summary>
✅ No issues found.
</details>
<details>
<summary>✅ Review - passed</summary>
✅ No issues found.
</details>
<details>
<summary>⚠️ Test - 1 warning</summary>
| Scenario | Result | Live | Evidence |
| --- | --- | --- | --- |
| Telemetry poll fetches no geometry after settled baseline | ⏸️ untested | no | Live drive requires //elixir/web-ng/assets:million_world_browser_test via Bazel + Playwright Chromium. User intent explicitly forbids running Bazel or browsers locally and assigns this target to PR Ba… |
| Settle wait retries instead of throwing when deck layer is absent | ⏸️ untested | no | Live drive needs the real god-view page with deck.gl in a browser (invocation 6c2ffbb5 context). Intent forbids local browser runs; only a stub simulation of
layers[0]?.isLoaded === truewas execute… |test -f .bazelrc.remotetest -f .bazelrc.remote(baseline, present)</code>node --check elixir/web-ng/assets/god_view_million_browser.cjs(syntax OK)</code>node -epredicate/quiet-loop simulation (optional-chain no longer throws; quiet loop terminates in 3 windows when settled and is bounded at 40x250ms when never settling)</code></details>
<details>
<summary>✅ Document - passed</summary>
✅ No issues found.
</details>
<details>
<summary>✅ Lint - passed</summary>
✅ No issues found.
</details>
<details>
<summary>✅ gate.lint.test-registration - passed</summary>
✅ No issues found.
</details>
<details>
<summary>✅ gate.lint.elixir-quality - passed</summary>
✅ No issues found.
</details>
<details>
<summary>✅ Push - passed</summary>
✅ No issues found.
</details>