Repository navigation
fix(ci): publish APK-only GitHub releases - #160
Conversation
|
Warning Review limit reached
Next review available in: 52 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe change adds a Bash self-test for the release workflow and runs it in CI. The ChangesRelease publishing workflow
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant UnitTests
participant Setup
participant Apks
participant PublishRelease
UnitTests->>UnitTests: Run test-release-workflow.sh
Setup->>PublishRelease: Report successful completion
Apks->>PublishRelease: Report successful completion
PublishRelease->>PublishRelease: Check non-cancelled run and successful prerequisites
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/test-release-workflow.sh`:
- Around line 26-50: The checks in expect_publish_job_to_contain currently
search all of publish_job, allowing step-level conditions to satisfy job-level
requirements. Extract the publish-release job’s job-level if block before
validating !cancelled() and the needs.*.result fragments, and keep the existing
dependency check scoped appropriately.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f3873a4a-4fe6-4a5a-a5e4-96e8efb94aa1
📒 Files selected for processing (4)
.github/workflows/release.ymldocs/superpowers/plans/2026-08-03-apk-only-release-publish.mddocs/superpowers/specs/2026-08-03-apk-only-release-publish-design.mdscripts/test-release-workflow.sh
Summary
Latestasset behaviorRoot cause
Release run 30814079342 skipped
playby design and successfully built both APK artifact sets, but GitHub propagated the skipped dependency through the job chain becausepublish-releasehad no explicit status condition. The job was therefore skipped without executing any steps.Validation
./gradlew -Dorg.gradle.jvmargs="-Xmx4g -Dfile.encoding=UTF-8" test --max-workers=2bash -n scripts/test-release-workflow.sh./scripts/test-release-workflow.sh./scripts/test-check-build-supply-chain.sh./scripts/check-build-supply-chain.shgo run github.com/rhysd/actionlint/cmd/[email protected] .github/workflows/release.ymlgit diff --check upstream/main...HEADSummary by CodeRabbit
Bug Fixes
Tests
Documentation