Skip to content

docs: do not use job duration to spot a billing-blocked Action - #90

Merged
lacymorrow merged 1 commit into
mainfrom
docs/billing-heuristic-fix
Sep 19, 2026
Merged

lacymorrow merged 1 commit into
mainfrom
docs/billing-heuristic-fix

Conversation

@lacymorrow

Copy link
Copy Markdown
Contributor

Correction to #89, which I disproved within the hour.

That note said billing-blocked jobs fail in under about ten seconds. Not dependable: a shipkit-www Lint (biome + eslint + prettier) job reported 38s and looked exactly like a real lint failure. Its annotation was the payments message and the job had never run.

Reading the check-run annotation is the only reliable test:

gh api repos/<owner>/<repo>/check-runs/<id>/annotations

So the doc now says that and drops the duration heuristic entirely. Docs only.

The note added in #89 said billing-blocked jobs fail in under about ten
seconds. That is not dependable. A shipkit-www "Lint (biome + eslint +
prettier)" job reported 38s and looked exactly like a real lint failure,
but its annotation was the payments message and the job had never run.

Reading the check-run annotation is the only reliable test, so say that
and drop the duration heuristic. [skip ci]
@vercel

vercel Bot commented Sep 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bones Ready Ready Preview Sep 19, 2026 8:29pm UTC

Request Review

@lacymorrow
lacymorrow merged commit 0d548eb into main Sep 19, 2026
3 checks passed
@lacymorrow
lacymorrow deleted the docs/billing-heuristic-fix branch September 19, 2026 20:29
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