Skip to content

Use dev-version/dev-channel for dispatched dev builds#120

Merged
bschwedler merged 3 commits into
mainfrom
worktree-dev-spec-dispatch
Jun 9, 2026
Merged

Use dev-version/dev-channel for dispatched dev builds#120
bschwedler merged 3 commits into
mainfrom
worktree-dev-spec-dispatch

Conversation

@bschwedler

@bschwedler bschwedler commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Switches development.yml from image-version/dev-stream to dev-version/dev-channel, matching the interface added in posit-dev/images-shared#565. Adds channel as the new dispatch input and keeps stream as a deprecated alias so existing callers are not broken until they migrate.

Must be merged before:

Replace image-version + dev-stream with dev-version + dev-channel.

Unlike PPM, Connect is not version_templatable — bakery fetches
latest-packages.json and asserts the version matches before building.
This guards against the CDN propagation window: if the manifest hasn't
caught up to the dispatched build, the assertion fails loudly rather
than silently building a stale artifact.

Connect CI now dispatches full-version (.packages[0].version from the
local build artifact), e.g. '2026.06.0-dev+159-gfc86f5da40', which is
the same string bakery reads from the CDN for comparison.

When version and stream are both empty (schedule/push events), bakery
falls back to CDN discovery and builds all channels as before.

Requires posit-dev/images-shared#565 and posit-dev/connect#NNNN
(full-version output) to be merged.
Aligns the workflow_dispatch interface with the internal dev-channel
parameter name used by bakery-build-native.yml.
Callers on the old --field stream= continue to work until their CI PRs
switch to --field channel=. The internal mapping prefers channel, falls
back to stream.
@bschwedler bschwedler force-pushed the worktree-dev-spec-dispatch branch from 79d7470 to f5f5548 Compare June 9, 2026 18:35
@bschwedler bschwedler merged commit c9bc987 into main Jun 9, 2026
94 checks passed
@bschwedler bschwedler deleted the worktree-dev-spec-dispatch branch June 9, 2026 18:48
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.

Add --dev-spec dispatch payload for pinned dev builds

1 participant