Remove Codecov integration and add dependency diff workflow#178
Open
bartveneman wants to merge 12 commits intomainfrom
Open
Remove Codecov integration and add dependency diff workflow#178bartveneman wants to merge 12 commits intomainfrom
bartveneman wants to merge 12 commits intomainfrom
Conversation
Remove @codecov/rollup-plugin from tsdown.config.ts and package.json. Add a dependency-diff workflow job using e18e/action-dependency-diff@v1 that runs on PRs to report dependency changes and bundle size diffs via npm pack comparison. https://claude.ai/code/session_01F2YzobfMCLMPh2nhxoW2fn
npm pack fails with ENOENT if the destination directory doesn't exist. https://claude.ai/code/session_01F2YzobfMCLMPh2nhxoW2fn
Contributor
|
| 📦 Package | 📋 Versions |
|---|---|
| @babel/helper-string-parser | 2 versions
|
| @babel/helper-validator-identifier | 2 versions
|
| @babel/parser | 2 versions
|
| @babel/types | 2 versions
|
💡 To find out what depends on a specific package, run: npm ls example-package
📊 Dependency Size Changes
Note
🎉 This PR removes 24.7 MB of dependencies.
| 📦 Package | 📏 Size |
|---|---|
| @octokit/openapi-types@24.2.0 | -4.6 MB |
| @octokit/openapi-types@20.0.0 | -4.5 MB |
| zod@3.25.76 | -3.6 MB |
| rollup@4.59.0 | -2.8 MB |
| @codecov/bundler-plugin-core@1.9.1 | -2.1 MB |
| @rollup/rollup-linux-x64-gnu@4.59.0 | -2 MB |
| @octokit/plugin-rest-endpoint-methods@10.4.1 | -1.6 MB |
| undici@5.29.0 | -1.2 MB |
| acorn@8.14.1 | -547.5 kB |
| @octokit/types@13.10.0 | -263.7 kB |
| @octokit/types@12.6.0 | -237.9 kB |
| @octokit/plugin-paginate-rest@9.2.2 | -201.7 kB |
| unplugin@1.16.1 | -192.6 kB |
| @octokit/endpoint@9.0.6 | -91.9 kB |
| @actions/core@1.11.1 | -90.9 kB |
| @fastify/busboy@2.1.1 | -80.2 kB |
| @actions/http-client@2.2.3 | -71.2 kB |
| tunnel@0.0.6 | -64.9 kB |
| @octokit/request@8.4.1 | -62.3 kB |
| @actions/exec@1.1.1 | -55.4 kB |
| @codecov/rollup-plugin@1.9.1 | -54.4 kB |
| @octokit/core@5.2.2 | -46.8 kB |
| webpack-virtual-modules@0.6.2 | -46.5 kB |
| @octokit/graphql@7.1.1 | -39.6 kB |
| @actions/io@1.1.3 | -37.1 kB |
| before-after-hook@2.2.3 | -37 kB |
| chalk@4.1.2 | -35 kB |
| color-convert@2.0.1 | -27.2 kB |
| @octokit/auth-token@4.0.0 | -24.2 kB |
| @actions/github@6.0.1 | -23.9 kB |
| @octokit/request-error@5.1.1 | -18.6 kB |
| ansi-styles@4.3.0 | -17 kB |
| color-name@1.1.4 | -6.7 kB |
| universal-user-agent@6.0.1 | -5.8 kB |
| deprecation@2.3.1 | -4 kB |
| once@1.4.0 | Unknown |
| wrappy@1.0.2 | Unknown |
Total size change: -24.7 MB
The build job now packs the tarball and uploads it as an artifact. The dependency-diff job downloads it instead of rebuilding, so the build is clearly visible as its own check in CI. https://claude.ai/code/session_01F2YzobfMCLMPh2nhxoW2fn
Replace the parts array + push + join pattern with direct string concatenation, removing an array allocation per operator node. https://claude.ai/code/session_01F2YzobfMCLMPh2nhxoW2fn
The git checkout mid-job approach was unreliable. Follow the official recipe: a dedicated build-base job checks out the base ref and uploads its pack as an artifact, then dependency-diff downloads both artifacts and compares them cleanly. https://claude.ai/code/session_01F2YzobfMCLMPh2nhxoW2fn
…ing" This reverts commit a5d1725.
This reverts commit 62be7f5.
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.
Summary
This PR removes the Codecov integration from the build pipeline and build configuration, while adding a new GitHub Actions workflow to track dependency and bundle size changes in pull requests.
Key Changes
Removed Codecov integration:
@codecov/rollup-plugindependency from package.jsonUpdated CI workflow:
Added dependency diff workflow:
dependency-diffjob that runs only on pull requestse18e/action-dependency-diff@v1to compare dependencies and bundle sizesImplementation Details
The new dependency diff workflow:
fetch-depth: 0)https://claude.ai/code/session_01F2YzobfMCLMPh2nhxoW2fn