Skip to content

ci: run the packaged macOS desktop smoke on pull requests - #252

Merged
johnny4young merged 1 commit into
mainfrom
ci/packaged-mac-smoke-on-prs
Oct 15, 2026
Merged

johnny4young merged 1 commit into
mainfrom
ci/packaged-mac-smoke-on-prs

Conversation

@johnny4young

Copy link
Copy Markdown
Owner

Summary

The packaged-app smoke only ran inside the Release workflow, after signing and notarization. The October 1 renderer-gate regression (fixed in #249) therefore stayed invisible until the v1.6.0 release job hung for six minutes.

The macOS leg of desktop-bundles already builds the desktop bundles on every PR. It now also:

  1. packages an ad-hoc signed --dir app (electron-builder --mac --dir -c.mac.identity=-, no secrets, no notarization);
  2. runs pnpm run smoke:desktop:packaged against it (LINGUA_SMOKE_TIMEOUT_MS=240000; it normally finishes in ~15 s);
  3. uploads output/playwright/desktop-smoke as macos-packaged-smoke-pr.

The job timeout goes from 15 to 25 minutes. docs/ARCHITECTURE.md documents the gate. Signing, notarization and updater manifests stay release-only.

Validation

  • actionlint .github/workflows/ci.yml clean; tests/docs + website smoke workflow tests: 198 passed.
  • The same commands ran locally on macOS arm64 during the fix(main): forward desktop smoke mode to the sandboxed renderer #249 investigation (unsigned --dir build, then smoke:desktop:packaged → Cases: 3, failures: 0).
  • This PR changes ci.yml, so the new steps run on this PR itself; their result is the end-to-end proof.

- The release job was the only place the packaged app smoke ran, so a renderer-gate regression from October 1 surfaced only after signing and notarization.
- The macOS desktop-bundles PR job now packages an ad-hoc signed --dir app from the bundles it already built and runs smoke:desktop:packaged against it, uploading the smoke artifacts.
- Raise the job timeout to 25 minutes for the extra packaging step and document the new gate in ARCHITECTURE.md.
@johnny4young
johnny4young merged commit 1bb1a58 into main Oct 15, 2026
13 checks passed
@johnny4young
johnny4young deleted the ci/packaged-mac-smoke-on-prs branch October 15, 2026 04:08
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