Skip to content

chore: release 5.15.0 - #339

Merged
finalerock44 merged 9 commits into
productionfrom
promote/cli-next
Nov 23, 2026
Merged

finalerock44 merged 9 commits into
productionfrom
promote/cli-next

Conversation

@dcd-release-please

@dcd-release-please dcd-release-please Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Releases 5.15.0 to npm latest (minor bump from 5.14.1, derived from the PR titles).

5.15.0 (2026-11-19)

Features

  • artifacts: download one flow's artifacts with --result-id or --flow (#338) (3659af3)
  • device: keep agents to their own device sessions (#340) (74e951f)
  • device: save full-size PNG screenshots (#343) (1325da8)

Bug Fixes

  • artifacts: fail on an incomplete ZIP instead of reporting success (#337) (e4b18b2)
  • device: make dcd device safer to script and to drive from an agent (#341) (860ffb8)

Kept current by the Promote to stable workflow, which rebuilds this branch on every push to dev: dev at 1325da8, with production merged in, plus a commit that sets the version in package.json and server.json and adds the CHANGELOG.md section above.

  • Merge with Create a merge commit, the only method production allows, when you want to release.
  • Merging is the release: the Release workflow tags v5.15.0, creates the GitHub Release from the section above, publishes npm latest and the binaries, and opens the back-merge PR into dev.
  • Leave it open until then; closing it only means the next push to dev opens a new one.

dcd-release-please Bot and others added 4 commits November 17, 2026 17:38
* 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

---------

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>
* 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

---------

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>
#337)

Artifact and HTML report ZIPs are streamed while they are built. When the
server hits an error after the response headers, the stream can still end
cleanly, and the CLI saved a ZIP with no central directory and reported
the download as a success. unzip rejects such a file.

Every ZIP download is now checked for a complete central directory, read
from the end of the file without touching the entries' data:

- A bundle download that is incomplete falls back to the inline endpoint,
  recorded as bundle_truncated.
- An inline download that is incomplete fails with a clear message, and
  the partial file is deleted so nothing downstream picks it up.

dcd artifacts now exits 1 when its download fails, with or without --json.
dcd cloud is unchanged: a failed download still only warns, and the
command keeps its test-result exit codes. JUnit and Allure reports are
not ZIPs and are not checked.
#338)

feat(artifacts): download one flow's artifacts with --result-id or --flow

A full run's artifacts can run to hundreds of MB when only one flow's
files are needed. dcd artifacts gains two mutually exclusive flags, both
requiring --download-artifacts:

- --result-id <id>: only that result's flow run, meaning its first attempt
  and every retry on that one device.
- --flow <file|name>: resolved to a result from the upload's results, by
  file path (with or without ./), file name, or name without extension.
  When it matches more than one result, e.g. one per device in a matrix,
  it fails and lists the result ids to pick from.

The id is sent to the API as an optional filter (a resultId query param
on the bundle route, a resultId body field on the inline route) and only
when set, so unfiltered downloads are unchanged. An API without the filter
would ignore it and return the whole upload. The CLI accepts a filtered
bundle only when the API names it as one, and otherwise fails instead of
saving the wrong ZIP. The dcd_download_artifacts MCP tool takes the same
two options as resultId and flow.
@dcd-release-please dcd-release-please Bot changed the title chore: release 5.14.2 chore: release 5.15.0 Nov 18, 2026
With no session id, the CLI and the dcd mcp bridge act only on a session this connection or this person started. Changing someone else's session needs --force (409 LIVE_NOT_YOURS otherwise). The bridge names its connection with x-dcd-client-instance, and each session shows who started it.
…nt (#341)

Waits end with the session, unknown flags are refused, run sends a flow with the files it uses, --api-url refuses plain http to other hosts, signed links stay out of telemetry, --env-file and --text-stdin keep secrets off the command line, status --wait, logs --level/--grep, and dcd mcp keeps local files (including app_path) inside the working directory.
finalerock44 and others added 3 commits November 19, 2026 11:45
dcd device screenshot --full downloads a PNG at the device's own resolution and reports its size. Over dcd mcp, take_screenshot with full_size takes path, inside the working directory. A session start refused by a usage limit (USAGE_LIMIT_EXCEEDED) exits 3, like the other limits.
@finalerock44 finalerock44 self-assigned this Nov 23, 2026
@finalerock44
finalerock44 merged commit 187bee1 into production Nov 23, 2026
6 checks passed
@finalerock44
finalerock44 deleted the promote/cli-next branch November 23, 2026 12:00
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