Repository navigation
Check Collection Android arm64 debug linking in CI - #151
Conversation
Exercise the first-build JNI link path separately from the release-mode candidate and keep APK diagnostics on failure. Refs: LVT-217
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🚅 Deployed to the lovat-pr-151 environment in lovat 8 services not affected by this PR
|
There was a problem hiding this comment.
Lovat AI review: 1 new finding(s) at cea58d010346b37491d0919ac7d15cff0dec4ad4.
The persistent Lovat AI review comment contains the latest complete result.
.github/workflows/collection-android-debug.yml:47— Pipeline through tee masks build failures (BUG· confidence 0.95)
| CI: '1' | ||
| EXPO_NO_DOTENV: '1' | ||
| EXPO_PUBLIC_API_URL: http://127.0.0.1:9877 | ||
| run: | |
There was a problem hiding this comment.
HIGH · BUG — Pipeline through tee masks build failures
The build step runs { ... } 2>&1 | tee "$evidence/build.log". The default bash on GitHub Actions is invoked with -e but not -o pipefail, so the step's exit status is that of tee, not the command group. If npm ci, the version check, expo prebuild, or the Gradle assembleDebug link fails (exactly the failure this workflow is meant to catch, per the LVT-217 comment), tee succeeds and the job is reported green.
Suggested fix: Add set -o pipefail at the top of the run block (or configure defaults.run.shell as bash -e -o pipefail {0}) so the step fails when the build fails.
Lovat AI review · confidence 0.95 · z-ai/glm-5.3-flash
Lovat AI reviewStatus: completed · Model: Reviewed commit: Critical: 0 · High: 1 · Medium: 0 · Low: 0 Overall assessmentThis is a CI-only workflow with minimal risk surface: read-only permissions, pinned actions, no secrets. The main defect is that the build step pipes its command group through tee without pipefail, so a failed Gradle link or npm ci would be masked by tee's exit status and the workflow would report success. Everything else, including the artifact retention and signature checks, is reasonable. FindingsHigh (1)
Review details
Limitations
|
Summary
npm ci, Android prebuild and a single uncached:app:assembleDebugforarm64-v8a, the failing debug variant in LVT-217.Verification
git diff --checkpassed.