Skip to content

pip-audit local verification: repair cache deserialization warnings and validate hash-mode guidance #2160

Description

@seonghobae

Observed failure and scope

During isolated local verification of PR #2123 at 7e3b1a40c7519409a6187a32332bfea210012487, pip-audit 2.10.1 under pyenv CPython 3.14.5 completed all nine executed workflow inputs with exit 0 and no reported advisories. Several inputs nevertheless emitted WARNING:cachecontrol.controller:Cache entry deserialization failed, entry ignored (246 occurrences across seven inputs). This local result does not establish hosted Ubuntu equivalence or resolve the older hosted audit failure.

Reproduction: use the existing workflow's pip-audit --strict --desc=on -r requirements-opencode-review-ci-hashes.txt; the Strix hashed input additionally uses the existing --no-deps --disable-pip flags. Full local logs are retained under /tmp/pr2123-audit-py314/results/. No credentials or payload data are included here.

Investigation and next action

Owner: contextual-orchestrator root agent, coordinating the central CI repair. Investigate the installed CacheControl serializer and cache provenance, then use a separate project-local audit cache and verify both cold and reused-cache runs. Do not delete a shared cache or suppress diagnostics. The Strix input also emits two --no-deps guidance warnings; verify whether its hash completeness permits the supported hash-validation mode without weakening dependency coverage.

Earlier uv-managed CPython executions failed during temporary ensurepip with SIGABRT; the pyenv runtime removes that local bootstrap failure. It is not evidence of a package vulnerability or the hosted failure's cause.

Completion: original commands preserve dependency coverage, deserialization warnings are repaired and do not recur when the cache is reused, and remaining intentional guidance has an explicit verified classification. Record source/runtime versions, actual exit statuses, warning counts, and CI adoption if a workflow change is needed. Issue creation alone is not resolution.

Internal investigation checkpoint and next review: 2026-09-14 UTC, chosen because this affects current PR verification. Work is underway now; this is not an upstream delivery promise. Related: #2123 and coverage recovery #2157.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions