Repository navigation
chore: release 5.17.0 - #371
Open
dcd-release-please[bot] wants to merge 13 commits into
Open
dcd-release-please[bot] wants to merge 13 commits into
dcd-release-please[bot] wants to merge 13 commits into
Conversation
* chore: pin the 5.12.0 promotion Release-As: 5.12.0 * chore(production): release 5.12.0 * chore: release 5.13.0 * ci: Replace release-please with a custom version that handles our dev -> prod flow (#305) * ci: cut a stable release with one workflow run and one PR A stable release used to take a hand-built promotion branch (dev, a merge of production, and an empty Release-As pin commit), a promotion PR, then release-please's own Release PR, then the back-merge PR. A new "Promote to stable" workflow (promote.yml) now builds the release branch: dev, with production merged in, plus one commit that sets the version in package.json and server.json and adds the CHANGELOG.md section. It opens that as the only PR into production. Merging it is the release: the Release workflow tags the untagged version, creates the GitHub Release from the changelog section, and publishes npm, the binaries and the back-merge as before. scripts/stable-release.mjs derives the version from the Conventional Commit PR titles since the last release, as release-please did, but never derives a major: a breaking marker stops the run until the version is given explicitly. Its changelog lists each PR once, using the full title when GitHub cut it short, where release-please listed such PRs twice. Production is merged in on every run because dev only allows squash merges, so the back-merge can never make production an ancestor of dev. release-please, its config and manifest, and the Release-As promotion-pin check are removed. A release-check job verifies every PR into production instead. Release PRs skip claude-review, like back-merge PRs, because the review action rejects bot actors. The Release workflow keeps the release-please.yml filename, because npm's trusted publisher is registered against it. * ci: keep the stable release PR open and current on every push to dev Promote to stable now also runs on every push to dev. It rebuilds one fixed branch, promote/cli-next, and opens the release PR into production or updates the open one, so the PR always carries all of dev with the version and changelog to match. Nothing ships until someone merges it. - A push with nothing releasable since the last release (docs, the back-merge) does nothing. - A version set by hand is kept on later runs (plan --keep) whenever it is above the derived one, so a major has to be given only once, and a breaking marker still never derives one. - If production moved during the run, nothing is pushed; the back-merge push rebuilds the PR. The force-push is leased against the branch tip the run saw, and skipped when the content is unchanged. - A PR into production from any other branch is left alone: push runs warn and stop. (cherry picked from commit 6bebbef) * ci: lint PR titles on pull_request instead of pull_request_target (#308) GitHub blocks pull_request_target by default in public repositories from 2026-12-02. The PR title check only reads the event payload, so it runs on pull_request, which also fires for fork PRs with a read-only token. The CLA workflow has to write to fork PRs, so it stays on pull_request_target. A repository Actions policy allows that trigger for cla.yml only. Its header now says so. (cherry picked from commit 02d99b9) * fix: treat dev-api.devicecloud.dev as the dev environment (#314) The dev API is now at dev-api.devicecloud.dev. Make it the dev apiUrl and keep api.dev.devicecloud.dev as a legacy URL, so saved configs and CI flags that name it still resolve to dev. inferEnvFromApiUrl only recognised 'api.dev.', so a dev-api URL fell through to prod and the Supabase copy of an upload would target the prod project. Both hostnames now map to dev. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 25d09ca) * deps: raise the hono override to 4.13.16 for new moderate advisories Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 2476581) * chore: release 5.12.1 * chore: release 5.13.0 * chore: release 5.14.0 * chore: release 5.14.1 * chore: release 5.15.0 * chore: release 5.16.0 --------- Co-authored-by: finalerock44 <ethan@devicecloud.dev> Co-authored-by: finalerock44 <77282157+finalerock44@users.noreply.github.com> Co-authored-by: dcd-release-please[bot] <296541543+dcd-release-please[bot]@users.noreply.github.com> Co-authored-by: Tom Riglar <tom.riglar@moropo.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…369) Two advisories published on 2026-12-01 turned `pnpm audit --audit-level moderate` red on dev without any tree change: - GHSA-ghv9-86vm-4v8m (critical, cross-spawn >=7.0.0 <7.1.0, Windows batch-file command injection), via eslint and @modelcontextprotocol/sdk. Pinned to 7.1.2 rather than 7.1.0: 7.1.1 fixes a second Windows injection (GHSA-w3gc-668g-rf8f, not yet in the advisory database) and 7.1.2 fixes a 7.1.0 regression for batch files found in PATH. - GHSA-qxr8-q827-836c (moderate, glob >=13.0.5 <=14.0.5), via mocha. Existing override bumped from 14.0.2 to 14.0.6.
* feat(retry): add dcd retry to rerun failed tests Retry tests that already ran, without uploading anything: - `--upload-id <id>` retries every failed test in the upload. - `--upload-id <id> --flow <name>` retries the failed attempts of one flow, on each device it failed on. The flow can be given as a file name with or without its extension, or as its path. - `--result-id <id>` retries one result. Each retry is a new, billed run, so the request is never resent automatically, and a --flow retry stops at the first refusal and says which retries went through. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(retry): say retries are free, not billed The API charges nothing for a retry. Correct the help text and comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…#375) `pnpm audit --audit-level moderate` fails on every branch since advisories published after dev's last green run (12-01 14:07Z): - tar <8.0.0 (direct dependency, 7.5.23): 18 advisories, symlink escapes and PAX/parser differentials among them, fixed only in tar 8. The CLI calls `tar.extract({ cwd, file })` on Expo/EAS .tar.gz builds (src/utils/expo.ts), which tar 8 still takes: it returns a promise, reads `file` and detects gzip. Node >=22 matches our engines. ^8.0.5, not 8.0.2: 8.0.3-8.0.5 add parser hardening listed in tar's security notes. tar 8 has no runtime dependencies, so minipass, minizlib, chownr, yallist and @isaacs/fs-minipass leave the lockfile. - minimatch 11.0.1 via mocha (dev only): GHSA-cf2h-pxjq-68xw (>=11.0.7) and GHSA-c859-jr93-m5j4 (>=11.0.8). The override goes to 11.0.9, which the rest of the tree already resolves to. Checked: audit clean, lint, typecheck, 787 unit tests, build, dcd-mcp tools/list (6 tools), and the built extractTarGz on a packed copy of the testing repo's iOS fixture app: 304 paths byte-identical with tar 7's output, and a symlink pointing outside the bundle refused.
dcd-release-please
Bot
force-pushed
the
promote/cli-next
branch
from
December 2, 2026 11:22
fdb8c52 to
977c4f6
Compare
The API's session block now carries `locale` (the locale the device was set to, null when none was asked for) and `os_version` (the iOS version or Android API level). Type both as optional, since older APIs don't send them, and print a `locale` line when one is set. `model` already shows the version, so there is no separate OS line. --json passes both through.
dcd-release-please
Bot
force-pushed
the
promote/cli-next
branch
from
December 2, 2026 11:24
977c4f6 to
9342deb
Compare
`dcd cloud` printed every `-e KEY=VALUE` pair in plain text: in the Options summary it shows before submitting, and in the `--debug` line that lists the run's environment variables. `-e` is how secrets reach flows, and that output ends up in CI logs and agent transcripts. Both now show each name with its value masked (`KEY=***`). The values sent with the run are unchanged. The summary rows are built by `optionsSummaryFields` in `src/utils/options-summary.ts`, so they can be unit-tested. Closes #372
dcd-release-please
Bot
force-pushed
the
promote/cli-next
branch
from
December 2, 2026 11:28
9342deb to
c86b8d2
Compare
…rs (#377) Every API request now carries x-dcd-cli-runtime next to x-dcd-cli-version: bun for the standalone binary, node for the npm package. A bug that only one build has can then be traced to the requests and uploads it affected. The header is set in resolveAuth's client headers, which covers the --api-key, env, session, refresh and MCP paths, and in the e2e provider, which builds its own headers. getRuntime() is now the one place that tells the two builds apart; getInstallMethod() uses it.
dcd-release-please
Bot
force-pushed
the
promote/cli-next
branch
from
December 2, 2026 19:47
c86b8d2 to
fea8441
Compare
…380) * feat(upload): record iOS executable architectures in binary metadata Read the Mach-O header of the app's main executable (CFBundleExecutable) and send its CPU families as `architectures`, the same field APKs already use. Only the first 4 KB of the executable is inflated. An iOS simulator build with only an x86_64 slice runs under Rosetta on Apple Silicon. Apple removes general-purpose Rosetta in macOS 28, so the platform needs to know which builds have no arm64 slice before hosts move there (dcd#1511). The CLI sees the build before it is encrypted, so this works for encrypted uploads too. Unknown stays unknown: a missing or unreadable executable leaves the field out and never fails the upload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(types): drop a private issue reference from the architectures comment Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
dcd-release-please
Bot
force-pushed
the
promote/cli-next
branch
from
December 4, 2026 10:50
fea8441 to
a341115
Compare
The standalone binaries embed the Bun runtime, and both release workflows installed it from a floating '1.3' range, so a release could pick up a new runtime without any change in this repo. Pin it exactly in .bun-version (1.4.5) and read that file from both workflows. Also ignore dist-bin/ and Bun's *.bun-build temp files.
* feat: sign standalone release binaries and verify signatures on upgrade and install Every standalone release now carries SHA256SUMS.sig: an ECDSA P-256 and an ML-DSA-65 signature over the release version and the SHA-256 of SHA256SUMS. The public keys are built into the CLI and the install scripts, and are in release-keys/. - dcd upgrade checks both signatures before it downloads the binary, then checks the binary against the signed SHA256SUMS. A release with no signature, a bad signature, or a signature for another version is refused and the running binary is left alone. - install.sh and install.ps1 check the P-256 signature. A bad signature always aborts. A missing signature is fatal from the first signed release on; for older pinned versions, or with no openssl on the machine, they warn, and DCD_REQUIRE_SIGNATURE=1 makes that fatal too. - Stable releases are signed from production in the cli-release-signing environment, betas from dev in cli-beta-signing with keys that are only valid for prerelease versions. Signing runs in its own job with no write token and no package install; a keyless job checks the result on the pinned Bun before anything is uploaded. - Betas are cut from dev only. * ci: take the pnpm version from packageManager in the signing test jobs * test: give each PowerShell its own PSModulePath in the install.ps1 tests * test: pass the shell key ids from the source keys, not from file names
dcd-release-please
Bot
force-pushed
the
promote/cli-next
branch
from
December 4, 2026 13:40
a341115 to
70db43c
Compare
dcd-release-please
Bot
force-pushed
the
promote/cli-next
branch
from
December 4, 2026 14:06
70db43c to
37a396d
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases 5.17.0 to npm
latest(minor bump from 5.16.0, derived from the PR titles).5.17.0 (2026-12-04)
Features
Bug Fixes
Kept current by the Promote to stable workflow, which rebuilds this branch on every push to
dev:devat f3d68af, withproductionmerged in, plus a commit that sets the version in package.json and server.json and adds the CHANGELOG.md section above.productionallows, when you want to release.v5.17.0, creates the GitHub Release from the section above, publishes npmlatestand the binaries, and opens the back-merge PR intodev.devopens a new one.