Repository navigation
Conversation
Contributor
size-limit report 📦Compared: a663afb (PR test merge using develop at 24e885e) Against: 24e885e (develop) · base run #67586 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 1 not successful, 64 successful. See the run.
Successful checks
|
JPeer264
force-pushed
the
jp/effect-drop-name-prefixes
branch
from
November 22, 2026 16:31
0a02c8c to
e876c60
Compare
JPeer264
force-pushed
the
jp/effect-error-reporter-bundle-size
branch
2 times, most recently
from
November 23, 2026 10:28
872247d to
f66aad6
Compare
Base automatically changed from
jp/effect-error-reporter-bundle-size
to
develop
November 23, 2026 12:04
Rename `effectLayer` to `layer`, `SentryEffectTracer` to `Tracer`, `SentryEffectLogger` to `Logger`, `SentryEffectMetricsLayer` to `metricsLayer` and `SentryEffectExternalSpanLayer` to `externalSpanLayer`, so the exports read like an Effect module under `import * as Sentry`. Layer values are camelCase, as in Effect's own API (`Metric.enableRuntimeMetricsLayer`). The old names are removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JPeer264
force-pushed
the
jp/effect-drop-name-prefixes
branch
from
November 23, 2026 14:33
f4391a2 to
e3803af
Compare
Contributor
|
One or more gzipped bundles increased by more than 500 bytes. If this increase is intentional, add the Accept Bundlesize Increase label to this PR to rerun and accept the check. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This renames the
@sentry/effectexports to Effect's naming style and turns the tracer and the logger into layers, so the setup is the same for Effect v3 and v4. The old names are removed.Sentry.effectLayerSentry.layerLayer.setTracer(Sentry.SentryEffectTracer)(v3),Layer.succeed(Tracer.Tracer, Sentry.SentryEffectTracer)(v4)Sentry.layerTracerLogger.replace(Logger.defaultLogger, Sentry.SentryEffectLogger)(v3),Logger.layer([Sentry.SentryEffectLogger])(v4)Sentry.layerLoggerSentry.SentryEffectMetricsLayerSentry.layerMetricsSentry.SentryEffectExternalSpanLayerSentry.layerExternalSpanWhy
The Effect team recommended these names:
layeris how Effect modules name their main layer, and Effect names its other layerslayer…(for exampleOtlpSerialization.layerJson). A rawSentry.Loggerexport would differ fromSentry.logger(the Sentry logs API) only in the case of the first letter.Logger decisions
Sentry.layerLoggeradds the Sentry logger to the loggers in place, so Effect still logs to the console. The alternative is to replace the console logger, as the old docs did.Known issues
Layer.mergeAllkeeps only one of two layers that add a logger, for exampleSentry.layerLoggerandOtlpLogger.layer. Stack them withLayer.provideMergeinstead. Effect's own logger layers behave the same.