Skip to content

ci(publish): unit-only publish gate (unblock hung publish) - #12

Merged
hamr0 merged 1 commit into
mainfrom
ci/publish-gate-unit-tests
Aug 30, 2026
Merged

hamr0 merged 1 commit into
mainfrom
ci/publish-gate-unit-tests

Conversation

@hamr0

@hamr0 hamr0 commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Problem

The v0.20.0 publish (run 33329521340) hung ~15 min on the Test step and never published — vs a ~40s baseline on every prior publish.

Cause

publish.yml's Test step ran full npm test, which includes the integration suite — real Chromium + Firefox against live sites. Those are local-only (CI has no browser/network guarantee) and hang indefinitely on the runner.

Fix

Test step → npm run test:unit (fast, deterministic), matching ci.yml (which already runs unit-only). Browser integration coverage stays local + pre-merge; the adopter-usable-types gate still runs on every publish.

🤖 Generated with Claude Code

The publish workflow's Test step ran full `npm test`, which includes the
integration suite (real Chromium + Firefox against live sites). Those tests are
local-only — CI has no browser/network guarantee — and hung the publish job
indefinitely (~15min on Test vs a ~40s baseline), never reaching the Publish
step. ci.yml already runs test:unit only; this aligns publish with it. Browser
integration coverage remains local and pre-merge; the adopter-usable-types gate
still runs on every publish.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rp7uDDFyQ5qsWHHqDXFjHA
@hamr0
hamr0 merged commit fe5184b into main Aug 30, 2026
1 check passed
@hamr0
hamr0 deleted the ci/publish-gate-unit-tests branch August 30, 2026 19:16
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