Repository navigation
[IMPROVEMENT] Easier failure triage in the web console - #1283
Merged
Merged
Conversation
Caption failures usually differ by one space or a single frame of timing, which a block of red lines over a block of green lines hides. Pair each removed line with the line that replaced it and mark only the tokens that differ. Long lines now wrap inside the box instead of running past it. The console diff gets the same treatment, labelled previous run / this run. Playback flags cues whose text or timing differs from the same cue on the other side, showing exact millisecond timings where they disagree.
pulk17
requested review from
canihavesomecoffee and
thealphadollar
as code owners
November 24, 2026 06:35
Rows carry the position diffRows assigns them and segments their offset in the line, so neither list is keyed by its render index. Replace the nested ternary for the gutter sign with a lookup, and use an optional chain when merging segments.
Promotion was only reachable from the overflow menu on Home's triage cards, which list the three most recent failing runs and at most five tests per category, so an older run or a longer list had no way in. Move it into the diff drawer, where a failure is judged and which opens from every run: Home, the run page's results and its artifacts. Same admin-only button and the same confirm dialog; the dialog now points at variants for single-platform differences. Home's rows reach it through their diff button, so the separate menu there goes.
The account page printed "Connected as @" with nothing after it. The login is stored once, by the OAuth callback, and if that lookup failed (or the account was connected before the column existed) nothing filled it in again; GET /auth/me/github returned the null as it was. Add github_login_of(), which returns the stored login or asks GitHub for it and keeps the answer, and use it in that endpoint and in the fork-run permission check, which had its own copy of the same lookup. The page says the account name could not be read instead of a bare "@" when GitHub does not answer either.
|
canihavesomecoffee
approved these changes
Nov 25, 2026
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.



Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Three changes that make it easier to go through failing tests in the console.
1. See what actually changed in a diff
Most caption failures differ by a single space or one frame of timing. The diff showed every old line in red, then every new line in green, so those were hard to spot. Long lines also spilled out of the box.
2. Promote to baseline from any run
The Promote to baseline button was only on Home, which shows the 3 latest failing runs and 5 tests per category. Older runs had no button.
3. Show the GitHub username on the Account page
The page said "Connected as @" with no name. The username was saved only once, when GitHub sends the user back after they connect, so if that lookup failed it stayed empty.
Testing
npm test(36 passing),npx tsc -b,npm run lint.