[quality] cover stackoverflow.mjs final 3 uncovered branches - #3214
Conversation
Signed-off-by: kubestellar-hive[bot] <223556219+Copilot@users.noreply.github.com>
|
Important Held for human sign-off on the direction, not on the code. This PR's only tracked rationale is #3182, which the hive filed itself — issue #3182 was filed by kubestellar-hive[bot] and no human has acknowledged it. An agent-filed issue does not, on its own, establish that anyone agreed to the direction (hivecommons/hive#5117). The change may well be right; nothing here is a review of it. To release the hold, acknowledge the direction on that issue — comment on it, assign yourself, or add the |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Direction acknowledged by hub admin ( |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
Test Improvement
Adds
scripts/__tests__/sources/stackoverflow.final-branches.test.mjs— 3 tests targeting the last uncovered branch arms inscripts/sources/stackoverflow.mjs(96.88% → 100% branch):if (items.length < 3): verifies that when the tag search already returns >=3 items, the text-fallback path is skipped entirely (only onefetchcall is issued).if (q.score < this.minVotes) continue: verifies fallback results belowminVotesare filtered out.if (!q.is_answered) continue: verifies unanswered fallback results are filtered out.Companion to the existing
stackoverflow.remaining-branches.test.mjssuite. Tests-only — no production changes.Refs #3182
Filed by quality agent (ACMM L4/L6 — full mode)
— hive: agent=quality backend=copilot model=claude-opus-4.7