Repository navigation
Show the check run on the set view and submit an open set - #2607
Merged
Merged
Conversation
pournasserian
added a commit
that referenced
this pull request
Oct 20, 2026
…iew (#2658) Closes #2628 ## What Follow-ups from the independent review of #2607 (F-DSK, #2422). - **The checks card reads the job's state:** - A job that is queued or running shows its progress. - A set in checks running whose job ended without a run says the check run ended without a result. The person who opened it gets "Run the checks again", which calls `IChangeSetChecks.SubmitAsync`. Its recovery fails the set, so the set can be reopened. - An open set says the checks run when it is submitted. - A set past open with no stored run says that no check results are stored for it. - **Submit, and running the checks again, are offered only on sets a person opened.** Agents submit their own sets by tool, so pressing S on an agent's open set no longer splits its work in two. The handler applies the same rule, whatever a post claims. - **Finding messages, pointers and excerpts sit in `<bdi>`,** so a right-to-left override in a judgement's text can't reorder the other parts. ## Tests - **Host, on SQLite and PostgreSQL:** - A set whose check job died shows the ended note and "Run the checks again", and running them again moves the set to checks failed. - A failing run from an active terms check shows its finding, its severity and the isolated parts. - **bUnit:** - A person's open set offers Submit, and an agent's offers none. - A job that ended as dead, failed or succeeded reads as ended, and its opener can run the checks again. - A passed run with no results shows that it passed. - A set past open with no run says so. - Both severities show their label: blocks and warns. - A finding's parts are each in `<bdi>`. - **Browser:** the axe check renders a set with a failing run, in both directions and themes. `dotnet build -warnaserror`, the unit and bUnit suite, and the set view, review, keyboard and accessibility tests pass locally, on SQLite and on PostgreSQL. No new package and no new project reference. ## Checklist - [x] Linked to an issue a maintainer has confirmed - [x] Targets `v2` - [x] Tests or docs updated where behaviour changed - [x] No tool-generated co-author trailers or footers
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.
Closes #2603
What
A follow-up to the set view (#2574) in F-DSK (#2422). The set view shows the check results that #2575 now stores with each set (CHK-03, DSK-03), and a person can submit an open set.
IChangeSetChecks.GetAsync):IChangeSetChecks.SubmitAsync. A small deterministic set is checked on the request and the page shows the result. Anything else is checked by the job. The action has the same moved-on guard and hidden placeholder form as the other actions.Why
IChangeSetChecks, not a plain transition. Run the checks on every submitted change set #2575 makes it the one way into checks running, so the checks always run.Tests
/headlinepointer and the excerpt.dotnet build -warnaserror, the unit and bUnit suite, and the full integration suite on SQLite with the browser tests pass locally. A full local PostgreSQL run on an overloaded machine (24 minutes) failed in 33 unrelated classes. The desk classes passed on a rerun against a cleaned container, and CI runs the full PostgreSQL suite. No new package and no new project reference.Checklist
v2