mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[PR #739] [MERGED] Add hint for app privacy/data usage API errors #750
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#750
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/739
Author: @omar16100
Created: 2/23/2026
Status: ✅ Merged
Merged: 2/23/2026
Merged by: @rudrankriyam
Base:
main← Head:feedback/privacy-error-hint📝 Commits (2)
cf61269feat(errfmt): add hint for app privacy/data usage errors0d84f46test(errfmt): prioritize privacy hint and tighten assertions📊 Changes
2 files changed (+79 additions, -0 deletions)
View changed files
📝
internal/cli/shared/errfmt/errfmt.go(+15 -0)📝
internal/cli/shared/errfmt/errfmt_test.go(+64 -0)📄 Description
Summary
appDataUsages/appDataUsagesPublicationsin API error messages withinerrfmt.Classify()docs/openapi/paths.txt)errfmt.go+errfmt_test.goMotivation
When
asc submit createfails due to incomplete privacy declarations, the error references/v1/appDataUsages/with no guidance. This adds a clear hint: configure privacy in the web UI.Test plan
TestClassify_PrivacyDataUsages— 3 subtests: appDataUsages path, appDataUsagesPublications, unrelated error passes throughASC_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.