Repository navigation
chore(ci): Allowlist runtime dependencies of all SDK packages - #26891
Draft
sentry-junior[bot] wants to merge 2 commits into
Draft
sentry-junior[bot] wants to merge 2 commits into
sentry-junior[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Francesco Gringl-Novy <2411343+mydea@users.noreply.github.com>
Co-Authored-By: Francesco Gringl-Novy <2411343+mydea@users.noreply.github.com>
Contributor
size-limit report 📦Compared: 80669fa (PR test merge using develop at 57ff420) Against: 57ff420 (develop) · base run #67979 ✅ Baseline matches: this diff contains only this PR's changes.
|
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.
What
CI now fails when a published package under
packages/gains an externaldependencies,optionalDependencies, orpeerDependenciesentry that is not in a per-package allowlist. The allowlist starts with today's dependencies. It also fails on entries for dependencies that were removed, so the list does not drift. Bugbot now only judges whether a new allowlist entry is justified.Why
Every runtime dependency ships to SDK users, in browser and server packages alike, so adding one should be an explicit, reviewed decision, not something an AI review may or may not catch. The allowlist is per package because adding an existing dependency such as
@opentelemetry/apito another package is still a new dependency for that package's users. Peer dependencies count because npm and pnpm install them automatically. Private workspace packages anddev-packages/are not published, so they are out of scope. Dependencies of allowed packages are not checked.Ref: #26852
via @mydea.
--
View Session [Sentry]