Repository navigation
Conversation
Contributor
|
| Project | Bencher |
| Branch | u/ep/experiment/dispatch |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 5.32 µs(+2.30%)Baseline: 5.20 µs | 5.48 µs (97.11%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.11 µs(+1.54%)Baseline: 5.03 µs | 5.29 µs (96.56%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 26.51 µs(-1.24%)Baseline: 26.85 µs | 28.64 µs (92.56%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.65 µs(+4.10%)Baseline: 4.47 µs | 4.69 µs (99.18%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.62 µs(+3.61%)Baseline: 4.46 µs | 4.69 µs (98.62%) |
epompeii
force-pushed
the
u/ep/experiment/dispatch
branch
from
November 25, 2026 23:00
ca060c2 to
64ddcd2
Compare
epompeii
marked this pull request as ready for review
November 25, 2026 23:32
epompeii
marked this pull request as draft
November 26, 2026 13:42
epompeii
force-pushed
the
u/ep/experiment/dispatch
branch
from
November 26, 2026 23:05
64ddcd2 to
5f6cb69
Compare
epompeii
force-pushed
the
u/ep/experiment/dispatch
branch
from
December 1, 2026 19:07
5f6cb69 to
b7c52e7
Compare
The server now sends a runner one run of a job's image per message and forms the job's iterations itself. Each run is recorded, so iterations of one job can run on different runners and interleave with other jobs, and the timeout and billing count only the time inside the job's own runs.
epompeii
force-pushed
the
u/ep/experiment/dispatch
branch
from
December 2, 2026 23:07
b7c52e7 to
33368f9
Compare
epompeii
marked this pull request as ready for review
December 3, 2026 00:30
This branch has not been deployed
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.
The server now sends a remote job 1 run at a time: each
Jobmessage carries 1 iteration, and the server forms the iterations.Every runner in the fleet already reads a message of 1 iteration correctly, so runners do not change and the wire gains no field.
How
job_execution: 1 row per run sent to a runner, with its own UUID, the job, the report, the iteration, the runner, the budget it was sent, a status (Sent, Running, Completed, Failed, Canceled, Unknown), and its times.Jobmessage'suuidis the execution's UUID, which the runner echoes in its result, so a late or resent result names its execution exactly.iteris 1, the timeout is the job's remaining budget, and each execution gets its own pull token.Sent,Running, orUnknown), so its iterations run one after another, on any runner of its spec, and another job's execution can go between them.--allow-failure: a run that exits non-zero, or that reports no result, is skipped and stores nothing, as in a local run. Without it, such a run fails the job.Failedmessage always fails the job, even with--allow-failure: a pull that fails, a run out of time, or a runner that stops. So a job whose image cannot be pulled still fails, as before.Unknown, and the job gets nothing more; a result resent within that execution's budget plus the grace period still lands.Unknown, and leaves a job between executions running. A job in flight at the deploy gets 1 execution that covers all of its runs, so a runner mid-job completes it.--iter 0now runs once, where it waited forever before.Tests
Integration tests over the runner WebSocket with an injectable clock: 3 messages for 3 iterations; a resend lands on its own execution; the order between jobs and tiers; each tier runs 1 execution of a job at a time, and a Plus job takes another runner while a Free job runs; a Free job holds its organization;
--allow-failuregaps; the shrinking budget; a silent runner within and past its budget, and one whose job status did not follow; billing of 3 short executions is 1 minute; a restart between executions; no claim between a failed execution and its job's end; fault injection that shows each end of a job commits as 1 transaction; aFailedunder--allow-failurefails the job. Tests that hold an execution without heartbeats run with a long heartbeat timeout, so a slow CI machine cannot time them out. The smoke test's build time check matches the runner's records by the job's time window, since the runner now logs each execution's UUID. A real, unchanged runner completed a job of--iter 3through 3 messages against a local API.