Add a workflow that attaches to Bencher bare metal jobs - #9
Merged
Merged
Conversation
|
| Project | Example |
| Branch | u/ep/bare-metal-attach |
| Testbed | ubuntu-latest |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result nanoseconds (ns) (Result Δ%) | Upper Boundary nanoseconds (ns) (Limit %) |
|---|---|---|---|
| bencher::mock_0 | 📈 view plot 🚷 view threshold | 4.32 ns(-15.74%)Baseline: 5.13 ns | 11.63 ns (37.17%) |
| bencher::mock_1 | 📈 view plot 🚷 view threshold | 13.16 ns(-16.41%)Baseline: 15.74 ns | 22.31 ns (58.98%) |
| bencher::mock_2 | 📈 view plot 🚷 view threshold | 24.26 ns(-0.68%)Baseline: 24.43 ns | 31.34 ns (77.41%) |
| bencher::mock_3 | 📈 view plot 🚷 view threshold | 32.71 ns(-5.50%)Baseline: 34.62 ns | 42.30 ns (77.35%) |
| bencher::mock_4 | 📈 view plot 🚷 view threshold | 41.34 ns(-7.07%)Baseline: 44.48 ns | 51.06 ns (80.96%) |
|
| Project | Example |
| Branch | fork/u/ep/bare-metal-attach |
| Testbed | ubuntu-latest |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result nanoseconds (ns) (Result Δ%) | Upper Boundary nanoseconds (ns) (Limit %) |
|---|---|---|---|
| bencher::mock_0 | 📈 view plot 🚷 view threshold | 1.00 ns(-80.52%)Baseline: 5.13 ns | 11.63 ns (8.60%) |
When a detached bare metal run finishes, its callback sends a `bencher_run` repository_dispatch. This workflow attaches to that Job with `bencher run --job`, then completes the GitHub Check the detached run started and posts the pull request comment. A first step prints the type of each field in the dispatch payload, and never a value, so a run shows what shape the callback's body arrived in. GitHub only runs repository_dispatch workflows from the default branch, so this file has to live on main. Until job callbacks ship, it installs the CLI from the job callbacks branch, cached by commit, and talks to the dev API.
epompeii
force-pushed
the
u/ep/bare-metal-attach
branch
from
September 26, 2026 20:06
aa11b31 to
a1b211d
Compare
epompeii
marked this pull request as ready for review
September 26, 2026 20:06
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.
Adds workflow 2 of "Pull Requests on Bare Metal": on a
bencher_runrepository_dispatch, it attaches to the finished Job withbencher run --job, completes the GitHub Check the detached run started, and posts the pull request comment.GitHub only runs
repository_dispatchworkflows from the default branch, so this file has to be onmainbefore a detached run can be tested end to end. It does nothing until abencher_rundispatch arrives.Until job callbacks ship, it differs from the docs' example in three ways: it installs the CLI from the job callbacks branch (cached by commit), it talks to the dev API, and it authenticates with the dev token. Once callbacks are released, it moves to Bencher Cloud and
bencherdev/bencher@main.