Use dev-version/dev-channel for dispatched dev builds#120
Merged
Conversation
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.
79d7470 to
f5f5548
Compare
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.
Switches
development.ymlfromimage-version/dev-streamtodev-version/dev-channel, matching the interface added in posit-dev/images-shared#565. Addschannelas the new dispatch input and keepsstreamas a deprecated alias so existing callers are not broken until they migrate.Must be merged before: