fix(local): route multi-signature packages to human triage in the proposer #119
Loading…
Reference in a new issue
No description provided.
Delete branch "t3code/fix-ambiguous-proposals"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A live
propose-patches.R --open-issuerun aborted with:Root cause: a package whose failing builds match more than one auto-proposable signature (e.g. some logs hit
tbb-stddef-removed, othersrcppparallel-bundled-tbb) landed in two separate signature groups, so the proposer emitted two candidate entries with the samepackage|platforms|versionskey. The validator's ambiguous-duplicate check then failed the whole candidate set, aborting the run — so even the unambiguous candidates (e.g.vacalibration) never got proposed.Fix
Add a pure, tested
dedupe_candidates()that:The proposer prints the skipped ambiguous packages and proceeds with the clean candidates, so one ambiguous package no longer blocks the rest. This matches the issue #115 guardrail: don't auto-pick when the fix is ambiguous.
Verification
test-proposal-tracking-lib.Rcover the single-signature, multi-signature (conflict), duplicate-under-one-signature, and empty cases.hmmTMBambiguous +vacalibrationclean):hmmTMBis now listed under "Ambiguous -> human triage",vacalibrationis proposed, and the candidate registry validates (Patch registry OK).