ci: add pkg.pr.new preview publishing#390
Conversation
PR BenchmarkBase:
Raw run timesCompile SFC
Lint
Type check
|
Detailed Test ReportCommit: Area Summary
Test InventoryTotal tracked cases: 4401 across 573 files.
Files
Full per-test names are written to the workflow summary and uploaded as an artifact. Job Overview
Step DetailsJS / TS / check-js: failure, 37s
Rust / fmt-rust: success, 19s
Rust / coverage: success, 38s
Rust / clippy-and-test: success, 3m 29s
E2E / VRT / playground-test: success, 3m 8s
Infra / nix-flake: success, 7m 47s
Other / editor-extensions: success, 1m 23s
Other / check-vize-apps: success, 2m 13s
Other / build-js-packages: success, 2m 34s
Other / test-scripts: success, 3m 48s
Other / test-report-comment: in_progress, -
|
9cf5a10 to
cbc3ce9
Compare
PR BenchmarkBase:
Raw run timesCompile SFC
Lint
Type check
|
Detailed Test ReportCommit: Area Summary
Test InventoryTotal tracked cases: 4407 across 574 files.
Files
Full per-test names are written to the workflow summary and uploaded as an artifact. Job Overview
Step DetailsJS / TS / check-js: success, 54s
Rust / fmt-rust: success, 18s
Rust / coverage: success, 38s
Rust / clippy-and-test: success, 3m 20s
E2E / VRT / playground-test: success, 3m 32s
Infra / nix-flake: success, 7m 37s
Other / build-js-packages: success, 2m 21s
Other / test-scripts: success, 3m 21s
Other / check-vize-apps: success, 2m 1s
Other / editor-extensions: success, 1m 9s
Other / test-report-comment: in_progress, -
|
|
CI triage: the only failing check is external setup, not this workflow code. |
cbc3ce9 to
b3ace01
Compare
PR BenchmarkBase:
Raw run timesCompile SFC
Lint
Type check
|
Detailed Test ReportCommit: Area Summary
Test InventoryTotal tracked cases: 4478 across 606 files.
Files
Full per-test names are written to the workflow summary and uploaded as an artifact. Job Overview
Step DetailsJS / TS / check-js: success, 53s
Rust / coverage: success, 34s
Rust / clippy-and-test: success, 3m 21s
Rust / fmt-rust: success, 19s
E2E / VRT / playground-test: success, 3m 22s
Infra / nix-flake: success, 7m 53s
Other / test-scripts: success, 3m 55s
Other / node-engine-compat (22): success, 46s
Other / security-audit: success, 59s
Other / test-js-packages: success, 6m 6s
Other / build-js-packages: success, 2m 34s
Other / node-engine-compat (24): success, 45s
Other / check-vize-apps: success, 2m 19s
Comment truncated at 64000 characters. Open the workflow run for the full job log. |
The pkg.pr.new publish step fails the job with HTTP 404 'The app https://github.com/apps/pkg-pr-new is not installed on ubugeeei/vize' until a maintainer installs the GitHub App on this repository. Until that one-time external action happens, every PR that triggers this workflow is red. Wrap the publish call so the 'app not installed' response surfaces as an actionable `::warning::` annotation and exits zero. Any other failure (auth error, network blip, malformed publish) still fails the job as before.
PR BenchmarkBase:
Raw run timesCompile SFC
Lint
Type check
|
Detailed Test ReportCommit: Area Summary
Test InventoryTotal tracked cases: 4486 across 607 files.
Files
Full per-test names are written to the workflow summary and uploaded as an artifact. Job Overview
Step DetailsJS / TS / check-js: success, 55s
Rust / clippy-and-test: success, 3m 25s
Rust / fmt-rust: success, 20s
Rust / coverage: success, 38s
E2E / VRT / playground-test: success, 6m 3s
Infra / nix-flake: success, 7m 43s
Other / check-vize-apps: success, 2m 12s
Other / test-scripts: success, 3m 34s
Other / editor-extensions: success, 1m 14s
Other / build-js-packages: success, 2m 30s
Other / node-engine-compat (24): success, 37s
Other / branch-coverage: success, 1m 14s
Other / test-js-packages: success, 5m 16s| # | Step | Result | Dura Comment truncated at 64000 characters. Open the workflow run for the full job log. |
What changed
pkg.pr.newGitHub Actions workflow for PR,main, and manual preview package publishing.pkg-pr-newthrough the repo tooling catalog and lockfile.vp execpath and ensure the publish command runs once for all selected packages.Why
This gives contributors installable preview package URLs from PR builds without publishing temporary versions to npm.
Notes
The pkg.pr.new GitHub App must be installed on this repository for the workflow to publish previews and comment on PRs.
Validation
node --test --test-concurrency=1 tests/tooling/github-workflows.test.tspnpm install --frozen-lockfile --lockfile-onlygit diff --check