Repository navigation
fix(core): drop the unused googleapis dependency - #2064
Merged
Merged
Conversation
Nothing in @rivet-dev/agentos-core imports googleapis; Google Drive support lives in the native sidecar. Removing it cuts about 118 MB of transitive packages from every core install.
|
This PR was not deployed automatically as @eersnington does not have access to the Railway project. In order to get automatic PR deploys, please add @eersnington to your workspace on Railway. |
Contributor
📟 Pip-Boy ·
|
| package (linux-x64-gnu) | @latest |
base | this PR | Δ vs base | packages |
|---|---|---|---|---|---|
@rivet-dev/agentos-core |
458.2 MB | 458.2 MB | 325.9 MB | −132.3 MB (−28.9%) | 10 (−111 (−91.7%)) |
@rivet-dev/agentos-sandbox |
495.5 MB | 495.5 MB | 363.5 MB | −132.0 MB (−26.6%) | 85 (−92 (−52.0%)) |
`@rivet-dev/agentos-core` details
| platform | base | this PR | Δ |
|---|---|---|---|
| linux-x64-gnu | 458.2 MB | 325.9 MB | −132.3 MB (−28.9%) |
| linux-arm64-gnu | 455.4 MB | 323.1 MB | −132.3 MB (−29.1%) |
| darwin-arm64 | 434.7 MB | 302.4 MB | −132.3 MB (−30.4%) |
| darwin-x64 | 444.2 MB | 311.9 MB | −132.3 MB (−29.8%) |
| win32-x64 | 314.6 MB | 182.3 MB | −132.3 MB (−42.1%) |
Removed dependencies
| package | size | via |
|---|---|---|
googleapis@144.0.0 |
110.1 MB | @rivet-dev/agentos-core › googleapis |
better-sqlite3@12.11.1 |
9.9 MB | @rivet-dev/agentos-core › better-sqlite3 |
@aws-sdk/client-s3@3.1154.0 |
3.2 MB | @rivet-dev/agentos-core › @aws-sdk/client-s3 |
@smithy/core@3.36.1 |
1.9 MB | @rivet-dev/agentos-core › @aws-sdk/client-s3 › @smithy/core |
@aws-sdk/nested-clients@3.997.49 |
832.2 KB | @rivet-dev/agentos-core › @aws-sdk/client-s3 › @aws-sdk/credential-provider-node › @aws-sdk/credential-provider-ini › @aws-sdk/nested-clients |
google-auth-library@9.15.1 |
597.2 KB | @rivet-dev/agentos-core › googleapis › google-auth-library |
minimatch@10.2.6 |
523.6 KB | @rivet-dev/agentos-core › minimatch |
@aws-sdk/core@3.978.4 |
436.1 KB | @rivet-dev/agentos-core › @aws-sdk/client-s3 › @aws-sdk/core |
qs@6.16.1 |
409.0 KB | @rivet-dev/agentos-core › googleapis › googleapis-common › qs |
bignumber.js@9.3.1 |
343.3 KB | @rivet-dev/agentos-core › googleapis › google-auth-library › gcp-metadata › json-bigint › bignumber.js |
`@rivet-dev/agentos-sandbox` details
| platform | base | this PR | Δ |
|---|---|---|---|
| linux-x64-gnu | 495.5 MB | 363.5 MB | −132.0 MB (−26.6%) |
| linux-arm64-gnu | 493.8 MB | 361.8 MB | −132.0 MB (−26.7%) |
| darwin-arm64 | 465.8 MB | 333.9 MB | −132.0 MB (−28.3%) |
| darwin-x64 | 475.9 MB | 343.9 MB | −132.0 MB (−27.7%) |
| win32-x64 | 358.8 MB | 226.8 MB | −132.0 MB (−36.8%) |
Removed dependencies
| package | size | via |
|---|---|---|
googleapis@144.0.0 |
110.1 MB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › googleapis |
better-sqlite3@12.11.1 |
9.9 MB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › better-sqlite3 |
@aws-sdk/client-s3@3.1154.0 |
3.2 MB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › @aws-sdk/client-s3 |
@smithy/core@3.36.1 |
1.9 MB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › @aws-sdk/client-s3 › @smithy/core |
@aws-sdk/nested-clients@3.997.49 |
832.2 KB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › @aws-sdk/client-s3 › @aws-sdk/credential-provider-node › @aws-sdk/credential-provider-ini › @aws-sdk/nested-clients |
google-auth-library@9.15.1 |
597.2 KB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › googleapis › google-auth-library |
minimatch@10.2.6 |
523.6 KB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › minimatch |
@aws-sdk/core@3.978.4 |
436.1 KB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › @aws-sdk/client-s3 › @aws-sdk/core |
qs@6.16.1 |
409.0 KB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › googleapis › googleapis-common › qs |
bignumber.js@9.3.1 |
343.3 KB | @rivet-dev/agentos-sandbox › @rivet-dev/agentos-core › googleapis › google-auth-library › gcp-metadata › json-bigint › bignumber.js |
All 6 packages · linux-x64-gnu
| package (linux-x64-gnu) | @latest |
base | this PR | Δ vs base | packages |
|---|---|---|---|---|---|
@rivet-dev/agentos-core |
458.2 MB | 458.2 MB | 325.9 MB | −132.3 MB (−28.9%) | 10 (−111 (−91.7%)) |
@rivet-dev/agentos-node-pty |
7.6 KB | 18.0 KB | 18.0 KB | 0 | 1 (0) |
@rivet-dev/agentos-posix |
253.6 MB | 253.6 MB | 253.6 MB | 0 | 7 (0) |
@rivet-dev/agentos-runtime-core |
253.6 MB | 253.6 MB | 253.6 MB | 0 | 6 (0) |
@rivet-dev/agentos-sandbox |
495.5 MB | 495.5 MB | 363.5 MB | −132.0 MB (−26.6%) | 85 (−92 (−52.0%)) |
@rivet-dev/agentos-toolchain |
130.8 KB | 141.2 KB | 141.2 KB | 0 | 2 (0) |
🧹 Rust dependencies
Skipped: this PR doesn't change any Rust code or dependencies.
🦀 Binaries
Skipped: this PR doesn't change any Rust code.
⏱ Timing
| job | wall time | slowest step |
|---|---|---|
zizmor |
12s | checkout · 3s |
changes |
28s | checkout · 25s |
footprint |
2m12s | Pack this commit · 44s |
⏭ native · ${{ matrix.platform }} |
— | skipped |
⏭ hygiene |
— | skipped |
⏭ self-test |
— | skipped |
report |
18s | — |
🔭 Full CI trace for this commit
One OpenTelemetry trace of CI and Pip-Boy for bd22b13: every job and step, with the sizes above attached. Run after CI finishes.
pnpm install --frozen-lockfile --filter 'pipboy...'
pnpm --filter pipboy pipboy trace --sha bd22b1392bc668a98e7eb1de494071e625a1c5baAdd --otlp <url> to send it to any OTLP/HTTP collector.
Agent instruction: From a rivet-dev/agentos checkout, run the commands above, then read the trace file the last command prints. List the slowest jobs and steps and explain where CI time went.
Core declared @aws-sdk/client-s3, better-sqlite3, minimatch, and zod-to-json-schema but never imports them; S3 and SQLite live in the sidecar and runtime-core owns its zod-to-json-schema dependency. Also drop better-sqlite3 from onlyBuiltDependencies, since no workspace package installs it anymore.
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.
Fixes #2050.
@rivet-dev/agentos-coredeclaredgoogleapisbut never imported it. Google Drive support lives in the native sidecar.googleapis,google-auth-library,gaxios, and others) from every core install.pnpm-lock.yamlonly loses entries.