Skip to content

Release v1.6.1 — source map CI upload - #305

Merged
unjica merged 31 commits into
mainfrom
release/v1.6.1
Jul 9, 2026
Merged

unjica merged 31 commits into
mainfrom
release/v1.6.1

Conversation

@unjica

@unjica unjica commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Promote v1.6.1 (patch) to production:

  • Source map upload GitHub Action — composite action at .github/actions/upload-source-maps for CI uploads (#253)
  • Source map CI upload auth — POST /api/project/source-maps accepts project API keys for CI uploads; GitHub Action uses api_key input (#304)

Version

1.6.1 (patch) — backward-compatible CI tooling and API auth enhancement.

Database

No new migrations in this release.

Test plan

  • pnpm lint && pnpm test && pnpm build locally
  • CI green (build, Cursor Bugbot, maintainer-review)
  • Merge → Railway auto-deploy
  • curl https://api.telemetry-tracker.com/health

Made with Cursor

FelineFantasy and others added 30 commits July 8, 2026 00:38
feat: add GitHub Action for source maps upload
Allow POST /api/project/source-maps via project API key so release
workflows no longer need dashboard session cookies. Update the upload
GitHub Action and docs accordingly.

Closes #302

Co-authored-by: Cursor <[email protected]>
…ey-auth

feat(api): API key auth for source map CI uploads
Source map GitHub Action and API key CI upload auth.

Co-authored-by: Cursor <[email protected]>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 3 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ee14bb1. Configure here.

const files = findFiles('${{ inputs.artifact_path }}');
if (files.length === 0) {
console.log('No source maps found to upload.');
return;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty maps still pass CI

Medium Severity

When the action finds no .map files under artifact_path, it logs a message and returns without failing the step. Release workflows can show a green upload job even though no maps reached the API, so production stacks stay unsymbolicated until someone notices.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ee14bb1. Configure here.

const payload = JSON.stringify({
app: '${{ inputs.app }}',
release: '${{ inputs.release }}',
bundle_url: bundleUrl,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Input quotes break inline script

Medium Severity

Workflow inputs such as app, release, and base_url are pasted into the embedded node -e script inside single-quoted JavaScript strings. An apostrophe or other unescaped character in those values breaks the generated script or corrupts the payload before any upload runs.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ee14bb1. Configure here.

// 2. Remove .map to get the original JS path
const jsPath = relativePath.replace(/\.map$/, '');
// 3. Build the full URL
const bundleUrl = \`\${{ inputs.base_url }}/\${jsPath}\`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows paths break bundle URLs

Low Severity

path.relative can emit backslashes on Windows runners, and those are concatenated into bundle_url unchanged. Stack frames and symbolication matching expect URL path segments with forward slashes, so uploads from Windows CI may never match runtime bundle URLs.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ee14bb1. Configure here.

@unjica
unjica merged commit 931ffa9 into main Jul 9, 2026
4 checks passed
@unjica unjica mentioned this pull request Jul 9, 2026
1 task done
@unjica
unjica deleted the release/v1.6.1 branch July 11, 2026 22:51
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.

2 participants