Repository navigation
ci: audit locked Composer dependencies - #26
Conversation
gachakra
left a comment
There was a problem hiding this comment.
Independent review
No actionable findings. I reviewed 55687d4527cbe7aa84d21a12914a7e9af5c8ac0f. The only changed file is .github/workflows/ci.yml. Check names, the contents: read permission, checkout credential handling, and Action SHA pins are unchanged. The manifest, lockfile, dependency versions, library code, and Docker configuration are unchanged.
Independent audit. Composer 2.11.3 passed strict validation and ran composer --no-plugins --no-scripts audit --locked before any dependency installation. It returned exit code 0. The lock contains 26 development packages, one direct and 25 transitive, and zero production Composer packages. JSON output reported zero security advisories and zero abandoned packages. PHP itself is a platform requirement outside this package audit.
Failure behavior. The Audit step is a single command with no exit-code suppression. Separate lockfile fixtures exercised Composer's nonzero exit for a reported transitive advisory and for a transitive package marked abandoned in the lock. Both returned 1 with the default policy. A fresh-cache network-disabled run returned 100 and stopped the CI-style shell before its next command. Abandonment in a locked audit follows the package metadata recorded in the lockfile. Composer audit options · Composer policy settings
CI on the reviewed head. PHP 8.4 ran Validate → Audit → Install successfully. PHP 8.5 passed validation and installation and skipped the Audit step as intended. The PHP 8.4 log shows Composer 2.11.3 running the exact command. Both PHP checks and Docker development environment passed. Workflow run
Summary
composer --no-plugins --no-scripts audit --lockedonly in the PHP 8.4 matrix job, avoiding a duplicate audit of the same lockfile.Validation
Scope
No changes to package distribution, library APIs, dependency versions, scheduled workflows, or releases.