You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Stack trace on missing git remote for set-commits #1462
When uploading sourcemaps / setting commits on a release from a local git repo with no remote configured (git init only), the CLI fails with Could not determine repository name from local git remote and prints a full stack trace.
Raised by Jan Peer Stöcklmair while trying the new CLI with JS SDK / bundler plugins. Confirmed as a bug: for this expected condition the stack trace should not be shown.
Reproduction
git init a project with no git remote
Run a release flow that sets commits (e.g. Vite/bundler plugin sourcemap upload with commits on release)
Observe ky [SentryError]: Could not determine repository name from local git remote with a full stack (exitCode 21)
Notes
Bundler plugins log this as ignorable unless commits-on-release are desired, but the underlying CLI error still dumps a stack
Error surfaces via SentryCliAdapter.setCommits from @sentry/bundler-plugins calling into sentry@0.43.0
error/stacktrace
[sentry-vite-plugin] Debug: An error occurred setting commits on release (this message can be ignored unless you commits on release are desired): ky [SentryError]: Could not determine repository name from local git remote.
at H9 (file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/sentry@0.43.0/node_modules/sentry/dist/index.mjs:6477:5801)
at Srt (file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/sentry@0.43.0/node_modules/sentry/dist/index.mjs:6477:7113)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async SentryCliAdapter.setCommits (file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/@sentry+bundler-plugins@file+.yalc+@sentry+bundler-plugins_rollup@4.62.5/node_modules/@sentry/bundler-plugins/build/esm/core/cli.js:46:5)
at async Object.createRelease (file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/@sentry+bundler-plugins@file+.yalc+@sentry+bundler-plugins_rollup@4.62.5/node_modules/@sentry/bundler-plugins/build/esm/core/build-plugin-manager.js:272:13)
at async Object.writeBundle (file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/@sentry+bundler-plugins@file+.yalc+@sentry+bundler-plugins_rollup@4.62.5/node_modules/@sentry/bundler-plugins/build/esm/rollup/index.js:168:7)
at async Promise.all (index 0)
at async PluginDriver.hookParallel (file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/rollup@4.62.5/node_modules/rollup/dist/es/shared/node-entry.js:22703:9)
at async file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/rollup@4.62.5/node_modules/rollup/dist/es/shared/node-entry.js:23789:13
at async catchUnfinishedHookActions (file:///Users/janpeer/dev/temp-cli-no-rewrite/node_modules/.pnpm/rollup@4.62.5/node_modules/rollup/dist/es/shared/node-entry.js:23147:16) {
exitCode: 21,
stderr: ''
}
Jared, start working on this. Make the missing-git-remote condition user-facing without a stack trace, add regression coverage, self-review it, and open a scoped PR.
Activity
fix(webhooks): Skip non-actionable issue assignments
MathurAditya724 commentedon Aug 25, 2026
Jared, start working on this. Make the missing-git-remote condition user-facing without a stack trace, add regression coverage, self-review it, and open a scoped PR.
fix(release): make missing git remote for set-commits --auto actionab…
fix(jared): preserve autonomous webhook work (#150)