mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #743] [MERGED] Add submit validate subcommand for pre-submission checks #756
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#756
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/743
Author: @omar16100
Created: 2/23/2026
Status: ✅ Merged
Merged: 2/23/2026
Merged by: @rudrankriyam
Base:
main← Head:feedback/submit-validate📝 Commits (2)
a25bacffeat(submit): add submit validate subcommand for pre-submission checks974830erefactor(validate): unify pre-submission checks under asc validate📊 Changes
6 files changed (+281 additions, -32 deletions)
View changed files
📝
internal/cli/cmdtest/validate_test.go(+142 -4)📝
internal/cli/validate/validate.go(+62 -15)📝
internal/validation/report.go(+1 -1)📝
internal/validation/required_fields.go(+39 -1)📝
internal/validation/required_fields_test.go(+31 -7)📝
internal/validation/types.go(+6 -4)📄 Description
Summary
asc submit validatefor live API pre-submission readiness checksChecks performed
Usage
Files changed
internal/cli/submit/validate.go— command, validation logic, table/markdown renderers (~321 lines)internal/cli/submit/submit.go— registersSubmitValidateCommand()(+1 line)internal/cli/submit/submit_test.go— updatesTestSubmitCommandShapesubcommand count (3→4)internal/cli/cmdtest/submit_validate_test.go— 6 tests with HTTP mocks (~382 lines)Test plan
TestSubmitValidateRequiresVersionFlag— validates --version or --version-id requiredTestSubmitValidateRequiresAppFlag— validates --app requiredTestSubmitValidateVersionAndVersionIDMutuallyExclusive— validates mutual exclusivityTestSubmitValidateAllChecksPass— full mock with all checks passing, asserts ready=trueTestSubmitValidateDetectsMissingBuildAndDescription— asserts build/description/screenshots errors detectedTestSubmitValidateDetectsNonEditableState— asserts WAITING_FOR_REVIEW flagged as non-editableASC_BYPASS_KEYCHAIN=1 make test— all tests pass🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.