-
-
Notifications
You must be signed in to change notification settings - Fork 727
refactor(linter/plugins): store messageId in diagnostics
#16296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
graphite-app
merged 1 commit into
main
from
11-30-refactor_linter_plugins_store_messageid_in_diagnostics
Nov 30, 2025
Merged
refactor(linter/plugins): store messageId in diagnostics
#16296
graphite-app
merged 1 commit into
main
from
11-30-refactor_linter_plugins_store_messageid_in_diagnostics
Nov 30, 2025
+27
−8
Conversation
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
Member
Author
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
65cd570 to
c56d44d
Compare
f0114a9 to
25da8e1
Compare
c56d44d to
72b48e7
Compare
Contributor
Merge activity
|
Store `messageId` in `DiagnosticReport` objects. It's not required for sending to Rust, but it is needed for rule tester (#16206). I think it's fine to add a little code that's redundant in the main runtime, because it only has an overhead when a rule produces diagnostics, which should be an uncommon path.
25da8e1 to
9de386d
Compare
72b48e7 to
1af1091
Compare
Base automatically changed from
11-30-refactor_linter_plugins_move_placeholder_replacement_into_own_function
to
main
November 30, 2025 23:56
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-cli
Area - CLI
A-linter
Area - Linter
A-linter-plugins
Area - Linter JS plugins
C-cleanup
Category - technical debt or refactoring. Solution not expected to change behavior
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.

Store
messageIdinDiagnosticReportobjects. It's not required for sending to Rust, but it is needed for rule tester (#16206).I think it's fine to add a little code that's redundant in the main runtime, because it only has an overhead when a rule produces diagnostics, which should be an uncommon path.