Skip to content

Commit 64f3607

Browse files
AgentArcLabclaude
andauthored
ci(publish): use lightweight 0.8.2-shape publish preflight (no phase2) (#60)
0.8.2 published in ~3 minutes with a lightweight preflight. 0.8.3 swapped public-build-check for phase2-release-preflight, re-running heavy Phase 2 E2E already enforced by PR release-check, stalling the shared publish runner for 30+ min. Restore the lightweight shape for publish (public-preflight-publish = version + audit + sync + test + build/twine check). docs-site stays deploy-pages; Phase 2 stays PR release-check. Drop the now-unneeded chromium step. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 291703e commit 64f3607

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,15 @@ jobs:
6666
- name: Sync KsADK Web static assets
6767
run: make sync-ksadk-web-static
6868

69-
- name: Install Chromium for Phase 2 browser gates
70-
run: |
71-
uv sync --extra all
72-
uv run playwright install --with-deps chromium
73-
7469
- name: Run public release preflight
7570
if: env.PUBLISH_TARGET == 'full'
76-
run: make public-preflight
71+
# Mirror the 0.8.2 publish preflight shape: version + audit + ksadk-web
72+
# sync + test + build/twine check. docs-site-build runs in the
73+
# deploy-pages job; the heavy Phase 2 native/browser E2E gates are
74+
# already enforced by the pull-request release-check workflow, so
75+
# re-running them here only doubles work and stalls on the shared CI
76+
# runner.
77+
run: make public-preflight-publish
7778

7879
- name: Run alias-only release checks
7980
if: env.PUBLISH_TARGET == 'alias-only'

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,16 @@ phase2-release-candidate-gate:
552552
public-preflight: public-version-gate public-audit sync-ksadk-web-static public-test docs-site-build phase2-release-preflight
553553
@echo "✅ public preflight passed"
554554

555+
# Lightweight preflight for the PyPI publish workflow. The publish job runs
556+
# alongside the deploy-pages job (which already builds/deploys the docs site),
557+
# and the heavy Phase 2 native/browser E2E gates are already enforced by the
558+
# pull-request release-check workflow before merge. Re-running phase2 here
559+
# doubles the work and stalls on the shared CI runner. So the publish
560+
# preflight mirrors the 0.8.2 shape: version + audit + ksadk-web sync + test
561+
# + build/twine check, without docs-site-build or phase2-release-preflight.
562+
public-preflight-publish: public-version-gate public-audit sync-ksadk-web-static public-test public-build-check
563+
@echo "✅ public publish preflight passed"
564+
555565
public-publish-check:
556566
@echo "==> publication state check"
557567
@if [ -f "scripts/check_publication_state.py" ]; then \

0 commit comments

Comments
 (0)