Skip to content

ci(nightly): a missing tag is read as missing - #248

Merged
rileyr merged 1 commit into
mainfrom
ci/nightly-tag-check
Nov 21, 2026
Merged

rileyr merged 1 commit into
mainfrom
ci/nightly-tag-check

Conversation

@rileyr

@rileyr rileyr commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

The first dispatched run of nightly.yml (after #247) skipped instead of publishing. When a tag is missing, gh api prints the 404 body on stdout, and || true then kept that body as the commit of today's nightly-* tag. The check now takes the output only from a successful call.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Siy299kiTLRCUx8mGmhC7L

The first dispatched run skipped: gh prints an error's body on stdout, so
'|| true' kept it as today's tag's commit. Only a successful call's output
is taken now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Siy299kiTLRCUx8mGmhC7L

@rileyr rileyr left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of hale-lang/voice #248 at 766ff47431c130c0fe9f257726c29a8731de56c0

I reviewed the missing-tag branch in the nightly publish plan. The assignment now records gh api output only when the request succeeds, so the 404 response cannot be mistaken for an existing tag's commit. I found no blocker in this revision.

@rileyr
rileyr merged commit ad3406c into main Nov 21, 2026
23 of 24 checks passed
@rileyr
rileyr deleted the ci/nightly-tag-check branch November 21, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant