Repository navigation
Conversation
The perf gate read its pin by position: column 1 is SEQ-CPU, column 2 is PAR-CPU, column 3 is PAR-GPU, and nothing tied those positions to the names the file declares. The pin is hand-edited, so a layout that drifts is read as numbers and reported as a verdict. The reader now takes the column names and checks them, the way bend2/docs/gen_charts.ts already does for the record pins: a header that does not name the expected columns, or a row with the wrong number of cells, is an error and the gate says to repin.
adeerkhan
force-pushed
the
fix/perf-pin-columns
branch
from
October 19, 2026 20:00
8d2468e to
143209c
Compare
Collaborator
|
Thanks for this. We're closing it: the gate's pin is written by |
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 perf gate read its pin by position — column 1 is
SEQ-CPU, column 2 isPAR-CPU, column 3 isPAR-GPU— and nothing tied those positions to the names the file declares. The pin is hand-edited (its own header says theCOMPILERcolumn and the spaces are "by hand"), so a layout that drifts is read as numbers and reported as a verdict.Two drifts, both silent today:
A header whose
SEQ-CPUandPAR-CPUare swapped. The sequential run is then compared against the parallel baseline — 0.500 s instead of 3.501 s forbfs— so the gate either fails a healthy run, or passes a run that is seven times slower, and says nothing about the pin.A row that loses a cell. The
OUTPUTcolumn reads asundefined, and the gate reports an output-size mismatch, blaming the program for a change in the pin file.The reader now takes the column names and checks them, the way
bend2/docs/gen_charts.tsalready does for the record pins ("columns drifted from [...] -- repin"): a header that does not name the expected columns, or a row with the wrong number of cells, is an error.The error is raised where the pin is read, before the benchmarks run, so a drift is seconds to see and not a 20-minute run to find.
Check, on the gate's own pin:
Both fire before any SSH, so neither needs the cluster to check. With the pin as committed the gate reads it as before.
Gates: repo 54/54. The other three need the mini cluster, so they are not run here.
Not caught: a transposition of two values inside one row, with the header intact — telling
SEQfromPARby value would need an invariant the pin does not state, so the guard stays on the shape.