fix: window orchestration logs and verify union coverage #7572
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.50) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 588 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · 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.382
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7572"
general
weight: 0.35
stevekuznetsov
Why
The orchestration query in must-gather can exceed Kusto's 64 MB result limit even when it correctly selects a single newly created cluster. Repeating the entire collection does not reduce that response, and the E2E verifier previously allowed all three orchestration union arms to return no data as long as other queries supplied its expected containers.
No separate tracking ticket exists; this focused regression fix is motivated by the failing E2E run for #7557.
What
cidvalues rather than one arbitrary scalar, scope discovery to the subscription/resource-group path when available, and retain resource-group-only discovery for generated Kusto links.Five-minute windows mitigate result-size failures; an unusually large individual window still returns an error. This does not silently truncate results, raise Kusto limits, add adaptive retries, or introduce a summary CLI flag.
Testing
Read-only validation against the development E2E Kusto environment using the requested Azure CLI profile and proxy bypass replayed the exact failed interval,
2026-10-14T14:26:17.9586902Zthrough2026-10-15T14:26:17.9586903Z.| Union arm | Original selection summary | Updated selection summary | Full windowed collection |
|---|---:|---:|---:|
| Maestro | 1,599 | 1,599 | 1,599 |
| Hypershift | 24,386 | 24,386 | 24,386 |
| ACM agent | 274 | 274 | 274 |
The summary estimated approximately 84.6 MB across these rows. Every full-data window completed without a result-limit error; all 26,259 rows were read through the Go Kusto client, with matching per-arm totals. A nonexistent resource group returned no summary rows. The valid cluster ID was present in the original lookup, so this incident was genuine result volume, not empty-ID broadening.
The E2E summary selection was also replayed through the Go Kusto client: it returned exactly three rows in one request, with the counts above, rather than downloading 26,259 orchestration payloads.
tooling/hcpctl/pkg/kusto,tooling/hcpctl/pkg/mustgather, andtest/util/verifiers;go vetpassed for the same packages.test/cmd/...packages pass with fixture updates disabled, including both generated-HTML regression tests.QF1012findings in untouchedtest/util/verifiers/fips.goat lines 160, 163, and 170.PR Checklist
Suggested reviewer: @janboll (hcpctl owner).