Repository navigation
fix(asset-library): show ACTIVE placements; document blocked-players 404 - #33
Conversation
Live App Store Connect returns placement state ACTIVE, which neither its OpenAPI spec nor its docs list. asc dropped those placements as unknown, so `asset-placements list` came back empty for images that are placed. Treat ACTIVE as neither editable, in review nor live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…point Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 31 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The change adds support for ACTIVE placements and documents the reported Game Center response. Apple’s acceptance of manually invoked ACTIVE operations remains unknown, but no concrete merge-blocking impact is established. Pre-merge checks |
|
CI and release builds use Swift 6.2.4, which can't infer `.init(rawValue:)`
inside `value.flatMap { .init(…) }.map { [$0] }` (Swift 6.4 can), so main
has failed to build on CI since #32. Route the eight filter parameters
through a generic `sdkFilter(_:)` whose SDK type comes from the parameter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #33 +/- ##
==========================================
+ Coverage 82.04% 82.54% +0.49%
==========================================
Files 492 518 +26
Lines 14362 15649 +1287
==========================================
+ Hits 11784 12918 +1134
- Misses 2578 2731 +153
🚀 New features to boost your workflow:
|
Why
Read-only checks against a live App Store Connect account after #32 found two problems.
What changed
ACTIVEwere dropped. App Store Connect sendsACTIVE, but neither its OpenAPI spec nor its docs list it.asc asset-placements listcame back empty for images that are placed.ACTIVEis now a known state, treated as neither editable, in review nor live, so asc doesn't offerdeleteorreorderGroupfor it.blocked-players listgets404 PATH_ERROR. The endpoint is in Apple's 4.5 spec and in the Game Center detail's ownblockedPlayerslink, but Apple doesn't serve it, with or without query parameters. Our request is correct, so this is documented as a Gotcha.How it was verified
.activeand an infrastructure test with the live response shape (red:type 'PlacementState' has no member 'active'). The state-names test now includesACTIVE, because the spec it was written from is incomplete.swift testpasses.asset-placements list --image-idnow returns the placement (ACTIVE, version localization).asset-library get,asset-placement-groups list(50 groups includingIPHONE_DUO_PROFILE) andasset-images list(73 images) decode correctly.Checklist
swift testpassesasc web-server## [Unreleased]inCHANGELOG.md(n/a: fixes an unreleased feature; documented in the feature Gotchas)make docs && make check-docspasses.p8, issuer ID or Apple ID session in the diff, output or screenshots🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation