chore(review): remove dead checkRunDetailLevel.deep (#4620) - #4751
Merged
Conversation
"deep" was never wired to any different behavior than "standard" -- formatCheckRunOutput and buildCheckRunAnnotations (rules/advisory.ts) both branch only on `detailLevel === "minimal"` vs not, so a repo set to "deep" always rendered byte-identical check-run output to "standard". Removes the value from the type, both write schemas, the yml settings.checkRunDetailLevel parser, and the maintainer dashboard's select. A pre-existing DB row persisted as "deep" degrades to "standard" on the next read (parseCheckRunDetailLevel) -- no migration needed since the two were already behaviorally identical.
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
gittensory-ui | 391c4a0 | Commit Preview URL Branch Preview URL |
Jul 10 2026, 10:42 PM |
❌ 3 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
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
Follow-up to #4620's dead-config audit.
checkRunDetailLevel: "deep"was never wired to any different behavior than"standard"— verified both consumers (formatCheckRunOutputandbuildCheckRunAnnotationsinsrc/rules/advisory.ts) branch only ondetailLevel === "minimal"vs not, with zero code path distinguishing"standard"from"deep". A repo configured to"deep"has always rendered byte-identical check-run output to"standard".RepositorySettings["checkRunDetailLevel"], both settings-write API schemas, the ymlsettings.checkRunDetailLevelparser (engine package), and the maintainer dashboard's detail-level select.parseCheckRunDetailLevelnow degrades any non-"minimal"persisted value (including a pre-existing"deep"row) to"standard"on read — no DB migration needed since the two were already behaviorally identical.CheckRunDetailLeveltype and its readiness-table helpers.Test plan
npx tsc --noEmit(root +apps/gittensory-ui) — cleannpm run engine-parity:drift-check,npm run ui:openapi:check(regeneratedopenapi.json),npm run ui:openapi:settings-parity,npm run docs:drift-check,npm run manifest:drift-check— all passnpm run ui:lint(0 errors) + UI test suite +npm audit --audit-level=moderate(0 vulnerabilities)