Skip to content

Source maps: delete and rotate old artifacts (Free plan's 25-map cap fills up with OTA updates) #817

Open

Description

@unjica

Problem

Source-map artifacts can be uploaded but never removed. The plan caps in apps/api/src/config/plans.ts (also on /docs/source-maps) are 25 artifacts per project on Free (Pro 250, Business 2,500), counted across all releases. We couldn't find a delete endpoint in apps/api/src/routes or a delete action on the Source maps settings page.

This hurts Expo / React Native users most. Every EAS Update is a new JS bundle with its own release, so it needs one map per platform per update. A team that ships a weekly Android + iOS update uses about 8 maps a month and fills the Free quota in about three months. After that, every upload fails with "Source map storage limit reached" and new updates stop symbolicating. The only fixes today are a plan upgrade or a new project.

Our new guide /error-tracking/react-native/expo-source-maps (in progress) states this limit openly. A rotation option would remove the biggest caveat on that page.

Proposal (scope to be decided, not started)

  • Delete a single artifact, and delete all artifacts for a release (API route + Source maps settings UI, owner/admin only, audit-logged).
  • Optional rotation: keep only the newest N releases' maps per app, or expire maps older than X days, so quotas free up on their own.
  • Possibly don't count artifacts for releases with no events in the retention window.

Notes

  • Re-uploading the same app + release + bundle_url already replaces the artifact. Rotation only needs to handle stale releases.
  • Deletion must not leave two artifacts matching one frame (symbolication already refuses ambiguous matches).

Backlog only: not scheduled. Logged from the Expo EAS Update source-maps content brief (2026-10-19).

Activity

  1. added
    enhancement
    dashboard
    api
    triage:roadmap
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apidashboardenhancementtriage:roadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions