Skip to content

ci(pipboy): add per-commit CI trace command - #5892

Merged
eersnington merged 1 commit into
stack/ci-ci-insights-add-native-binary-sizes-nvwlqlztfrom
stack/ci-ci-insights-add-per-commit-ci-trace-command-muntymlm
Oct 20, 2026
Merged

eersnington merged 1 commit into
stack/ci-ci-insights-add-native-binary-sizes-nvwlqlztfrom
stack/ci-ci-insights-add-per-commit-ci-trace-command-muntymlm

Conversation

@eersnington

@eersnington eersnington commented Oct 19, 2026 •

Copy link
Copy Markdown
Member
  • Add pipboy trace --sha <sha>, which builds one OpenTelemetry trace of the CI that ran on a commit and can send it straight to an OTLP endpoint such as motel.
  • The trace covers Rust CI, frontend, Pip-Boy, publish, and Swift, down to every job and step. Bots such as Claude review and docs sync are left out, and only the newest run of each workflow counts.
  • Pip-Boy jobs carry what they measured as span attributes: install sizes per package, hygiene counts, and binary sizes.
  • Jobs record how long they waited for a runner.
  • It runs locally after CI finishes and uses the GitHub CLI login, so no token needs exporting.

This is part 6 of 6 in a stack:

@eersnington
eersnington force-pushed the stack/ci-ci-insights-add-per-commit-ci-trace-command-muntymlm branch from 3cec579 to f9b29d4 Compare October 19, 2026 16:21
@eersnington
eersnington force-pushed the stack/ci-ci-insights-add-native-binary-sizes-nvwlqlzt branch from 168f02e to 1e31a62 Compare October 19, 2026 16:21
@eersnington
eersnington marked this pull request as ready for review October 20, 2026 08:20
@eersnington
eersnington force-pushed the stack/ci-ci-insights-add-per-commit-ci-trace-command-muntymlm branch from f9b29d4 to 810ff9f Compare October 20, 2026 08:20
@eersnington
eersnington force-pushed the stack/ci-ci-insights-add-native-binary-sizes-nvwlqlzt branch from 1e31a62 to 625ba5d Compare October 20, 2026 08:20
@eersnington eersnington changed the title ci(ci-insights): add per-commit CI trace command ci(pipboy): add per-commit CI trace command Oct 20, 2026
@rivet-dev rivet-dev deleted a comment from github-actions Bot Oct 20, 2026
@eersnington
eersnington added this pull request to stack #5902 October 20, 2026 08:27
@eersnington
eersnington removed this pull request from stack #5902 October 20, 2026 08:32
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

📟 Pip-Boy · f573a7f

📦 Packages · fresh npm install resolve, no lockfile · this PR vs base

🔴 Registry drift: rivetkit@latest is already over budget for anyone installing it today. This PR didn't cause it.

No notable install size, dependency, or entrypoint changes across 17 packages.

All 17 packages · linux-x64-gnu
package (linux-x64-gnu) @latest base this PR Δ vs base packages
@rivet-dev/workflow-world 2.41 GB 364.8 MB 364.8 MB −231 B (−0.0%) 104 (0)
@rivetkit/cloudflare-workers 2.41 GB 363.4 MB 363.4 MB −234 B (−0.0%) 99 (0)
@rivetkit/effect 2.45 GB 412.8 MB 412.8 MB −228 B (−0.0%) 100 (0)
@rivetkit/engine-api-full 3.6 MB 3.6 MB 3.6 MB 0 44 (0)
@rivetkit/engine-envoy-protocol 234.9 KB 245.9 KB 245.9 KB 0 2 (0)
@rivetkit/engine-runner 2.2 MB 2.3 MB 2.3 MB −6 B (−0.0%) 19 (0)
@rivetkit/engine-runner-protocol 166.3 KB 177.3 KB 177.3 KB 0 2 (0)
@rivetkit/engine-test-runner 3.7 MB 3.8 MB 3.8 MB −12 B (−0.0%) 22 (0)
@rivetkit/framework-base 2.41 GB 363.5 MB 363.5 MB −234 B (−0.0%) 101 (0)
@rivetkit/next-js 2.41 GB 371.5 MB 371.5 MB −252 B (−0.0%) 108 (0)
@rivetkit/react 2.41 GB 371.5 MB 371.5 MB −240 B (−0.0%) 107 (0)
@rivetkit/sql-loader 13.5 KB 24.5 KB 24.5 KB −24 B (−0.1%) 1 (0)
@rivetkit/supabase 9.5 MB 9.5 MB 9.5 MB 0 20 (0)
@rivetkit/traces 2.6 MB 2.6 MB 2.6 MB −42 B (−0.0%) 9 (0)
@rivetkit/virtual-websocket 30.9 KB 42.0 KB 42.0 KB 0 1 (0)
@rivetkit/workflow-engine 4.3 MB 4.3 MB 4.3 MB −18 B (−0.0%) 22 (0)
rivetkit 2.41 GB 363.3 MB 363.3 MB −228 B (−0.0%) 98 (0)

🧹 Rust dependencies · cargo deny + cargo shear

check new in this PR fixed existing on base
advisories ✅ 0 0 33
licenses ✅ 0 0 0
sources ✅ 0 0 0
bans ✅ 0 0 0
unused ✅ 0 0 292

🦀 Binaries · publish Dockerfiles, --release

No native build on main to compare against yet.

artifact npm @latest base this PR Δ vs base
engine linux-x64-musl 93.9 MB — 93.9 MB —
rivetkit-napi linux-x64-gnu 44.0 MB — 44.0 MB —

⏱ Timing

job wall time slowest step
changes 19s checkout · 16s
zizmor 11s checkout · 3s
native · rivetkit-napi · linux-x64-gnu 5m23s Build with the publish Dockerfile · 5m07s
hygiene 1m09s checkout · 24s
self-test 39s Run pnpm --filter pipboy test · 11s
native · engine · linux-x64-musl 12m58s Build with the publish Dockerfile · 12m43s
footprint 4m41s Pack the base · 1m37s
report 20s setup-node · 7s
🔭 Full CI trace for this commit

One OpenTelemetry trace of Rust CI, frontend, and Pip-Boy for f573a7f: 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 f573a7f5221dbc09745cf4defad3978b18100b7e

Add --otlp <url> to send it to any OTLP/HTTP collector.

Agent instruction: From a rivet-dev/rivet 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.

@eersnington
eersnington force-pushed the stack/ci-ci-insights-add-per-commit-ci-trace-command-muntymlm branch from 810ff9f to f573a7f Compare October 20, 2026 08:36
@eersnington
eersnington force-pushed the stack/ci-ci-insights-add-native-binary-sizes-nvwlqlzt branch from 625ba5d to a11e055 Compare October 20, 2026 08:36
@eersnington
eersnington merged commit 7f390e4 into stack/ci-ci-insights-add-native-binary-sizes-nvwlqlzt Oct 20, 2026
12 of 24 checks passed
@eersnington
eersnington deleted the stack/ci-ci-insights-add-per-commit-ci-trace-command-muntymlm branch October 20, 2026 10:13
eersnington added a commit that referenced this pull request Oct 20, 2026
…5887)

* ci(rust): pin the toolchain to 1.91.1

* ci(pipboy): add package footprint

* ci(pipboy): add rust dependency hygiene

* ci(pipboy): add native binary sizes

* ci(pipboy): add per-commit CI trace command (#5892)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant