Skip to content

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

Merged
eersnington merged 1 commit into
stack/ci-pipboy-add-native-binary-sizes-wskkqxrkfrom
stack/ci-pipboy-add-per-commit-ci-trace-command-szwulmvm
Oct 20, 2026
Merged

eersnington merged 1 commit into
stack/ci-pipboy-add-native-binary-sizes-wskkqxrkfrom
stack/ci-pipboy-add-per-commit-ci-trace-command-szwulmvm

Conversation

@eersnington

@eersnington eersnington commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Add pipboy trace. It builds one OTLP/JSON trace of the CI that ran on a commit: commit, workflow run, job, and step.

  • Trace ci.yml, pipboy.yml, publish.yaml, and bench.yml. Only the newest run of each workflow counts.
  • Pip-Boy job spans carry the sizes and findings they measured as attributes.
  • --otlp <url> sends the trace to any OTLP/HTTP collector.
  • The PR comment gets a collapsed block with the command and an agent instruction.
pnpm --filter pipboy pipboy trace --sha <full sha> --otlp http://127.0.0.1:27686

This is part 4 of 4 in a stack:

@github-actions

Copy link
Copy Markdown
Contributor

📟 Pip-Boy · 3399fb7

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

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

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 458.2 MB 0 121 (0)
@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 495.5 MB 0 177 (0)
@rivet-dev/agentos-toolchain 130.8 KB 141.2 KB 141.2 KB 0 2 (0)

🧹 Rust dependencies · cargo deny + cargo shear

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

🦀 Binaries · publish Dockerfiles, --release

No native build on main to compare against yet.

artifact npm @latest base this PR Δ vs base
agentos-native-sidecar linux-x64-gnu 143.6 MB — 143.6 MB —

⏱ Timing

job wall time slowest step
changes 25s checkout · 23s
zizmor 11s checkout · 3s
self-test 28s Run pnpm install --frozen-lockfile --filter 'pipboy...' · 6s
hygiene 56s checkout · 25s
native · linux-x64-gnu 13m39s Build with the publish Dockerfile · 13m19s
footprint 2m20s Pack this commit · 43s
report 17s Write the comment and run summary · 4s
🔭 Full CI trace for this commit

One OpenTelemetry trace of CI and Pip-Boy for 3399fb7: 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 3399fb7021fac4791662bb71994747a8a9c653b8

Add --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.

@eersnington
eersnington merged commit 1d75714 into stack/ci-pipboy-add-native-binary-sizes-wskkqxrk Oct 20, 2026
15 checks passed
@eersnington
eersnington deleted the stack/ci-pipboy-add-per-commit-ci-trace-command-szwulmvm branch October 20, 2026 21:10
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