[PR #634] [CLOSED] Empty bundleID validation #667

Closed
opened 2026-02-26 22:32:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/634
Author: @cursor[bot]
Created: 2/18/2026
Status: Closed

Base: mainHead: cursor/empty-bundleid-validation-3324


📝 Commits (3)

  • d6a1a37 asc: add remaining missing relationship endpoints
  • 1bb639e fix: align bundleId relationships with production
  • 44d6cc5 Fix empty bundleID validation for relationship linkages

📊 Changes

21 files changed (+1033 additions, -0 deletions)

View changed files

📝 internal/asc/analytics.go (+34 -0)
📝 internal/asc/analytics_test.go (+20 -0)
📝 internal/asc/categories.go (+62 -0)
📝 internal/asc/client_alternative_distribution.go (+44 -0)
📝 internal/asc/client_app_encryption_relationships.go (+54 -0)
📝 internal/asc/client_bundle_id_relationships.go (+78 -0)
📝 internal/asc/client_game_center.go (+22 -0)
📝 internal/asc/client_game_center_v2.go (+156 -0)
📝 internal/asc/client_http_alternative_distribution_test.go (+40 -0)
internal/asc/client_http_categories_test.go (+44 -0)
📝 internal/asc/client_http_gamecenter_test.go (+17 -0)
📝 internal/asc/client_http_gamecenter_v2_test.go (+111 -0)
📝 internal/asc/client_http_relationships_test.go (+96 -0)
📝 internal/asc/client_http_test.go (+34 -0)
📝 internal/asc/client_pricing.go (+31 -0)
📝 internal/asc/client_user_invitation_visible_apps.go (+30 -0)
📝 internal/asc/eula.go (+31 -0)
📝 internal/asc/pricing_test.go (+17 -0)
📝 internal/asc/review_responses.go (+27 -0)
📝 internal/asc/review_responses_test.go (+27 -0)

...and 1 more files

📄 Description

Summary

  • Added validation to getBundleIDLinkages to ensure bundleID is not empty when nextURL is not provided, preventing malformed API requests.

Validation

  • make format
  • make lint
  • make test

Wall of Apps (only if this PR adds/updates a Wall app)

  • I ran make generate app APP="..." LINK="..." CREATOR="..." PLATFORM="..." (or manually edited docs/wall-of-apps.json + ran make update-wall-of-apps)
  • I committed all generated files:
    • docs/wall-of-apps.json
    • README.md

Entry template:

{
  "app": "Your App Name",
  "link": "https://apps.apple.com/app/id1234567890",
  "creator": "your-github-handle",
  "platform": ["iOS"]
}

Common Apple labels: iOS, macOS, watchOS, tvOS, visionOS.



🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/634 **Author:** [@cursor[bot]](https://github.com/apps/cursor) **Created:** 2/18/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `cursor/empty-bundleid-validation-3324` --- ### 📝 Commits (3) - [`d6a1a37`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/d6a1a3729e6710a82314d55a901c10ea9950809f) asc: add remaining missing relationship endpoints - [`1bb639e`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/1bb639e1660b6e57528907b3330f8ceb72f66f49) fix: align bundleId relationships with production - [`44d6cc5`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/44d6cc5d5bba33cbb91efc7abbe9a1b0406a140c) Fix empty bundleID validation for relationship linkages ### 📊 Changes **21 files changed** (+1033 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `internal/asc/analytics.go` (+34 -0) 📝 `internal/asc/analytics_test.go` (+20 -0) 📝 `internal/asc/categories.go` (+62 -0) 📝 `internal/asc/client_alternative_distribution.go` (+44 -0) 📝 `internal/asc/client_app_encryption_relationships.go` (+54 -0) 📝 `internal/asc/client_bundle_id_relationships.go` (+78 -0) 📝 `internal/asc/client_game_center.go` (+22 -0) 📝 `internal/asc/client_game_center_v2.go` (+156 -0) 📝 `internal/asc/client_http_alternative_distribution_test.go` (+40 -0) ➕ `internal/asc/client_http_categories_test.go` (+44 -0) 📝 `internal/asc/client_http_gamecenter_test.go` (+17 -0) 📝 `internal/asc/client_http_gamecenter_v2_test.go` (+111 -0) 📝 `internal/asc/client_http_relationships_test.go` (+96 -0) 📝 `internal/asc/client_http_test.go` (+34 -0) 📝 `internal/asc/client_pricing.go` (+31 -0) 📝 `internal/asc/client_user_invitation_visible_apps.go` (+30 -0) 📝 `internal/asc/eula.go` (+31 -0) 📝 `internal/asc/pricing_test.go` (+17 -0) 📝 `internal/asc/review_responses.go` (+27 -0) 📝 `internal/asc/review_responses_test.go` (+27 -0) _...and 1 more files_ </details> ### 📄 Description ## Summary - Added validation to `getBundleIDLinkages` to ensure `bundleID` is not empty when `nextURL` is not provided, preventing malformed API requests. ## Validation - [x] `make format` - [x] `make lint` - [x] `make test` ## Wall of Apps (only if this PR adds/updates a Wall app) - [ ] I ran `make generate app APP="..." LINK="..." CREATOR="..." PLATFORM="..."` (or manually edited `docs/wall-of-apps.json` + ran `make update-wall-of-apps`) - [ ] I committed all generated files: - `docs/wall-of-apps.json` - `README.md` Entry template: ```json { "app": "Your App Name", "link": "https://apps.apple.com/app/id1234567890", "creator": "your-github-handle", "platform": ["iOS"] } ``` Common Apple labels: `iOS`, `macOS`, `watchOS`, `tvOS`, `visionOS`. --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:32:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#667
No description provided.