mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #456] [MERGED] feat: CI/CD exit codes and JUnit reporting #539
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#539
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/456
Author: @rudrankriyam
Created: 2/9/2026
Status: ✅ Merged
Merged: 2/9/2026
Merged by: @rudrankriyam
Base:
main← Head:ci-exit-codes📝 Commits (10+)
33b7f86feat: add CI/CD exit codes and JUnit reporting8cb7b67fix: improve JUnit report and flag validationa65c392fix: correct getCommandName args handlingffe3302fix: properly handle root flags before subcommand in getCommandNamead1b395docs: add edge case testing guidance to AGENTS.md475f35crefactor: clean up error mapping duplication and add more tests7873858fix: clamp HTTP exit codes and keep working getCommandName4f23562fix: add ErrConflict sentinel check in exit code mapper and validate --report-file without --report60430c2Merge branch 'pr-459' into ci-exit-codesd40ef43fix: harden CI command parsing and API error exit mapping📊 Changes
14 files changed (+1323 additions, -28 deletions)
View changed files
📝
AGENTS.md(+29 -0)➕
cmd/exit_codes.go(+114 -0)➕
cmd/exit_codes_test.go(+329 -0)📝
cmd/run.go(+160 -13)📝
internal/asc/client_http.go(+41 -9)📝
internal/asc/client_test.go(+37 -0)📝
internal/asc/errors.go(+7 -3)📝
internal/asc/notary.go(+1 -1)📝
internal/cli/cmdtest/error_hints_test.go(+2 -2)➕
internal/cli/cmdtest/exit_codes_test.go(+166 -0)➕
internal/cli/shared/ci_flags.go(+57 -0)➕
internal/cli/shared/junit_report.go(+176 -0)➕
internal/cli/shared/junit_report_test.go(+203 -0)📝
internal/cli/shared/shared.go(+1 -0)📄 Description
Summary
Add first-class CI/CD support with deterministic exit codes and optional JUnit XML report output.
Exit Codes
New Flags
--report junit- Enable JUnit XML output--report-file <path>- Write report to file--no-update- Recommended for CI to skip update checksExample Usage
Test plan
make format,make lint,make testpass🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.