APP-1675 - Enhance update application version command with source fla…#63
Merged
asafgabai merged 3 commits intojfrog:mainfrom Feb 15, 2026
Conversation
e18efd2 to
cac5451
Compare
cac5451 to
e9bb080
Compare
e9bb080 to
66522b1
Compare
66522b1 to
39c8cb6
Compare
39c8cb6 to
5f0042e
Compare
5f0042e to
cbb5517
Compare
cbb5517 to
16ba99e
Compare
16ba99e to
2ec6391
Compare
SaharBracha
approved these changes
Feb 12, 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.
Summary
version-update-sourcesCLI command to add sources to existing draft application versions (APP-1675).version_source_parserused by bothversion-createandversion-update-sources.API Endpoint:
PATCH /v1/applications/{application_key}/versions/{version}(query params:async,dry_run,fail_fast)Changes
CLI / Commands
version-update-sources(vus): adds sources and optional filters to a draft version via--source-type-artifacts,--source-type-packages,--source-type-builds,--source-type-release-bundles,--source-type-application-versions, or--spec; supports--sync,--dry-run,--fail-fast(apptrust/commands/version/update_app_version_sources_cmd.go).VersionUpdateSourcescommand constant andFailFastFlag;version-update-sourcesregistered in cli/cli.go and apptrust/commands/flags.go.create_app_version_cmd.gonow delegates tobuildSourcesAndFiltersFromContext()in apptrust/commands/version/version_source_parser.go; parsing for builds, release bundles, application versions, packages, artifacts, spec file, and filters moved into shared parser (create command simplified).Test Plan
version-update-sourcescommand (run + source flags).UpdateAppVersionSources(sync, async, dry_run, fail_fast).jf at version-update-sources <app-key> <version>with source flags against a real draft version.