Repository navigation
chore(macroscope): review diagnostic overrides - #8917
Merged
Merged
Conversation
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.
problem
Macroscope could auto-approve a pull request that introduced a lint, LSP, or static-analysis suppression, as happened in #8540. The Effect check-run agent also did not require authors to explain new disable directives.
fix
verification
git diff --check@effect-diagnostics nodeBuiltinImport:offaddition in fix(server): preserve usage cache outside walked roots #8540model: gpt-5.6-sol · harness: hermes agent
request provenance
Note
Low Risk
Documentation-only updates to Macroscope review rules; no runtime or product behavior changes.
Overview
Closes a gap where Macroscope could auto-approve PRs that add or widen lint, type-checker, LSP, or other static-analysis suppressions (file-, line-, or config-level).
Approvability now treats those changes like product-default edits: they always need human review. The Effect service conventions check-run agent must also fail when a new or broadened disable directive has no adjacent comment explaining why the diagnostic must be suppressed there—the directive alone does not count as an explanation.
Reviewed by Cursor Bugbot for commit dd0d3d9. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Require human review for PRs that add or broaden static-analysis suppression directives
Macroscope summarized dd0d3d9.