Skip to content

ci(release): start desktop packaging per target - #1300

Merged
nixuuu merged 1 commit into
devfrom
perf/speed-up-release-build
Nov 26, 2026
Merged

nixuuu merged 1 commit into
devfrom
perf/speed-up-release-build

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 26, 2026

Copy link
Copy Markdown
Member

Summary

  • Start packaging and signing each desktop target as soon as its own runtime artifact is available. Each target still clears Verified CI first, and the public release waits for the full set of required artifacts.
  • Install only the Desktop workspace during macOS packaging and give it a separate Bun cache.
  • Keep experimental Linux ARM64 build and package failures visible as optional in promotion reports.

In three recent nightly runs, removing the shared build barrier would have saved about 2.5–4 minutes with the recorded packaging times. In the 39-minute run, Intel signing through notarization took 17m 51s. The change to the cache needs a hosted release to measure.

Verification

  • 43 tests passed via bun run check:tmp ./scripts/promote.test.ts ./scripts/release-upload.test.ts.
  • Validated the workflow call and all eight desktop matrix cases, including historical recovery without Intel support. actionlint passed with its existing false positives for GitHub's concurrency.queue excluded.
  • A fresh filtered install on Linux resolved the Electron builder and macOS verification script dependencies. Native signing, notarization, and end-to-end Release timing will be verified by the next release on GitHub.

@nixuuu
nixuuu enabled auto-merge (squash) November 26, 2026 10:16
@nixuuu
nixuuu merged commit 9f632cf into dev Nov 26, 2026
20 checks passed
@nixuuu
nixuuu deleted the perf/speed-up-release-build branch November 26, 2026 10:23
nixuuu added a commit that referenced this pull request Nov 26, 2026
## Change

- Load jobs and logs when GitHub returns an empty list of associated
pull requests and a check on the current PR head identifies the workflow
run. Verify the repository and commit before serving the data.
- Refresh the job status when someone retries a log after the job
finishes.
- Indent jobs under the expanded check and logs under their job. On
narrow screens, the check list scrolls with the PR summary so the next
workflow is easier to find.

Refs: 111a165

Related: #1300

## Verification

- 20 integration tests passed across `github-read-security.test.ts` and
`github-ci.test.ts`, including the missing PR list, the rejection of an
unrelated run on the same commit, and a log retry after job completion.
- Web and gateway type checks and lint on the edited files passed.
- Checked expansion, keyboard interaction, error recovery and long
labels in Chromium at 1064 × 1246 and 390 × 844 with fixture responses.
The desktop-width layout was checked in both themes. GitHub Actions runs
the full verification gate.

## Copy audit

- “Could not load this page. Retry.” → “Could not load this workflow’s
jobs.” or “Could not load this job’s log.” Each message names the failed
request and sits beside its specific retry action.
- “No jobs to show.” and “This job produced no log output.” distinguish
an empty result from loading and failure. Checked the labels and their
wrapping at both viewport sizes.
nixuuu added a commit that referenced this pull request Nov 26, 2026
Fixes: #1300

The per-target desktop workflow call did not pass repository signing
secrets. In Release #707 both macOS jobs fell back to ad-hoc signing, so
electron-builder omitted `nightly-mac.yml` and the publication gate kept
the release in draft.

Pass the signing secrets to the reusable workflow with `secrets:
inherit` and document the handoff.

Local verification: formatted the edited workflow with oxfmt, parsed
both workflow YAML files and checked the reusable call and secret
forwarding, and ran `git diff --check`. Required checks run in GitHub
Actions. The next eligible Release can verify signing and feed
generation on both macOS targets.

Incident:
https://github.com/itsoltech/canopy/actions/runs/45803821381/job/139865717474
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