Automate App Store and Play Store releases with API scripts #119
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.48) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 535 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.376
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #119"
general
weight: 0.35
holdenk
Summary
Adds automated release workflows for both iOS (App Store Connect) and Android (Google Play) platforms, eliminating manual console clicks during the guided release process. Includes API client scripts, comprehensive test suites, build artifact verification, and CI integration for signed builds.
Changes
scripts/asc_api.py): Handles build processing waits, TestFlight group assignment, version creation, build selection, metadata submission, and release approval via the ASC API. Includes JWT signing with ES256 and DER signature conversion.scripts/play_publish.py): Manages AAB uploads to Internal testing and promotion to Production tracks via the androidpublisher v3 API. Includes RS256 JWT signing via openssl.-
scripts/verify_aab.py: Validates Android App Bundle contents (native libraries, 16 KB page alignment, manifest integrity, version codes)-
scripts/verify_aab_selftest.py: Comprehensive test suite for the AAB verifier-
scripts/asc_api_selftest.py: Tests ASC API script against a fake App Store Connect with JWT signature verification-
scripts/play_publish_selftest.py: Tests Play API script against a fake androidpublisher with JWT verification-
.github/workflows/release-build.yml: New workflow for building and signing store artifacts in GitHub Actions with build provenance attestation-
scripts/release-build-tag.sh: Helper to create release tags in the build workflow-
scripts/release-lib.sh: Added--skip-device-tests,--host-tests,--ci-build/--local-build, and--statusflags; support for shared release records; device test argument configuration-
scripts/release-apple.sh: Integrated ASC API automation, CI build support, and IPA verification-
scripts/release-android.sh: Integrated Play API automation, CI build support, and AAB verification-
scripts/release-lib-selftest.sh: Extended tests for new flags and shared record functionalitydocs/RELEASE.md,docs/APP_STORE_SUBMISSION.md,docs/BUILD_AND_TEST.md): Documented new API-based workflows, CI build option, and device test behavior-
ios/Flutter/Release.xcconfig: Added signing overrides for unattended CI builds-
ios/.gitignore: Added ReleaseSigning.xcconfig-
.github/workflows/ci.yml: Added AAB verifier self-testTesting
./scripts/test.sh) — all self-tests for the new scripts are integratedThe changes are covered by comprehensive self-tests that run in CI and locally. The API scripts use stdlib only (Python 3.9+) with openssl for signing, matching the project's constraints for release machines.
<!-- codesmith:footer -->
---
<a href="https://backend.blacksmith.sh/track/enable-autofix?expires=1797398837&installation_model_id=429530&pr_number=119&ref=codesmith_pr_footer&repository=liberatedbread%2Fliberatedbread-mobile&return_to=https%3A%2F%2Fgithub.com%2Fliberatedbread%2Fliberatedbread-mobile%2Fpull%2F119&signature=43077ede0e5a84af43256d5110400a631690a64c0f32400755c57148e44ea85a"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img alt="Autofix with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png" width="190" height="28"></picture></a>
<sup><a href="https://app.blacksmith.sh/liberatedbread/codesmith/liberatedbread-mobile/pr/119?autoLogin=true&ref=codesmith_pr_footer">Open in [code]smith</a> · Need help on this PR? Tag <code>@codesmith-bot</code> with what you need.</sup>
<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->