Repository navigation
fix(#1179): upstream pre-flight labels, dedupe, baseline window, fix-note categorization - #1180
Merged
admarble merged 2 commits intoSep 26, 2026
Conversation
…indow error, fix-note categorization Entire-Checkpoint: 3cf0ec484fa6
…cket-prefixed fix notes; listLabelsSync tests
admarble
deleted the
feature/1179-fix-upstream-pre-flight-labels-dedupe-assessment-i
branch
September 26, 2026 03:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
createAssessmentIssuechecks all six labels exist before filing and throws naming the missing ones (AC-1)getReleasesSincethrows when the baseline tag is not among the fetched releases (AC-3)Fixed(after an optionalPlatform:prefix) are no longer categorizeddeprecation(AC-4)Test plan
npx vitest run src/lib/upstream(152 pass); build, lint, fullnpm testgreenMutation-verified: AC-1 — removed the assertLabelsExist call; issues.test.ts labels cases failed; restored.
Mutation-verified: AC-2 — bypassed the title lookup; existing assessment case failed; restored.
Mutation-verified: AC-3 — restored the silent fall-through; baseline not found case failed; restored.
Mutation-verified: AC-4 — restored bare remov alternative; 1179 cases failed; restored.
Closes #1179
🤖 Generated with Claude Code
Runner fixes after QA (AC_MET_BUT_NOT_A_PLUS),
d894b436searchIssuesSyncreturned[]both for "no match" and for a failed or rate-limitedgh, so the AC-2 check turned into filing a duplicate, the exact bug it was meant to fix. There is now a newsearchIssuesOrNullSync, andsearchIssuesSyncwraps it with?? [], so other callers are unchanged.createAssessmentIssuethrows onnullinstead of filing. This follows thenullconventionlistLabelsSyncalready uses.listLabelsSyncnow has tests for its success path (checking the exactgh label list … --limit 200arguments) and its failure path (returnsnull).searchIssuesOrNullSynchas a test for its failure path.[Product] Fixed …. QA's two corpus examples (from v2.1.282 and v2.1.273) are added to the fix(upstream): pre-flight labels, dedupe assessment issues, fail loudly past the 50-release window, stop filing fixes as deprecations #1179 cases.Mutation-verified: AC-2 (lookup failure) — replaced the null check with
searchIssuesOrNullSync(…) ?? []; src/lib/upstream/tests/issues.test.ts "throws instead of filing when the lookup fails" failed (1 failed | 53 passed); restored.Mutation-verified: AC-4 (bracket prefix) — dropped the
\[[^\]]*\]alternative; the two bracket cases in src/lib/upstream/tests/relevance.test.ts failed (2 failed | 52 passed); restored.