Repository navigation
Conversation
App Store Connect's iris API can return gzip-compressed bodies even when the request doesn't ask for them, and urllib does not decompress. The skill scripts called resp.read().decode() and crashed with "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b". For asc-team-key-create the crash came after the key was created, so the agent lost the key ID and a rerun created a duplicate. - Add a read_body() helper to every inline script in asc-team-key-create, asc-app-create-ui and asc-iap-attach, and use it for both success and HTTPError bodies. - asc-team-key-create: document recovering a key that was created when the script failed, instead of re-running it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
App Store Connect's iris web API can answer with a gzip-encoded body. The
asc-team-key-createandasc-iap-attachskills read the response as plain text, so they crash on a gzipped response. When creating an API key, the crash happened after the key was created, which left an extra key behind.Fix
Decode gzip-encoded iris responses before parsing them in both skills (
src/resources/skills/asc-team-key-create/SKILL.md,src/resources/skills/asc-iap-attach/SKILL.md).Testing
Running in a local build of 1.0.35 since 2026-10-14: key creation completed without the crash. No automated test covers the skill text.
🤖 Generated with Claude Code