Skip to content

fix(burndown): stage triage artifact + graceful aggregate on zero dispatch#283

Merged
jdfalk merged 1 commit into
mainfrom
fix/burndown-aggregate-graceful
May 9, 2026
Merged

fix(burndown): stage triage artifact + graceful aggregate on zero dispatch#283
jdfalk merged 1 commit into
mainfrom
fix/burndown-aggregate-graceful

Conversation

@jdfalk
Copy link
Copy Markdown
Owner

@jdfalk jdfalk commented May 9, 2026

Summary

  • Stage tasks.json/config.yaml into a flat triage-stage/ directory before the upload-artifact step, eliminating host vs container path ambiguity
  • Aggregate step now emits a graceful "no tasks dispatched" summary when tasks.json is absent (all dry-run-only) instead of crashing with exit 1

Root cause

${{ runner.temp }} (evaluated host-side as /home/runner/work/_temp) and $RUNNER_TEMP (container env var = /__w/_temp) refer to the same volume mount path, but upload-artifact v4 may store the full host-path prefix in artifact metadata. Staging to a clean directory via shell cp inside the container ensures upload uses a predictable flat structure.

Test plan

  • Trigger nightly-burndown in dry-run mode — aggregate should complete green with "no tasks dispatched" summary
  • Trigger in draft-only mode — aggregate should produce a real digest

🤖 Generated with Claude Code

…ispatch

Stage tasks.json/config.yaml into a flat triage-stage/ dir before
uploading so download-artifact receives predictable paths regardless
of host vs container path asymmetry. Add fallback in aggregate step:
emits a 'no tasks dispatched' summary when tasks.json is absent
(all dry-run-only) instead of crashing with exit 1.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@jdfalk jdfalk merged commit 42a1744 into main May 9, 2026
16 of 18 checks passed
@jdfalk jdfalk deleted the fix/burndown-aggregate-graceful branch May 9, 2026 18:33
@github-actions github-actions Bot added size/S github-actions GitHub Actions related work module:config Configuration management workflow:github-actions GitHub Actions workflows and removed size/S labels May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github-actions GitHub Actions related work module:config Configuration management workflow:github-actions GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant