GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(deps): Bump the sentry CLI to ^0.49.0 by sentry-junior[bot] · Pull Request #26200 · getsentry/sentry-javascript Conversation
Contributor
Why: Before How to review: The four Unsure about: The Closes #26197 via @BYK. --
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsSDK calls in sentry 0.49.0 write no local state by default, so release creation and source map uploads no longer fail when the CLI's cli.db can't be opened (for example after another Node version created it). Closes #26197 Co-Authored-By: BYK <[email protected]>
BYK
approved these changes
BYK
marked this pull request as ready for review
BYK
requested review from
andreiborza,
chargome,
logaretm,
msonnb,
mydea and
s1gr1d
and removed request for
a team
BYK
enabled auto-merge (squash)
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cursor Bugbot has reviewed your changes and found 1 potential issue. ❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard. Reviewed by Cursor Bugbot for commit 08211e8. Configure here.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
51 tasks done
JPeer264
pushed a commit
that referenced
this pull request
…aps (#26092) **Why:** The new `sentry` CLI throws a `ValidationError` for any directory that has no JS + source map pairs. `SentryCliAdapter.uploadSourcemaps` uploads directories one at a time, so the first empty directory stops the whole loop. `@sentry/nextjs` uploads `.next/server` first, so if server source maps are off, the client chunks that do have maps never get uploaded. The plugin only logs the error and the build passes, so this goes unnoticed. CLI 0.48+ stops reporting this error to Sentry, but it still throws, so the upload still stops without this change. The CLI check stays strict on purpose, because it catches build misconfiguration. The adapter now passes `allowEmpty: true`, collects the directories that uploaded 0 files, and logs a warning for each. In direct-upload mode, "Successfully uploaded" is logged only if at least one directory actually uploaded something. The staged-upload path already returns early with a warning when no artifact has a source map, so it is unchanged. Before: ``` [@sentry/nextjs - Node.js] Error: An error occurred. Couldn't finish all operations: ValidationError: Found 214 JS file(s) in '.next/server' but no companion .map files. [...] Pass --allow-empty to suppress. # .next/static/chunks is never uploaded ``` After: ``` [@sentry/nextjs - Node.js] Warning: No source maps found in ".next/server", so nothing was uploaded from it. This usually means source map generation is not enabled for this build output. Enable it so Sentry can un-minify stack traces from these files. [@sentry/nextjs - Node.js] Info: Successfully uploaded source maps to Sentry # .next/static/chunks is uploaded ``` **How to review:** Start with `src/core/cli.ts`, then the two call sites in `build-plugin-manager.ts`. `cli-contract.test.ts` runs the real CLI (now `sentry@^0.49.0` after #26200) against the mock server with one empty directory followed by one real directory. **Unsure about:** A directory that does not exist still throws and stops the loop; `allowEmpty` only covers existing directories without source maps. I left that case out of this PR. <!-- junior-request-attribution:start --> via **bete**, @betegon. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:local%3Aweb%3A667ad986d499815a40e93973 --> -- [View Session in Sentry](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A667ad986d499815a40e93973/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Miguel Betegon <[email protected]> Co-authored-by: bete <[email protected]>
mydea
added a commit
that referenced
this pull request
…undles (#26277) **Why:** The `solidstart-2` e2e test has been failing on `develop` since #26200 bumped the Sentry CLI to `^0.49.0`. The server entry of `@sentry/solidstart` still re-exports the deprecated SolidStart 1 `withSentry`. That pulls `@sentry/bundler-plugins`, and with it the CLI and `oxc-parser`, into the Nitro server graph. Starting with 0.48, the CLI ships as code-split ESM. Rolldown still emits its dynamic-import chunks after tree-shaking the code that imports them; Rollup doesn't. Nitro also traces `oxc-parser`'s native binding. For every SolidStart 2 app, the result is about 3.6 MB of unused build tooling in `.output/server` (5.3 MB → 1.7 MB with this change). The CLI chunk also carries the CLI's own debug IDs, which the app can't upload, and that's the assertion that fails. Removing the root `withSentry` export is breaking (#25915, v12), and lazy imports are off the table. So `sentrySolidStart()` now adds a `sentry-solidstart-runtime` export condition to server environments. The exports map resolves that condition to the existing server entry, which is the same as today's minus `withSentry`. SolidStart 1's `app.config.ts` never sets the condition, so it still gets `withSentry`. **How to review:** Start with the `exports` change in `package.json`, then `makeServerEntryPlugin`. Locally, `solidstart-2` (including the tunnel-basepath dev variant) and `solidstart` pass against CI tarballs. **Unsure about:** Whether a custom export condition is the shape we want here, versus living with the bloat until v12. The plugin only extends conditions that are already set, because Vite would otherwise replace its defaults. Nitro and SolidStart always set them for their server environments. Separately, the Rolldown behaviour seems worth an upstream issue. <!-- junior-request-attribution:start --> via **Francesco Gringl-Novy**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AD0CA8FXFXAS%3A1794301479.516639 --> -- [View Session](https://junior-prod.sentry.dev/conversations/slack%3AD0CA8FXFXAS%3A1794301479.516639) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0CA8FXFXAS%3A1794301479.516639/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Francesco Gringl-Novy <[email protected]>
3 tasks done
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Bump the sentry CLI dependency to ^0.49.0Uh oh!
There was an error while loading. Please reload this page. 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |