mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-03 10:37:21 +09:00
Both Chainsaw phases take their report name from .chainsaw.yaml, so both wrote chainsaw-report.xml into the same directory and the workflow always uploaded it as `upgrade-chainsaw-report`. On the passing path that is the verify report, which is what the step comment assumed. On the failing path it is whatever ran last — a lane that dies during seed publishes the SEED report under the verify name, and the case where someone is actually reading the file is exactly the failing one. Rename per phase in the make targets, on the way out, and collect both names. A phase that never ran leaves no file, which is the answer the artifact should give. `rm -f` before each run so a report left by an earlier phase cannot be renamed as this one's. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>