Skip to content

Release v1.17.18: scoped source map uploads - #674

Merged
cursor[bot] merged 7 commits into
mainfrom
cursor/release-v1.17.18-f4fb
Sep 25, 2026
Merged

cursor[bot] merged 7 commits into
mainfrom
cursor/release-v1.17.18-f4fb

Conversation

@unjica

@unjica unjica commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Promote #672 from develop to main.

  • Finalize CHANGELOG for v1.17.18
  • Bump committed API_VERSION to 1.17.18
  • Production startup runs prisma migrate deploy before listen, so ApiKey.source_map_upload exists before this revision serves traffic

Mid-line PATCH. Includes migration 20260925130000_api_key_source_map_upload. Product email: skip.

Deploy plan

  • Merge → Railway starts the new API, which migrates then listens
  • Confirm /health reports 1.17.18
  • Tag v1.17.18 after health
  • Sync main → develop
  • Product email: skip

Checklist

  • CHANGELOG finalized under [1.17.18]
  • API_VERSION bumped to 1.17.18
  • Migration is applied by the process before it accepts connections
Open in Web Open in Cursor 

cursor Bot and others added 7 commits September 25, 2026 11:59
….17-f4fb

Sync develop with main after v1.17.17
Reject ingest-only API keys for source map upload, resolve bundle URLs from sourceMappingURL, and flush Node uncaughtException reports before exit.

Co-authored-by: Sanja Malovic <[email protected]>
…crash-flush-f4fb

Scope source map uploads and flush fatal Node errors
…fore-release-f4fb

Add production migrate workflow before source map deploy
Run prisma migrate deploy before the production API listens so source_map_upload exists before traffic switches.

Co-authored-by: Sanja Malovic <[email protected]>
Comment on lines +17 to +48
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Migrate production database
if: inputs.phase == 'migrate'
working-directory: apps/api
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: pnpm exec prisma migrate deploy
- name: Verify source_map_upload column
if: inputs.phase == 'migrate'
working-directory: apps/api
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: node scripts/production-source-map-smoke.mjs verify
- name: Build SDKs for crash smoke
if: inputs.phase == 'smoke'
run: pnpm --filter @telemetry-tracker/core build && pnpm --filter @telemetry-tracker/node build
- name: Production smoke
if: inputs.phase == 'smoke'
working-directory: apps/api
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
API_BASE_URL: https://api.telemetry-tracker.com
run: node scripts/production-source-map-smoke.mjs smoke
const matches = source.match(/[#@]\s*sourceMappingURL=([^\s*'"]+)/g);
if (!matches || matches.length === 0) return null;
const last = matches[matches.length - 1] ?? "";
const raw = last.split("=").slice(1).join("=").replace(/[),;]+$/, "");
@cursor
cursor Bot merged commit 8f82e3d into main Sep 25, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants