Commit graph

784 commits

Author SHA1 Message Date
Luke Parker
cd0d037d68
feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00
James Long
c0a7beb6d9
ci(process-daemon): pin MSVC 14.51 and cache/prefetch Ghostty dependencies (#64285) 2026-11-16 16:37:32 -05:00
Dax
81e3c8e378
chore(ci): publish dev builds every 6 hours instead of on every push (#63674) 2026-11-12 23:55:32 -05:00
Dax
196a5ee922
chore: only require code owner review for .github (#63543) 2026-11-12 08:54:05 -05:00
Dax Raad
101776024c fix(release): limit stable releases to named actors
Some checks failed
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
bot-nix-hashes / hash (blacksmith-6vcpu-macos-latest, aarch64-darwin) (push) Waiting to run
bot-nix-hashes / compute (push) Blocked by required conditions
bot-nix-hashes / publish (push) Blocked by required conditions
check-nix / nix-eval (push) Waiting to run
check / typecheck (push) Waiting to run
deploy-files / files-build (push) Waiting to run
deploy-files / files-deploy (push) Blocked by required conditions
deploy-site / site-build (push) Waiting to run
deploy-site / site-deploy (push) Blocked by required conditions
deploy / legacy-build (push) Waiting to run
deploy / legacy-deploy (push) Blocked by required conditions
deploy / data-build (push) Waiting to run
deploy / data-deploy (push) Blocked by required conditions
Process daemon / Miri (callback ownership) (push) Has been cancelled
Process daemon / Core (blacksmith-6vcpu-macos-15) (push) Has been cancelled
Process daemon / Core (ubuntu-22.04) (push) Has been cancelled
Process daemon / Windows (arm64) (push) Has been cancelled
Process daemon / Windows (x64) (push) Has been cancelled
2026-11-11 23:08:45 -05:00
Dax Raad
a7041d45d6 isolate release credentials and process daemon publishing 2026-11-11 20:21:45 -05:00
Dax
b451fe3952
fix(legacy): keep github app secrets in production (#63423) 2026-11-11 19:49:20 -05:00
Dax
17b5826a5e
ci: run macos build jobs on blacksmith (#63397) 2026-11-11 17:29:09 -05:00
Dax Raad
afbd99f93f read dev data sync from the dev lake 2026-11-11 16:32:54 -05:00
Dax
33123b1c42
ci: deploy dev workers in anomaly-dev (#63379)
Some checks are pending
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
bot-nix-hashes / hash (macos-latest, aarch64-darwin) (push) Waiting to run
bot-nix-hashes / compute (push) Blocked by required conditions
bot-nix-hashes / publish (push) Blocked by required conditions
check-nix / nix-eval (push) Waiting to run
Process daemon / Miri (callback ownership) (push) Waiting to run
Process daemon / Core (macos-15) (push) Waiting to run
Process daemon / Core (ubuntu-22.04) (push) Waiting to run
Process daemon / Windows (arm64) (push) Waiting to run
Process daemon / Windows (x64) (push) Waiting to run
check / typecheck (push) Waiting to run
deploy-files / files-build (push) Waiting to run
deploy-files / files-deploy (push) Blocked by required conditions
deploy-site / site-build (push) Waiting to run
deploy-site / site-deploy (push) Blocked by required conditions
deploy / legacy-build (push) Waiting to run
deploy / legacy-deploy (push) Blocked by required conditions
deploy / data-build (push) Waiting to run
deploy / data-deploy (push) Blocked by required conditions
2026-11-11 16:17:46 -05:00
James Long
6ec9395bd4
chore(process-daemon): allow 60 minutes for Windows release builds (#63378) 2026-11-11 14:26:12 -05:00
Aiden Cline
6eac53772b
chore: remove beta what's new and visual svgs (#63325) 2026-11-11 12:40:39 -05:00
Dax
92265ca637
fix(update): verify access identity on admin routes (#63340)
Some checks are pending
deploy-files / files-build (push) Waiting to run
deploy-files / files-deploy (push) Blocked by required conditions
deploy-site / site-build (push) Waiting to run
deploy-site / site-deploy (push) Blocked by required conditions
deploy-update / update-build (push) Waiting to run
deploy-update / update-deploy (push) Blocked by required conditions
deploy / legacy-build (push) Waiting to run
deploy / legacy-deploy (push) Blocked by required conditions
deploy / data-build (push) Waiting to run
deploy / data-deploy (push) Blocked by required conditions
2026-11-11 12:13:09 -05:00
Dax Raad
611cee9d4b fix(ci): treat require-digests=false as off in verify-artifacts
The download action always sets OPENCODE_REQUIRE_DIGESTS (false by default),
so testing for a non-empty value required digests for release artifacts that
legitimately have none and broke sign-macos, sign-windows and
publish-attestations. Compare the value to true instead.
2026-11-11 06:43:07 -05:00
Dax Raad
7bac5bad02 fix(deploy): run Cloudflare deploys from verified artifacts behind pinned targets
Repository code outside .github/ needs no review, but every deploy job held a
Cloudflare token strong enough to write any Worker on the account (the data
sync Workflow PUT has no per-Worker permission). A dev merge could therefore
overwrite production Workers.

Split each service into a build job with no environment, secrets, or OIDC token
that uploads a SHA256SUMS artifact, and a deploy job in dev|production that
checks out only .github/release/, verifies the artifact against the build job's
digest, installs the cf/wrangler CLI pinned here, and runs only deploy-*.sh.

The deploy scripts treat the artifact as data and refuse it unless its resolved
config equals the pinned target in .github/release/targets/ exactly: Worker
names, routes, custom domains, crons, Workflow names, and bindings. For cf
services the pinned config is what cf reads. That is what makes an account-wide
token safe, and it keeps production out of reach of a dev merge.

Adds the cf 1.0.0-beta.12 and wrangler 4.110.0 lockfiles the deploy jobs
install with npm ci --ignore-scripts.
2026-11-11 04:51:07 -05:00
Dax Raad
3950278638 ci(deploy): mint short-lived cloudflare tokens from the token issuer 2026-11-11 01:58:45 -05:00
Dax Raad
36f559b0c6 chore: move the data site off sst
the stats site, its og worker and the sync workflow deploy from services/data with cf as
opencode-data-<stage>, opencode-data-og-<stage> and opencode-data-sync-<stage>. the beta
web app and the whole sst setup (sst.config.ts, infra/, sst-env.d.ts, the sst dependency)
are gone, so nothing deploys through sst anymore (security finding #920).
2026-11-10 22:46:25 -05:00
Dax Raad
9c318ce47a chore: move the api worker into the legacy service 2026-11-10 22:32:16 -05:00
Dax Raad
342d8f1e3b chore(ci): gate a stable release on the linux browser suites
the windows playwright legs still fail on dev pushes often enough that a
release gate over them would stall shipping. unit tests and builds still cover
both OSes, and dev pushes and nightly runs still cover the windows browser
legs.
2026-11-10 21:47:12 -05:00
Dax Raad
bb87284a94 chore(ci): keep the heavy test tier off pull requests
pull requests now run the affected unit tests on linux only. the windows unit
tests, the compiled builds and the four playwright suites still run on every
push to dev and beta, on nightly runs, and as a release.yml gate before a
stable release publishes.
2026-11-10 21:35:46 -05:00
Dax
8f0bf22d69
fix(release): publish platform packages before the cli package (#63124) 2026-11-10 09:00:25 -05:00
Dax
783b7d646a
chore(release): mint short-lived cloudflare token for r2 uploads (#63115) 2026-11-10 08:24:58 -05:00
Dax
ae3aa94ef9
ci: read deploy and release secrets from aws secrets manager (#62954) 2026-11-09 15:44:41 -05:00
Dax
73c95abac2
chore(infra): drop stripe and aws from deploy, move share to its own worker (#62908) 2026-11-09 12:30:32 -05:00
Adam
4ce137b39e
ci(site): build the docs without a mode (#62468) 2026-11-07 12:39:36 -05:00
Adam
4605a1dc63
chore(ci): point winget and docs checks at /docs (#62400) 2026-11-06 18:17:34 +00:00
Dax
3efbdad965
chore(console): remove the old opencode.ai site (#62388) 2026-11-06 12:02:00 -05:00
Dax
a7515ce7e6
chore(changelog): remove the retired changelog service (#62382) 2026-11-06 11:40:46 -05:00
Adam
9ced0469bb
feat(site): serve the V2 docs from services/site with SolidStart (#62229)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-11-06 00:17:30 -05:00
Dax
24008abeb3
feat(site): deploy the opencode.ai site separately from the docs (#62209) 2026-11-05 17:53:39 -05:00
Dax
c64fff5bcb
feat(www): move the opencode.ai site into services/www and deploy with cf (#62190) 2026-11-05 16:50:49 -05:00
Dax
504f1ddb26
feat(meta): serve config schemas and well-known files from their own worker (#62182) 2026-11-05 16:05:18 -05:00
Dax
14f7cb9db9
chore: remove posts site (#62180) 2026-11-05 15:50:28 -05:00
James Long
a316ae64c3
ci(process-daemon): read the release protocol version from the source (#62006) 2026-11-05 10:38:03 -06:00
James Long
ceb8288cf8
ci(process-daemon): stop pinning the protocol in the Windows smoke test (#61889) 2026-11-04 23:16:29 -06:00
James Long
2e8a861e11
ci(process-daemon): run the pipe tests on macOS (#61277) 2026-11-02 14:06:47 -05:00
Dax
a03ccfd157
fix(ci): fail desktop publish when an R2 upload fails (#60696) 2026-10-30 16:08:44 -04:00
Aiden Cline
c45aae77ab
chore(release): require notes for stable releases and remove old changelog tools (#60429) 2026-10-29 21:37:15 -05:00
Aiden Cline
17f4634afe
chore(release): announce releases in Discord again (#60371) 2026-10-29 16:20:32 -05:00
github-actions[bot]
4efad23dd8
release: v2.2.2 (#60337)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-29 13:54:46 -05:00
Luke Parker
9039a2a1e8
chore: add Hona as GUI plugin SDK codeowner (#60071) 2026-10-29 11:37:08 +10:00
James Long
4d33928e25
chore(process-daemon): release 0.3.2 under the @opencode scope (#59879) 2026-10-28 11:16:58 -04:00
Dax
891a020bcc
fix(ci): import passwordless macOS signing certificate (#59768) 2026-10-27 19:44:06 -04:00
Dax
426c7d8fa7
fix(ci): sign macOS builds with release environment credentials (#59760) 2026-10-27 18:55:37 -04:00
James Long
f4ecbf31f3
chore(process-daemon): publish from the monorepo (#59695)
Co-authored-by: Dax <mail@thdxr.com>
2026-10-27 18:15:38 -04:00
James Long
76e1f5b0cc
chore(process-daemon): move opencode-pty into the monorepo (#59694) 2026-10-27 20:04:03 +00:00
Luke Parker
54dcd34566
fix(release): restore desktop app-update.yml and keep V1 as the GitHub Latest release (#59529) 2026-10-27 16:26:07 +10:00
Dax
5f8ee0f507
ci(release): push the Homebrew formula with a homebrew-tap deploy key (#59516) 2026-10-27 01:26:24 -04:00
Luke Parker
362e000b61
ci(release): publish desktop on every dev commit (#59507) 2026-10-27 15:03:54 +10:00
Dax
5c83520efe
chore(ci): deploy dev Cloudflare workers from the dev environment (#59503) 2026-10-27 01:02:58 -04:00