fix(abi): do not error on the nothing-to-repair path #208
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/nothing-to-repair-must-not-error"
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?
Why
Pipeline 12480 shows this for slots with nothing to do:
RPostgresreturnscount(*)asinteger64, and%drejects it. So a slot in the best possible state — verdicts recorded, nothing unsafe — failed its pipeline step, while slots with real work to do succeeded. Exactly the wrong signal.What changed
Formats the count as a string. One line, plus a comment recording why
%dis wrong here.A slot with verdicts recorded but nothing unsafe died on its own success message: Error in sprintf("%s/%s: %d objects recorded, none unsafe. Nothing to repair.", ...) RPostgres returns count(*) as integer64, which %d rejects. The pipeline step then failed for a slot that was in the best possible state, which is the wrong signal entirely.