Skip to content

Version Packages - #14216

Merged
raymondjacobson merged 1 commit into
mainfrom
changeset-release/main
Aug 3, 2026
Merged

raymondjacobson merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented May 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@audius/sdk@16.0.0

Major Changes

  • 6bd5c27: Rename the path field on getNotifications and getPlaylistUpdates from userId to id, matching the convention used by every /users/{id}/… method. Add an optional userId query field that carries the requester id for personalization of embedded related.users (e.g. does_current_user_follow).

    Migration:

    // Before
    sdk.notifications.getNotifications({ userId: "aE9MA" });
    sdk.notifications.getPlaylistUpdates({ userId: "aE9MA" });
    
    // After
    sdk.notifications.getNotifications({
      id: "aE9MA", // notifications owner (was `userId`)
      userId: "aE9MA", // requester id, for personalization of related.users
    });
    sdk.notifications.getPlaylistUpdates({ id: "aE9MA", userId: "aE9MA" });

    The two ids differ only when a manager reads a managed user's notifications; in the normal flow they're the same value. The wire format and server URL are unchanged — only the request type shape was renamed to remove a collision between the path and the new query parameter.

Minor Changes

  • be0537f: Add an optional userId?: string query parameter to three endpoints so the backend can personalize embedded users in related.users / collection owners (does_current_user_follow, etc.):

    • events.getRemixContests
    • users.getContestsByUser
    • playlists.getPlaylistsNewReleases

    Without this, the endpoints' handlers (app.getMyId(c)) resolved the requester id from the missing ?user_id= query and got 0, so embedded user objects came back with does_current_user_follow: false for everyone. Clients that primed those into a shared cache (e.g. via primeRelatedData / primeCollectionData) silently poisoned follow state for the surfaced artists.

    Existing callers continue to work unchanged — the field is optional. Pass Id.parse(currentUserId) (or whichever id your app treats as "me") to opt in.

Patch Changes

  • b803e5e: Point the production anti-abuse oracle endpoint at https://anti-abuse-oracle.audius.engineering, replacing the old https://discoveryprovider.audius.co host in the SDK services config and supporting clients/services.
  • 90725b5: Fix AlbumsApi.createAlbum when callers provide an albumId, ensuring the id is passed through as playlist create metadata and blank album creation sends explicit empty playlist contents.
  • da6c724: Add allowedApiKeys to UploadTrackMetadataSchema so it's preserved when uploading or updating tracks. Previously the strict schema stripped the field, which prevented the "Disallow Streaming via the API" setting from being saved.
  • 8662a56: Generate the production SDK storage-node defaults from the canonical Audius storage-node hostname, removing creatornode2.audius.co and creatornode3.audius.co.

@audius/sdk-legacy@6.0.29

Patch Changes

  • f3d55fa: Remove FingerprintJS from all clients and services. Sign-in no longer collects a visitorId, the identity service's fingerprint-based OTP bypass is gone (new devices always require OTP), and the anti-abuse-oracle drops the per-fingerprint device-count scoring and UI section.
  • Updated dependencies [b803e5e]
  • Updated dependencies [90725b5]
  • Updated dependencies [6bd5c27]
  • Updated dependencies [da6c724]
  • Updated dependencies [be0537f]
  • Updated dependencies [8662a56]
    • @audius/sdk@16.0.0

@audius/sp-actions@1.0.33

Patch Changes

  • Updated dependencies [f3d55fa]
    • @audius/sdk-legacy@6.0.29

@audius/common@1.5.79

Patch Changes

  • 272b8db: Fix freeform/custom track genres silently reverting to Electronic on save. toSdkGenre in the track adapter filtered out any value not in the canonical Genre enum and returned undefined, which then fell back to DEFAULT_GENRE (Electronic) before reaching the SDK. Now any non-empty genre string is passed through unchanged (the SDK upload schema already caps it at 100 chars), so custom genres entered by artists are preserved end-to-end.
  • 98ad217: Forward the running CodePush bundle label to Optimizely as an otaVersion attribute (or "native" when no OTA is applied), so feature flags can be gated on a specific OTA cut in addition to the native binary version.
  • 5d9d4e4: Add usePrefetchTrackComments and usePrefetchTrackPageLineup, hooks that warm a track's comment list and "more by / remixes / you might also like" lineup as early as possible (e.g. on track screen mount) so those sections render from cache instead of starting their own fetch only once they mount. Each keeps a live observer so the warmed data isn't evicted before the section mounts. usePrefetchTrackComments can fire from a bare trackId; usePrefetchTrackPageLineup still depends on the hero track + owner handle but starts the instant those resolve rather than waiting for the mobile screen-ready/animation gate.
  • 791b612: Hide the profile Contests tab unless the CONTESTS feature flag is enabled and the artist hosts at least one remix contest. Previously the desktop and mobile-web profiles always rendered the tab for any artist (ignoring the flag entirely), and the React Native side respected the flag but still showed the tab for artists who don't run any contest — both led to an empty/unreachable destination. Adds a shared useUserHasRemixContest hook that paginates the global remix-contest list (matching ContestsTab's page cap) and matches event.userId against the host. Direct visits to /:handle/contests on a non-qualifying profile fall back to the default tab so the body stays in sync with the (now hidden) tab list.
  • f3d55fa: Remove FingerprintJS from all clients and services. Sign-in no longer collects a visitorId, the identity service's fingerprint-based OTP bypass is gone (new devices always require OTP), and the anti-abuse-oracle drops the per-fingerprint device-count scoring and UI section.
  • f97f1ac: Remove the unused legacy lineup store module (store/lineup: lineupActions, lineupReducer, lineupSelectors, LineupBaseActions, lineupRegistry) from @audius/common. The lineup engine has been fully migrated to tan-query hooks plus the playback slice; these exports had no remaining consumers and were not wired into any store.
  • b52d005: Rename the Feed page's "Chronological" tab to "Latest" on web and mobile. The persisted feed-page:tab localStorage value is migrated transparently so existing users land on the same tab they had selected.
  • Updated dependencies [b803e5e]
  • Updated dependencies [90725b5]
  • Updated dependencies [6bd5c27]
  • Updated dependencies [da6c724]
  • Updated dependencies [be0537f]
  • Updated dependencies [8662a56]
    • @audius/sdk@16.0.0

@audius/mobile@1.5.186

Patch Changes

  • 5a20b85: Fix bottom tab bar color clipping after the comment drawer opens. The drawer rendered a white overlay over the bottom safe area to color the gap below its footer, but it was kept mounted after dismissal and covered the tab bar's surface1 padding, leaving a visible color seam at the bottom. The overlay now only renders while the drawer is visible.
  • ea2ca22: Fix a thin white sliver appearing above the cover image when pulling to refresh on the mobile contest page. ContestHero was clipping its scaled cover image with overflow: 'hidden', so the existing scale + translate over-scroll interpolation could only stretch within the 220px hero box and never bled upward into the over-scroll gap. The clip is removed (mirroring ProfileCoverPhoto), and the title/CTA/countdown section gets its own opaque background to cover the downward bleed — same sibling-with-bg pattern ProfileHeader uses below the cover photo.
  • 76ef0bb: Restrict the Top Albums This Month, New Album Releases, and Best Selling Albums sections on the Explore page to the Albums tab only, matching web behavior.
  • 1259682: Fix video embed sizing in fan club post cards. The WebView's embedded HTML set iframe { height: 100% } but neither <html> nor <body> had an explicit height, so the iframe collapsed and left a visible gap inside the 16:9 container. Giving html, body an explicit 100% height lets the iframe fill the card as intended.
  • af63712: Fix initial dark mode load on the mobile app: with theme set to Auto and the system in dark mode, the app launched in light and only flipped after backgrounding. Also fix SelectablePill components keeping the previous palette's colors after a theme flip.
  • c917fd6: Fix the mobile play queue drag-to-reorder gesture: dragging a track row was being claimed by the queue drawer's swipe-to-dismiss pan responder, so reorder attempts dragged the drawer down instead. The drawer now suspends its pan responder while a row is being dragged. Also adds a grabber bar above the Queue title and a bit more breathing room in the header.
  • 5a5a93f: Smooth out the infinite-scroll feel on Trending and Feed lineups. The mobile TrackLineup previously waited a 100ms debounce before dispatching loadNextPage, then waited again for the parent's isFetching to round-trip back through tanquery before any skeleton rows appeared — so users would scroll to the bottom, see nothing happen, then see late skeletons, then tracks. The threshold is now bumped from 0.5 to a full viewport ahead, the debounce and the duplicate onScroll handler are removed, and a synchronous local "load triggered" flag flips skeletons on in the same tick the scroll handler fires.
  • 432167f: Migrate seven legacy redux-saga packages to tan-query hooks (recovery-email, change-password, playlist-updates, search-users-modal, dashboard-page, cache/tracks, recommendation, and the dead search-ai-bar). Mobile-facing changes: AccountSettings now uses useResendRecoveryEmail, ChatUserListScreen uses useSearchUsersModal infinite query, track edit/delete flows go through useUpdateTrack/useDeleteTrack hooks instead of the saga + confirmer queue.
  • 98ad217: Forward the running CodePush bundle label to Optimizely as an otaVersion attribute (or "native" when no OTA is applied), so feature flags can be gated on a specific OTA cut in addition to the native binary version.
  • 791b612: Hide the profile Contests tab unless the CONTESTS feature flag is enabled and the artist hosts at least one remix contest. Previously the desktop and mobile-web profiles always rendered the tab for any artist (ignoring the flag entirely), and the React Native side respected the flag but still showed the tab for artists who don't run any contest — both led to an empty/unreachable destination. Adds a shared useUserHasRemixContest hook that paginates the global remix-contest list (matching ContestsTab's page cap) and matches event.userId against the host. Direct visits to /:handle/contests on a non-qualifying profile fall back to the default tab so the body stays in sync with the (now hidden) tab list.
  • f3d55fa: Remove FingerprintJS from all clients and services. Sign-in no longer collects a visitorId, the identity service's fingerprint-based OTP bypass is gone (new devices always require OTP), and the anti-abuse-oracle drops the per-fingerprint device-count scoring and UI section.
  • b52d005: Rename the Feed page's "Chronological" tab to "Latest" on web and mobile. The persisted feed-page:tab localStorage value is migrated transparently so existing users land on the same tab they had selected.
  • Updated dependencies [b803e5e]
  • Updated dependencies [90725b5]
  • Updated dependencies [272b8db]
  • Updated dependencies [6bd5c27]
  • Updated dependencies [98ad217]
  • Updated dependencies [da6c724]
  • Updated dependencies [be0537f]
  • Updated dependencies [5d9d4e4]
  • Updated dependencies [791b612]
  • Updated dependencies [f3d55fa]
  • Updated dependencies [8662a56]
  • Updated dependencies [f97f1ac]
  • Updated dependencies [b52d005]
    • @audius/sdk@16.0.0
    • @audius/common@1.5.79

@audius/protocol-dashboard@0.1.19

Patch Changes

  • Updated dependencies [b803e5e]
  • Updated dependencies [90725b5]
  • Updated dependencies [272b8db]
  • Updated dependencies [6bd5c27]
  • Updated dependencies [98ad217]
  • Updated dependencies [da6c724]
  • Updated dependencies [be0537f]
  • Updated dependencies [5d9d4e4]
  • Updated dependencies [791b612]
  • Updated dependencies [f3d55fa]
  • Updated dependencies [8662a56]
  • Updated dependencies [f97f1ac]
  • Updated dependencies [b52d005]
    • @audius/sdk@16.0.0
    • @audius/common@1.5.79
    • @audius/sdk-legacy@6.0.29

@audius/web@1.5.180

Patch Changes

  • 64740af: Fix profile and track cover photo banners being clipped horizontally. An inline position: relative on the inner photo div was overriding the CSS module's position: absolute, which dropped the photo into the parent flex container alongside the edit button — both flex items competed for space, shrinking the banner below full width.
  • 8359c3f: Right-align the Host tag in contest comments to match the track-page CommentBlock layout. Previously the badge sat inline next to the username; now the header uses justifyContent='space-between' with user link + timestamp on the left and the Host badge in a flexShrink: 0 wrapper on the right. Applies to both top-level contest comments and nested replies.
  • 0bc145f: Fix artist hover card blur overlay overflowing the card. The .artistCoverPhoto banner div lacked a positioning context, so the blur overlay's position: absolute; inset: 0 escaped to the nearest positioned ancestor and bled outside the cover photo banner. Adding position: relative (and overflow: hidden) to the banner contains the blur to the intended 136px header.
  • 4cf2bee: Honor "Request Desktop Site" on mobile browsers: when a mobile browser flips its User-Agent to a desktop one (via the browser's "Request Desktop Site" toggle, or iPadOS Safari's default Mac UA), serve the desktop web app instead of the mobile experience.
  • 791b612: Hide the profile Contests tab unless the CONTESTS feature flag is enabled and the artist hosts at least one remix contest. Previously the desktop and mobile-web profiles always rendered the tab for any artist (ignoring the flag entirely), and the React Native side respected the flag but still showed the tab for artists who don't run any contest — both led to an empty/unreachable destination. Adds a shared useUserHasRemixContest hook that paginates the global remix-contest list (matching ContestsTab's page cap) and matches event.userId against the host. Direct visits to /:handle/contests on a non-qualifying profile fall back to the default tab so the body stays in sync with the (now hidden) tab list.
  • f3d55fa: Remove FingerprintJS from all clients and services. Sign-in no longer collects a visitorId, the identity service's fingerprint-based OTP bypass is gone (new devices always require OTP), and the anti-abuse-oracle drops the per-fingerprint device-count scoring and UI section.
  • b52d005: Rename the Feed page's "Chronological" tab to "Latest" on web and mobile. The persisted feed-page:tab localStorage value is migrated transparently so existing users land on the same tab they had selected.
  • 519da44: Smooth out lineup infinite-scroll on Trending, Feed, and other tanquery-driven track lists. The scroll-to-bottom "chunk" had three causes stacked: a small fixed 500px threshold, skeletons that gated on tanquery's isFetching (so they only painted after a multi-tick state round-trip), and a per-page skeleton count of just pageSize (4 on Trending, ~480px tall on desktop) that didn't fill the loading window. The threshold is now ~2× the scroll parent's viewport, a synchronous trigger flag renders skeletons on the next frame, and the skeleton count is sized to fill the threshold area so the bottom stays populated even when the user scrolls in faster than the next page can return.
  • Updated dependencies [b803e5e]
  • Updated dependencies [90725b5]
  • Updated dependencies [272b8db]
  • Updated dependencies [6bd5c27]
  • Updated dependencies [98ad217]
  • Updated dependencies [da6c724]
  • Updated dependencies [be0537f]
  • Updated dependencies [5d9d4e4]
  • Updated dependencies [791b612]
  • Updated dependencies [f3d55fa]
  • Updated dependencies [8662a56]
  • Updated dependencies [f97f1ac]
  • Updated dependencies [b52d005]
    • @audius/sdk@16.0.0
    • @audius/common@1.5.79

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from e94caaa to 655db81 Compare May 4, 2026 17:57
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 655db81 to 735e296 Compare May 4, 2026 19:12
@pull-request-size pull-request-size Bot removed the size/S label May 4, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from f378d93 to 6d2f2fa Compare May 5, 2026 01:13
@pull-request-size pull-request-size Bot added size/L and removed size/M labels May 5, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 16 times, most recently from b40ac9b to 68967b4 Compare May 11, 2026 21:23
@socket-security

socket-security Bot commented May 20, 2026 •

Copy link
Copy Markdown

Dependency limit exceeded — report not shown.

This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report.

Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard.

Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 8 times, most recently from c42f4f9 to 8385658 Compare May 22, 2026 23:47
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 4 times, most recently from cf2f0a8 to 0b55efb Compare June 2, 2026 20:15
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from efd4f57 to 45b7ebe Compare June 10, 2026 02:02
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 5 times, most recently from 74d460c to 5bd35aa Compare June 17, 2026 21:04
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from c0d7b65 to 160e9dc Compare June 30, 2026 21:12
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 160e9dc to 8cc11d9 Compare July 1, 2026 17:40
@raymondjacobson
raymondjacobson merged commit 7a6ee8e into main Aug 3, 2026
3 checks passed
@raymondjacobson
raymondjacobson deleted the changeset-release/main branch August 3, 2026 20:37
dylanjeffers added a commit that referenced this pull request Aug 25, 2026
…sets (#14564)

## Problem

Mobile OTA history is keyed on the **`packages/mobile/package.json`
version baked into the JS bundle at build time**
([`src/app/ota-updates.ts`](https://github.com/AudiusProject/apps/blob/main/packages/mobile/src/app/ota-updates.ts)),
not on the native version. The client fetches:

```
{OTA_UPDATE_URL}/histories/{platform}/{channel}/{package.json version}.json
```

CI publishes with `--binary-version` = main's package.json version at
dispatch time. So an OTA publish only reaches devices whose **shipped
store build was compiled from that same package.json version**.

On 2026-08-03, `Version Packages (#14216)` bumped mobile **1.5.185 →
1.5.186**. On that run
([30851065355](https://github.com/AudiusProject/apps/actions/runs/30851065355))
the Android production build uploaded fine but **`iOS Production Build &
Upload` failed**, and no iOS production build has run since — later main
pushes only trigger OTA jobs, which are gated on `version_changed`.

Result:

- Every iPhone still runs a **1.5.185** bundle and polls
`histories/ios/production/1.5.185.json`, whose newest release is from
**2026-07-28**. No OTA banner since.
- The two production OTA dispatches on 2026-08-06
([31128845487](https://github.com/AudiusProject/apps/actions/runs/31128845487),
[31131250733](https://github.com/AudiusProject/apps/actions/runs/31131250733))
both reported success and wrote to `production/1.5.186.json` —
**orphaned on iOS**, live only for Android users on the 1.5.186 Play
build.

The failure is silent by design: the client converts a 404 or empty
history into `releaseHistoryNoUpdatePlaceholder` so CodePush doesn't
throw. No error, no banner, no signal.

## Change

1. Roll `packages/mobile/package.json` back to **1.5.185** so production
OTA publishes target the binary users actually run.
2. Add `@audius/mobile` to the changesets `ignore` list, so the release
tooling stops moving what is effectively an OTA routing key (12 mobile
changesets are queued on in-flight branches and would re-bump it within
days).
3. Sync the `packages/mobile` entry in `package-lock.json`.

## Why this is safe

- **Native versions are independent of this field.** Android
`versionName` comes from `build.gradle` (`1.1.534`), `versionCode` from
Play's max + 1; iOS build number from `app_store_build_number` + 1. For
mobile, `package.json` version is purely an OTA routing key with no
store meaning.
- **The triggered production builds don't reach store users.** The
rollback reads as `version_changed=true` and fires both production build
jobs, but iOS `lane :upload` calls `pilot(...)` (TestFlight, explicitly
"Don't actually distribute"), Android's `build_and_upload` no-ops unless
`buildFileVersion > releasedVersion`, and both sit behind the
`mobile-production-ios` / `mobile-production-android` environment gates.
- **`MIN_APP_VERSION` is not tripped.**
[`useUpdateRequired`](https://github.com/AudiusProject/apps/blob/main/packages/mobile/src/hooks/useUpdateRequired.ts)
forces an update screen when package.json `semver.lt` the remote value.
Default is `1.0.0`, and iPhones run 1.5.185 bundles today with no
forced-update screen, so the live value is already ≤ 1.5.185.
- `changeset status` exits 0 with `@audius/mobile` absent from the bump
list. `main` currently has only 4 changesets, all `@audius/sdk`, so
nothing needs untangling first.

The `## 1.5.186` entry in `packages/mobile/CHANGELOG.md` is left in
place — those changes really did ship to rc and to Android.

## Follow-ups (not in this PR)

- **The iOS 1.5.186 production build still needs fixing**, or iOS drifts
behind again on the next native release.
- **4 in-flight changesets will break `Version Packages` once mobile is
ignored** — changesets throws on any changeset listing both ignored and
non-ignored packages. These need the `'@audius/mobile': patch` line
dropped before they merge: `ota-version-flag-attribute.md`,
`profile-conditional-contests-tab.md`, `remove-fingerprintjs.md`,
`rename-chronological-feed-to-latest.md`.
- Consider a CI guard that refuses an OTA publish when no store build
exists for the target binary version — today that case is a green
checkmark reaching nobody.

## After merge

`mobile-ota-release-production` is `workflow_dispatch`-only and does not
depend on `version_unchanged`, so once `current_version` reads 1.5.185
you can dispatch production OTA directly to unblock the ~3 weeks of
undelivered JS fixes. A normal main push first gets you an `rc` publish
as a canary.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
dylanjeffers added a commit that referenced this pull request Nov 7, 2026
…p updates (#14751)

## Problem

The desktop app has not updated since Aug 3.

Desktop has two update paths, and both need a newer version than the one
installed:

- **Web update** (`checkForWebUpdate` in
`packages/web/src/electron.js`): polls `s3://audius.co/package.json`
every minute and only downloads `build-production.tar.gz` when the
marker has the same major.minor and a **strictly higher patch**.
- **Full app update** (electron-updater): reads
`download.audius.co/latest*.yml` and only installs a **higher version**.

Nothing bumps `packages/web/package.json` per release. It has been
`1.5.180` since Version Packages #14216 (2026-08-03). The open Version
Packages PR (#14609) doesn't touch web either, because no changeset
names `@audius/web`. Every production approval since then has published
version 1.5.180:

- `s3://audius.co/package.json` was last written 2026-11-03 and says
`1.5.180`.
- `latest*.yml` says `1.5.180`, and the Mac build was re-released
2026-11-03 under the same version.

So a desktop install on 1.5.180 sees nothing newer and keeps whatever
web bundle it installed, anywhere from Aug to Nov. This is also why
desktop users were still hitting the old 500 MB upload cap long after
the 2 GB change.

## Fix

`production-gate` now picks the release version after approval:

```
next = patch + 1 of max(packages/web/package.json, published s3://audius.co/package.json)
```

`web-deploy` and the Mac/Windows/Linux desktop jobs write that version
into `packages/web/package.json` and `build-production/package.json`
before packaging. That keeps the S3 marker, the web-update tarball, the
electron-updater feeds and the app's own `appVersion` on the same
number. The Slack messages report it too.

Why after approval: runs wait at the gate for days and get approved out
of order. A version picked at build time would give every waiting run
the same number.

Nothing changes on the client. The S3 layout is the same
(`packages/web/` prefix in the tar, `package.json` inside
`build-production/`). An old client only understands "higher patch", and
that's what it gets.

## How existing 1.5.180 installs pick it up

The next approved production run publishes **1.5.181** (checked against
the live marker: repo 1.5.180, published 1.5.180 → 1.5.181).

- Running 1.5.180 apps see the 1.5.181 marker within a minute and
download the bundle. The web update banner appears (patch bumps are
below `MIN_APP_VERSION`, so it's the soft banner), and accepting it
reloads into the current web build.
- electron-updater also sees 1.5.181 in `latest*.yml` on next launch,
downloads the full app, and installs it on quit. That path is silent for
patch bumps.
- Every later approval goes to 1.5.182, 1.5.183, and so on, so this
can't freeze again.

## Confirmed on a real install

On a Mac desktop install from Aug 18:
- `/Applications/Audius.app` is 1.5.180.
- `~/Library/Application Support/Audius/build-production/package.json`
is also 1.5.180, so `getNewestBuildDirectory` keeps loading the bundled
Aug 18 build.
- The S3 marker is 1.5.180, so `checkForWebUpdate` never fires.
- The bundled `app.asar` has none of the flags added after Aug 18
(`track_tile_waveform`, `now_playing_comments`).

## Verify after the next approval

1. `curl -s https://s3.us-west-1.amazonaws.com/audius.co/package.json |
jq -r .version` prints `1.5.181`, and the `Pick release version` step in
the gate job logs the same number.
2. Leave that 1.5.180 desktop app open for a minute and the web update
banner appears. Accept it, then check that `~/Library/Application
Support/Audius/build-production/package.json` is 1.5.181.
3. Quit and relaunch, and electron-updater installs the 1.5.181 app.

## Notes

- The repo version stays the floor. A manual bump, or a minor bump for a
forced full update, still wins over the published marker.
- If two runs are approved within minutes of each other, both can pick
the same number before either writes the marker. The second tarball then
overwrites the first at that version, and clients that already took the
first wait one more release. This only matters for near-simultaneous
approvals, so I didn't add locking.
- The web bundle's embedded version (Optimizely `appVersion`, analytics,
the settings page) still comes from the repo `package.json` at build
time, because the build runs before the gate. Only the update markers
and desktop app versions are stamped.
- `actionlint` is clean. I ran the version-pick script locally against
the live S3 marker.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant