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 pull request introduces a new
buildCriticalOnlyflag to both CI and PR pipelines, allowing the build, deployment, and test stages for R4B and R5 FHIR versions to be skipped when only critical (STU3/R4) validation is needed. This change accelerates hotfix and rapid iteration workflows while preserving the default comprehensive validation. The implementation includes pipeline parameterization, conditional stage execution, and documentation of the approach.Key changes:
Pipeline Parameterization and Logic:
buildCriticalOnlyboolean parameter (default: false) tobuild/ci-pipeline.yml,build/pr-pipeline.yml, and thedocker-build-all.ymltemplate, enabling selective execution of pipeline stages. [1] [2] [3]buildCriticalOnlyis true in both CI and PR pipelines. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]buildCriticalOnlyis enabled. [1] [2]Stage Dependencies and Finalization:
Documentation:
docs/arch/adr-2510-critical-build-flag.md) detailing the rationale, implementation, usage guidelines, and consequences of thebuildCriticalOnlyflag.Related issues
Addresses [issue #].
Testing
Describe how this change was tested.
FHIR Team Checklist
Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)