Skip to content

Contribute compile times to cratebank - #127

Merged
zmaril merged 1 commit into
mainfrom
cratebank-census
Aug 26, 2026
Merged

Contribute compile times to cratebank#127
zmaril merged 1 commit into
mainfrom
cratebank-census

Conversation

@zmaril

@zmaril zmaril commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Adds this repository to the public compile-time census at https://cratebank.io/, on every CI run rather than on a schedule.

The step goes into the existing rust job, before the cargo steps, and builds what they would have built anyway — so the added cost is mostly the measuring rather than a second build, since the steps below reuse the target directory.

The opt-in

[…metadata.cratebank]
public = true
repository = "https://github.com/PowderworksCode/immersion"

Without it the census records the build and withholds this repository's own crate names. They are already public here. Measured on entl: 243 units with 7 withheld → 250 with 0, and the repository URL recorded.

strict: true

This is the build now. A measurement that quietly did not happen would mean nothing built the project either, and a green check would be saying so about work that never ran. Elsewhere strict defaults to false, because a census that breaks builds is a census people switch off; here the build is the thing being measured, so silence is the worse failure.

Cost

Two fixes landed in cratebank first, because doing this on every CI run rather than weekly changes what the overhead is worth:

before after
samply install 125s, built from source ~1s, prebuilt and checksummed
client install ~90s, built from source prebuilt archive for the pinned tag

The action step measured 244s before those and 127s after the first.

Untested here

This has never run in this repository. The first CI run on this pull request is the real test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01361quprG7tUgaVFKAmKtJZ

@github-actions

Copy link
Copy Markdown

powderman preview

https://powderman-pr-127.fly.dev

The workbench, live: split/join/swap areas, the F3 palette, the widgets, themes, tooltips, the status bar.
The fleet and run execution are inert here (a Fly machine has no herdr) — this is for driving the interface.

On branches with the MCP server, point an agent at it:

claude mcp add --transport http powderman-preview "https://powderman-pr-127.fly.dev/mcp"

Updated on every push. Destroyed when this PR closes.

The build this job already runs, measured, plus the opt-in that lets
this repository's crate names appear in the census rather than a count.
They are already public here.

It goes before the existing cargo steps and builds what they would have
built, so the added cost is mostly the measuring rather than a second
build. `strict` is on, because this is the build now: a measurement that
quietly did not happen would mean nothing built the project either.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01361quprG7tUgaVFKAmKtJZ
@zmaril
zmaril merged commit caa19a6 into main Aug 26, 2026
5 of 6 checks passed
@zmaril
zmaril deleted the cratebank-census branch August 26, 2026 16:21
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