Skip to content

ci: add pull-request workflow with release test gates (#182) - #303

Open
clanzhang wants to merge 1 commit into
pocket-stack:mainfrom
clanzhang:ci/pr-validation-gates
Open

ci: add pull-request workflow with release test gates (#182)#303
clanzhang wants to merge 1 commit into
pocket-stack:mainfrom
clanzhang:ci/pr-validation-gates

Conversation

@clanzhang

Copy link
Copy Markdown

Summary

  • Add .github/workflows/ci.yml that runs on every PR targeting main
  • Mirror all hermetic test gates from release.yml:
    • bun run test (JavaScript & package contracts)
    • bunx tsc --noEmit (TypeScript typecheck)
    • cargo test for core, workspace, and Symbian bridge
    • bun tests/golden.ts (renderer golden comparison)
    • bun run tape:check (deterministic tape replay)
    • bun run site:build + schema parity check
  • Cache Bun and Cargo inputs with lockfile-based keys; enforce --frozen-lockfile and --locked
  • Use concurrency to cancel superseded runs on the same PR

Not included (by design)

  • PSP EBOOT / Vita VPK / Symbian E7 builds — require proprietary toolchains and physical devices
  • These remain validated only through the release workflow and manual evidence

Next step

  • Once stable, mark the CI checks as required branch protection rules

Closes #182.

Mirror the hermetic test steps from release.yml into a PR-triggered
workflow so that JavaScript tests, TypeScript typecheck, Rust core /
workspace / Symbian tests, renderer goldens, and deterministic tape
replay all run before merge. Real-device E7 and proprietary toolchain
validation remain manual as they require physical hardware.

Closes pocket-stack#182.
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.

ci: validate pull requests with the release test gates

1 participant