Skip to content

ENH: Add no-artifact-state to avoid a red status when none is wanted - #134

Merged
larsoner merged 1 commit into
scientific-python:masterfrom
larsoner:no-artifact-state
Aug 5, 2026
Merged

ENH: Add no-artifact-state to avoid a red status when none is wanted#134
larsoner merged 1 commit into
scientific-python:masterfrom
larsoner:no-artifact-state

Conversation

@larsoner

@larsoner larsoner commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

@lucascolley this should allow SciPy to use no-artifact-state: skip to just not put anything in when the named artifact is missing (or : success to put a link to the job even though the file is missing). Sound good?

A job that uploads no artifacts goes red, which is right when the artifacts
were expected and noise when they were not -- a "[skip circle]" commit in
scipy/scipy#25771, where the CircleCI job halts by design.

no-artifact-state (failure, the default, / success / skip) picks what that
case posts, for both front ends. There is deliberately no grey: a commit
status has no neutral state, and pending would be a yellow one that never
resolves; real grey would mean posting check runs instead, which costs every
action user a checks: write permission and every App installation a
re-approval.

An unknown value throws rather than being guessed at, which the action
reports via setFailed and the App as a failed delivery.

Also document, in CLAUDE.md, that the two front ends do not behave the same
-- the App never posts a pending status, so post-pending caveats are
action-only -- and refresh the roster of which repo is on which.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@lucascolley

Copy link
Copy Markdown

sounds good!

@larsoner
larsoner merged commit 7aae37f into scientific-python:master Aug 5, 2026
9 checks passed
@larsoner
larsoner deleted the no-artifact-state branch August 5, 2026 14:48
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.

2 participants