Repository navigation
Wait for Apple screenshot placements and report rejected states - #55
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughPlacement verification now treats ChangesScreenshot placement readiness
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant UploadFlow
participant wait_for_placements
participant api
UploadFlow->>wait_for_placements: Wait for placement readiness
loop While placements are processing
wait_for_placements->>api: Read placement states
api-->>wait_for_placements: Return current placement states
end
wait_for_placements-->>UploadFlow: Return ready placements or raise timeout
Merge Risk: ⚪ Minimal · up to The uploader now waits for Apple's processing state and reports rejected states clearly. No merge-blocking risk was found in the supplied changes. Pre-merge checks |
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The App Store screenshot upload created the 2.1.0 draft and four processed English images, then stopped at placement verification with a generic state error on three attempts. Russian images and cleanup of inherited size sets have not run; the live placement state was not captured.
Wait up to five minutes only for Apple’s documented ASSET_PROCESSING placement state. Every read still validates exact image properties and order; failed or unexpected parent states stop immediately with the actual state. Inventory receipts also expose placement_state, and the final editable-version check remains required.
Validation: 53 script tests pass, including processing-to-ready, timeout without old-set cleanup, failed/reviewed state rejection, order/asset mismatch, inventory state reporting, and final parent-state rejection. No app or capture inputs changed, so simulator screenshots do not apply to this uploader-only change; the accepted screenshots and animation remain in merged PR #54. Independent correctness and acceptance reviews passed with no findings; macOS CI is pending. The actual live failure cause remains unconfirmed until the improved diagnostic runs with the protected master credentials.
Summary by CodeRabbit
Note
Wait for Apple screenshot placements to become ready and report rejected states
wait_for_placementspolling to app-store-metadata.py. It rereads placements for up to 5 minutes, rechecking ordering and asset verification on each poll, with a 5-second sleep while processingverify_placementsnow accepts processing as temporary pending, but raises an error naming the placement ID and state for failed or other non-editable statesMacroscope summarized 4c02c82.