Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@ jobs:
- name: Sync KsADK Web static assets
run: make sync-ksadk-web-static

- name: Install Chromium for Phase 2 browser gates
run: |
uv sync --extra all
uv run playwright install --with-deps chromium

- name: Run public release preflight
if: env.PUBLISH_TARGET == 'full'
run: make public-preflight
# Mirror the 0.8.2 publish preflight shape: version + audit + ksadk-web
# sync + test + build/twine check. docs-site-build runs in the
# deploy-pages job; the heavy Phase 2 native/browser E2E gates are
# already enforced by the pull-request release-check workflow, so
# re-running them here only doubles work and stalls on the shared CI
# runner.
run: make public-preflight-publish

- name: Run alias-only release checks
if: env.PUBLISH_TARGET == 'alias-only'
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,16 @@ phase2-release-candidate-gate:
public-preflight: public-version-gate public-audit sync-ksadk-web-static public-test docs-site-build phase2-release-preflight
@echo "✅ public preflight passed"

# Lightweight preflight for the PyPI publish workflow. The publish job runs
# alongside the deploy-pages job (which already builds/deploys the docs site),
# and the heavy Phase 2 native/browser E2E gates are already enforced by the
# pull-request release-check workflow before merge. Re-running phase2 here
# doubles the work and stalls on the shared CI runner. So the publish
# preflight mirrors the 0.8.2 shape: version + audit + ksadk-web sync + test
# + build/twine check, without docs-site-build or phase2-release-preflight.
public-preflight-publish: public-version-gate public-audit sync-ksadk-web-static public-test public-build-check
@echo "✅ public publish preflight passed"

public-publish-check:
@echo "==> publication state check"
@if [ -f "scripts/check_publication_state.py" ]; then \
Expand Down
Loading