Commit Graph

80 Commits

Author SHA1 Message Date
Neil c4a6701d9f
chore(release): move release cutting to a Cut Release workflow (#972)
Replaces the local `pnpm release:{rc,patch,minor,major}` scripts with a
single manually-dispatched GitHub Actions workflow (`release-cut.yml`)
that takes `kind` (rc|stable), an optional `ref`, and an optional explicit
`version`.

Why: cutting releases locally was too easy to get wrong — `npm version
prerelease` behaves differently depending on whether the current version
is already an rc, there was no guard against tagging a dirty tree or an
off-main branch, and the "bad commit just landed, release the previous
one" case had no first-class answer. The new workflow:

- Resolves the next version automatically from GitHub Releases (or takes
  an explicit override).
- Refuses to cut a stable release whose version isn't strictly greater
  than the latest published stable. This is the only invariant
  electron-updater needs within the `latest` channel.
- Only fast-forwards `main` with the version-bump commit when the caller
  released the tip of `main`. Off-main releases publish only the tag, so
  main is never polluted by a one-off RC against a feature branch.

CONTRIBUTING.md now documents the new flow with the common scenarios
(normal release, bad-commit-revert-to-previous-SHA, one-off RC, explicit
minor/major). The scheduled RC cron in release-rc.yml is untouched.
2026-04-22 23:20:04 -07:00
Jinjing 00fdb8e8cc
ci: check out PR head instead of merge ref in e2e workflow (#940)
The e2e reusable workflow defaulted to github.ref, which on
pull_request events is refs/pull/N/merge. GitHub does not compute
that ref when the PR has conflicts or before the merge commit is
ready, causing actions/checkout to fail with "couldn't find remote
ref refs/pull/N/merge" for reasons unrelated to the code.

Pass github.event.pull_request.head.sha from pr.yml so e2e checks
out the PR head directly.

Motivating failure: https://github.com/stablyai/orca/actions/runs/24768962365
Seen on #937.
2026-04-22 09:59:27 -07:00
Brennan Benson 660b5f4149
ci: run E2E tests on every PR, surface on release (non-blocking) (#842) 2026-04-19 13:48:27 -07:00
Jinjing 1f1c66e59a
ci(release): retry electron install/publish on transient CDN failures (#809)
Wrap the dependency install and release-artifact publish steps with
nick-fields/retry@v3 so GitHub CDN 504s don't require a manual
re-run of the release workflow.
2026-04-18 17:57:27 -07:00
Neil 93ede4807a Skip delayed RC schedules outside target PT hours 2026-04-17 15:29:31 -07:00
Neil 3cd49fd11f Run RC releases directly from the scheduler 2026-04-15 15:09:00 -07:00
Neil fe8f863052 Simplify remaining Orca issue forms 2026-04-14 23:29:55 -07:00
Neil 88f03af594 Skip duplicate RC retries within same PT hour 2026-04-14 15:17:25 -07:00
Neil 3028ded572 Add dry-run path for RC release workflow 2026-04-14 15:15:55 -07:00
Neil 95db2fd11f Harden RC release schedule against dropped cron runs 2026-04-14 15:14:43 -07:00
Neil c37aa664bc Use timezone-aware RC release schedule 2026-04-14 12:39:47 -07:00
Neil edad6b8e98 Add scheduled RC release workflow 2026-04-14 12:27:50 -07:00
Jinwoo Hong 586ae52c7f
fix: scope macOS signing secrets to mac-only CI step (#647) 2026-04-14 14:50:07 -04:00
Neil e236171c04 Make Orca version optional in bug form 2026-04-14 11:03:17 -07:00
Neil 7350f00e2e Simplify Orca bug report fields 2026-04-14 10:45:24 -07:00
Jinwoo Hong cc66e120eb
feat: Add SSH remote support (beta) (#590) 2026-04-13 19:23:09 -07:00
Neil 90dc471a0e Simplify Orca bug report form 2026-04-13 12:13:53 -07:00
Neil 5d12a723cf Align issue OS labels with repo labels 2026-04-13 12:05:24 -07:00
Neil 6c25f104a1 Add GitHub issue forms for Orca 2026-04-13 12:04:30 -07:00
Neil b2c31b6536
speed up release workflow (#584) 2026-04-13 00:25:30 -07:00
Neil a80d8400cc
fix release workflow artifact collection (#581) 2026-04-12 23:57:29 -07:00
Neil 424ceea07e
Speed up release workflow (#579)
* speed up release workflow

* fix lint in manifest merge helper

* remove release preflight gate

* update CI to node 24
2026-04-12 23:41:44 -07:00
Jinjing ee7ac0cbc0
fix(ci): use github format for oxlint to show filenames in lint errors (#287)
The default oxlint output buries filenames in multi-line blocks, making
CI errors like "File has too many lines" hard to diagnose. The github
format produces ::error annotations with file paths front and center.
2026-04-03 23:30:23 -07:00
Jinjing 414b761e19
fix(mac): improve macOS release tagging (#284)
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-04-03 23:07:44 -07:00
Jinwoo Hong 182ba156dd
Add Orca runtime CLI and bundled install support (#273) 2026-04-03 16:50:28 -07:00
Jinjing ecec55aca4
docs: add contribution guide and PR template (#163) 2026-03-28 10:44:02 -07:00
Neil 27b29a0f8d
fix: make release publish atomic to prevent update 404s (#112)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 00:02:31 -07:00
Jinjing 9c5a1f48bb
Add PR checks workflow and Vitest coverage (#97) 2026-03-24 20:53:38 -07:00
Neil 9de1eb4318 Terminal fixes, sort fixes, flashbang fix 2026-03-21 14:44:45 -07:00
Neil 9f536aced3 code release stuff 2026-03-19 00:36:36 -07:00