Repository navigation
Version Packages - #14216
Merged
Merged
Version Packages#14216
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
3 times, most recently
from
May 4, 2026 17:57
e94caaa to
655db81
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
May 4, 2026 19:12
655db81 to
735e296
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
3 times, most recently
from
May 5, 2026 01:13
f378d93 to
6d2f2fa
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
16 times, most recently
from
May 11, 2026 21:23
b40ac9b to
68967b4
Compare
|
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
Bot
force-pushed
the
changeset-release/main
branch
8 times, most recently
from
May 22, 2026 23:47
c42f4f9 to
8385658
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
4 times, most recently
from
June 2, 2026 20:15
cf2f0a8 to
0b55efb
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
3 times, most recently
from
June 10, 2026 02:02
efd4f57 to
45b7ebe
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
5 times, most recently
from
June 17, 2026 21:04
74d460c to
5bd35aa
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
June 30, 2026 21:12
c0d7b65 to
160e9dc
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 1, 2026 17:40
160e9dc to
8cc11d9
Compare
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
getNotificationsandgetPlaylistUpdatesfromuserIdtoid, matching the convention used by every/users/{id}/…method. Add an optionaluserIdquery field that carries the requester id for personalization of embeddedrelated.users(e.g.does_current_user_follow).Migration:
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?: stringquery parameter to three endpoints so the backend can personalize embedded users inrelated.users/ collection owners (does_current_user_follow, etc.):events.getRemixContestsusers.getContestsByUserplaylists.getPlaylistsNewReleasesWithout this, the endpoints' handlers (
app.getMyId(c)) resolved the requester id from the missing?user_id=query and got0, so embedded user objects came back withdoes_current_user_follow: falsefor everyone. Clients that primed those into a shared cache (e.g. viaprimeRelatedData/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
https://anti-abuse-oracle.audius.engineering, replacing the oldhttps://discoveryprovider.audius.cohost in the SDK services config and supporting clients/services.AlbumsApi.createAlbumwhen callers provide analbumId, ensuring the id is passed through as playlist create metadata and blank album creation sends explicit empty playlist contents.allowedApiKeystoUploadTrackMetadataSchemaso 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.creatornode2.audius.coandcreatornode3.audius.co.@audius/sdk-legacy@6.0.29
Patch Changes
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.@audius/sp-actions@1.0.33
Patch Changes
@audius/common@1.5.79
Patch Changes
toSdkGenrein the track adapter filtered out any value not in the canonicalGenreenum and returnedundefined, which then fell back toDEFAULT_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.otaVersionattribute (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.usePrefetchTrackCommentsandusePrefetchTrackPageLineup, 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.usePrefetchTrackCommentscan fire from a bare trackId;usePrefetchTrackPageLineupstill depends on the hero track + owner handle but starts the instant those resolve rather than waiting for the mobile screen-ready/animation gate.CONTESTSfeature 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 shareduseUserHasRemixContesthook that paginates the global remix-contest list (matchingContestsTab's page cap) and matchesevent.userIdagainst the host. Direct visits to/:handle/contestson a non-qualifying profile fall back to the default tab so the body stays in sync with the (now hidden) tab list.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.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.feed-page:tablocalStorage value is migrated transparently so existing users land on the same tab they had selected.@audius/mobile@1.5.186
Patch Changes
ContestHerowas clipping its scaled cover image withoverflow: '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 (mirroringProfileCoverPhoto), and the title/CTA/countdown section gets its own opaque background to cover the downward bleed — same sibling-with-bg patternProfileHeaderuses below the cover photo.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. Givinghtml, bodyan explicit100%height lets the iframe fill the card as intended.TrackLineuppreviously waited a 100ms debounce before dispatchingloadNextPage, then waited again for the parent'sisFetchingto 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 duplicateonScrollhandler are removed, and a synchronous local "load triggered" flag flips skeletons on in the same tick the scroll handler fires.useResendRecoveryEmail, ChatUserListScreen usesuseSearchUsersModalinfinite query, track edit/delete flows go throughuseUpdateTrack/useDeleteTrackhooks instead of the saga + confirmer queue.otaVersionattribute (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.CONTESTSfeature 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 shareduseUserHasRemixContesthook that paginates the global remix-contest list (matchingContestsTab's page cap) and matchesevent.userIdagainst the host. Direct visits to/:handle/contestson a non-qualifying profile fall back to the default tab so the body stays in sync with the (now hidden) tab list.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.feed-page:tablocalStorage value is migrated transparently so existing users land on the same tab they had selected.@audius/protocol-dashboard@0.1.19
Patch Changes
@audius/web@1.5.180
Patch Changes
position: relativeon the inner photo div was overriding the CSS module'sposition: 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.CommentBlocklayout. Previously the badge sat inline next to the username; now the header usesjustifyContent='space-between'with user link + timestamp on the left and the Host badge in aflexShrink: 0wrapper on the right. Applies to both top-level contest comments and nested replies..artistCoverPhotobanner div lacked a positioning context, so the blur overlay'sposition: absolute; inset: 0escaped to the nearest positioned ancestor and bled outside the cover photo banner. Addingposition: relative(andoverflow: hidden) to the banner contains the blur to the intended 136px header.CONTESTSfeature 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 shareduseUserHasRemixContesthook that paginates the global remix-contest list (matchingContestsTab's page cap) and matchesevent.userIdagainst the host. Direct visits to/:handle/contestson a non-qualifying profile fall back to the default tab so the body stays in sync with the (now hidden) tab list.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.feed-page:tablocalStorage value is migrated transparently so existing users land on the same tab they had selected.isFetching(so they only painted after a multi-tick state round-trip), and a per-page skeleton count of justpageSize(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.