Repository navigation
Analytics: unnecessary stops and nuisance blocks, exported as replay cases; the reviewer requests changes only for named problems - #328
Merged
Conversation
…cases; the reviewer requests changes only for named problems The analytics Reliability view gets a Stops and blocks section: the share of the stop judge's stops (questions, waits, extra fix rounds, hand-offs) that people's next step showed weren't needed, and of its blocks that were dismissed or merged unchanged, with the newest examples and a download of them as replay cases. The reviewer docs and the Require tests setting say what the review now does: changes requested only for a named correctness, security or data-loss problem; everything else a Nit, Suggestion or FYI on the approval.
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.
Summary
Every question, stop, extra fix round and request for changes now goes through one stop judge on the platform, which records what people did next. This adds the view of that: how many stops weren't needed and how many blocks were nuisances, with examples and a download of them as replay cases. It also brings the reviewer's docs and the Require tests setting in line with the owner's policy: changes are requested only for a named correctness, security or data-loss problem; everything else is a Nit, Suggestion or FYI on the approval.
Changes
GET /api/analytics/decisionsandGET /api/analytics/decisions/export, and hides itself when the platform doesn't answer.Verification
npm run lint,npm run typecheck,npm run check:openapiandnpm run buildpass.e2e/analytics.spec.ts(15, including a new test for the section, its examples, the run link and the export download) ande2e/audit-reviewer.spec.ts(34) pass.test:unit,build,typecheck,check:linksandcheck:outputpass.