Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): pin expo-audio so the release smoke patch stays in use #11426

Mergedipanasenko(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/11426/headmerged by juliusmarminge View on GitHub

Problem

The Release Smoke job fails on every PR (for example #8419):

[ERR_PNPM_UNUSED_PATCH] The following patches were not used: expo-audio@57.0.4
Error: Command failed: vp install --lockfile-only --ignore-scripts

scripts/release-smoke.ts deletes pnpm-lock.yaml and re-resolves from scratch. expo-audio 57.0.5 was published on 2026-09-11, so the ~57.0.4 range now resolves to 57.0.5 and the expo-audio@57.0.4 patch in pnpm-workspace.yaml is unused. Main CI was green earlier the same day because the release was not out yet.

Fix

Pin expo-audio to the exact 57.0.4 in apps/mobile/package.json, matching how expo-sharing is already pinned for its patch. The lockfile specifier is updated to match; the resolved version and patch hash are unchanged.

Note: @react-native-menu/menu is ^2.0.0 with a 2.0.0 patch and has the same latent risk, left as is to keep this PR to one concern.

Fable 5.1 via Claude Code in T3 Code

Closes #11437

Summary by CodeRabbit

  • Chores
    • Standardized the mobile app’s audio package version to ensure consistent installations.
    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. Approvability

      Verdict: Approved at 60f12dd

      Macroscope's review found this PR approvable — The change is limited to ignored dependency metadata, pinning the existing expo-audio version and synchronizing the lockfile without altering application logic or introducing user-facing behavior. Its impact is confined to deterministic fresh-install and release-smoke dependency resolution.

      Notes:

      • No code objects were reviewed. Approvability was decided on eligibility alone.
      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    3. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review Change StackReview Change Stack

      No actionable comments were generated in the recent review. 🎉

      ℹ️ Recent review info
      ⚙️ Run configuration

      Configuration used: Path: .coderabbit.yaml

      Review profile: CHILL

      Plan: Advanced

      Run ID: e70911ba-2327-433c-b73a-f9a63d159a45

      📥 Commits

      Reviewing files that changed from the base of the PR and between b1e223e2b0d87124883b1410ab52dd6a1338e40d and 60f12dd66d9b514639fce9c6f06f408606366250.

      ⛔ Files ignored due to path filters (1)
      • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
      📒 Files selected for processing (1)
      • apps/mobile/package.json

      Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.


      📝 Walkthrough

      Walkthrough

      The mobile app now specifies the exact expo-audio version 57.0.4 instead of the semver range ~57.0.4.

      Changes

      Mobile dependency update

      Layer / File(s)Summary
      Pin expo-audio dependency
      apps/mobile/package.json
      The dependency changes from ~57.0.4 to the exact version 57.0.4.

      Priority: ⬇️ Low

      Estimated code review effort: 1 (Trivial) | ~3 minutes

      Change: Bug fix

      Suggested reviewers: juliusmarminge

      Merge Risk: ⚪ Minimal · up to 60f12

      The release smoke patch will remain selected during fresh dependency resolution, with no current merge-blocking risk identified.

      🚥 Pre-merge checks | ✅ 5
      ✅ Passed checks (5 passed)
      Check nameStatusExplanation
      Docstring Coverage✅ PassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
      Linked Issues check✅ PassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes check✅ PassedCheck skipped because no linked issues were found for this pull request.
      Title check✅ PassedThe title clearly states that the PR pins expo-audio for the mobile release smoke patch. It is concise and directly related to the main change.
      Description check✅ PassedThe description clearly explains the Release Smoke failure, the cause, the exact fix, the scope limitation, and the related issue. It does not use the template headings or include the checklist, but i…
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests

      Comment `@coderabbitai help` to get the list of available commands.
    4. Independent validation of 60f12dd66d9b514639fce9c6f06f408606366250 (merge-base b1e223e2b0d8).

      Independently reproduced the failing dependency-resolution step using isolated copies of the workspace manifests, local archive, and patches listed by release-smoke.ts, with fresh lockfiles. vp install --lockfile-only --ignore-scripts failed at the merge-base with ERR_PNPM_UNUSED_PATCH: expo-audio@57.0.4, then exited successfully on this revision. The regenerated lockfile retains version 57.0.4 and patch hash fa9a3e0442ed395d4071bb406e08c3a471c9a84700bdfa0b9ad7ff144c96041a. This exercises dependency resolution, not the full release-smoke script or a mobile build.

      Reproduction scripts and recorded results — release-fixture.py; the numbered metadata file pins this PR’s tested revisions.

      Model: GPT-6. Harness: Codex.

    5. juliusmarminge merged this18d8cbf

    6. juliusmarminge closed this

Sign in to join this conversation.