fix(ci): give the index writers the metadata database password #201
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/pgpass-for-index-writers"
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 12207 logs one of these per slot:
bincraft's index build calls
abi_cache_risky_packages()to decide which packages may be carried from the flat slot into a per-minor index.reindex.yamlandweekly-rebuild-reindex.yamlnever passedPGPASS, so the query cannot connect.It fails soft by design, which is what makes this worth fixing rather than tolerating: the run still reports success while using an empty cache-derived risky set. The index is then written as though no package were known risky from the classifier, which is the exact state the cache was added to fix.
build-all-versions.yamlalready passesPGPASS, which is why classification behaved correctly there and silently degraded here.What changed
Adds the
PGPASSsecret to both index-writing workflows, with a comment explaining why its absence is invisible rather than loud.crow lintpasses on both files.Note
The tarball-derived half of the risky set still worked, so indexes written without this are not wrong so much as incomplete: they miss packages that are known risky from classification but have no per-minor tarball yet. A re-index after this merges applies the full set.