Repository navigation
fix: replace broken INVOCATION_ID with artifact_suffix input - #34
Closed
tend-agent wants to merge 1 commit into
Closed
tend-agent wants to merge 1 commit into
tend-agent wants to merge 1 commit into
Conversation
INVOCATION_ID is not a GitHub Actions environment variable, so the suffix added in #13 was always empty. Matrix jobs still collide on every review-reviewers run (5+ consecutive failures today). Add an explicit `artifact_suffix` action input. When provided, the artifact name becomes `claude-session-logs-<suffix>`. The old Compute artifact name step and INVOCATION_ID logic are removed. The review-reviewers workflow also needs updating to pass the suffix (see PR description for the required change) — that change requires a token with `workflow` scope. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This was referenced Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
INVOCATION_IDis not a GitHub Actions environment variable — it's a systemdconcept. The suffix added in #13 was always empty, so both matrix jobs in
review-reviewersstill upload artifacts namedclaude-session-logs, causing a409 Conflict on the second job. Every hourly run has failed since #13 merged (5+
consecutive failures on 2026-03-24 alone).
This PR:
Compute artifact namestep andINVOCATION_IDlogicartifact_suffixinput toaction.yaml(defaults to empty fornon-matrix workflows)
claude-session-logs-<suffix>Remaining workflow change (needs
workflowscope)The
review-reviewers.yamlworkflow also needs updating to pass the suffix.This change couldn't be pushed because the bot token lacks the
workflowscope.Apply manually:
This produces artifact names like
claude-session-logs-max-sixty-worktrunkandclaude-session-logs-max-sixty-tend, avoiding the collision.Evidence
All failures show the same
upload-artifact409 error on themax-sixty/worktrunkmatrix job.
Gate assessment
🤖 Generated with Claude Code