Add affected app PR image builds#1470
Merged
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
koechkevin
approved these changes
May 5, 2026
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.
Description
This adds PR-time production image validation for apps that have migrated to the Docker bake build path.
For trusted PRs, the workflow detects which buildable apps are affected and builds only those app images without pushing them. This gives us a PR signal for production-image breakages without rebuilding every migrated app on every PR.
Behaviour
UI_BASE_TAG.docker/base.Dockerfile; base images remain on their separate release workflow.Implementation Notes
PR Buildworkflow for affected app image validation.scripts/pr-build-targets.mjsto compute affected build targets usingturbo ls --affectedplus explicit build-input rules._build-techlabblog.yml_build-trustlab.yml_bake-and-push.ymland keeps it as the low-level reusable bake primitive.techlabblog.ymlandtrustlab.ymlto reuse their app-specific build workflows.Validation
pnpm test:scripts pnpm exec turbo format:checkFixes #1469
Type of change
Screenshots
N/A
Checklist: