[tech-debt] sigv4/S3 client duplicated across artifact+cache actions and has drifted #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Autonomous audit finding (MED).
backend.js/sigv4.js/core.jsare byte-identical across upload/download/cache actions, butbackends/s3.jshas drifted into 3 different versions (differentremove()/listTree()), andglob.js/artifact-tar.jshave drifted too. The signed-HTTP S3 client is maintained by copy-paste. Extract a shared package, or add a vendored known-answer sigv4 test in each repo to catch drift. (sigv4/s3 are only tested in cache-action today.)