ci: add report-only pip-audit job - #7
Merged
Merged
Conversation
I1: The pipeline had no dependency vulnerability scan. Add an "audit" job that installs the package with its [dev,postgres] extras (coddpiece declares no unconditional runtime deps, so the extras are the real audit surface) and runs pip-audit. The pip-audit step is continue-on-error so a freshly-published advisory can never turn the pipeline red on byte-identical code -- only correctness jobs (test, lint, type-check) gate a merge. Closes I1.
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.
P6 CI (closes I1)
The pipeline had no dependency vulnerability scan. Adds a third job,
audit,that runs
pip-audit.Report-only by design: the
pip-auditstep iscontinue-on-error: true,so a freshly-published advisory can never turn the pipeline red on
byte-identical code. Only the correctness jobs (
test,ruff,mypy) gate amerge — advisories are surfaced in the job log/summary for triage, not treated
as build failures.
The job installs the package with its
[dev,postgres]extras: coddpiecedeclares no unconditional runtime dependencies, so without the extras the audit
surface (pytest, ruff, mypy, psycopg, and their transitive deps) would be
effectively empty.
No source/test change. The added YAML was validated locally (three sibling
jobs
test/test-postgres/audit; thepip-auditstep is non-blocking).