Skip to content

Expose release API failures and document token permissions - #127

Merged
andre487 merged 1 commit into
mainfrom
fix-release-api-error
Oct 24, 2026
Merged

andre487 merged 1 commit into
mainfrom
fix-release-api-error

Conversation

@andre487

Copy link
Copy Markdown
Owner

Release API failures currently collapse to gh api failed, hiding both the endpoint and HTTP status. Identify the failed API method/path and safe HTTP status, with a token/tag-rule hint for denied reference creation. Keep response bodies, stderr and credentials out of diagnostics.

Document Workflows write alongside Contents write for RELEASE_BOT_TOKEN, including classic PAT scope guidance. GitHub documents this additional permission set for reference creation: https://docs.github.com/en/rest/git/refs#create-a-reference.

Investigation of run 40118993094: same-version preparation succeeded. A read-only replay of finalization passed the real CI/base/tree checks and reached POST git/refs; it stopped before mutation. The existing log does not reveal the failed endpoint/status, so token permissions remain a hypothesis until verified. This PR fixes observability and setup documentation; it cannot change the stored PAT permissions.

Validation: bundle exec fastlane android python_checks passed (79 tests and pinned formatting checks); git diff --check passed. Regression coverage includes HTTP 403, 422, network errors, and suppression of synthetic secrets/GH_DEBUG. No tag or release publication was started.

@andre487
andre487 merged commit 749af5e into main Oct 24, 2026
12 checks passed
@andre487
andre487 deleted the fix-release-api-error branch October 24, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant