Repository navigation
Conversation
A project check compared its diagnostics against every project in the shared baseline. Refreshing one project could discard every sibling's accepted diagnostics. Store the reporting project's workspace-relative configuration and project directories. Keep sibling entries through a scoped refresh and preserve workspace-wide matching for older baselines. When an explicit selection cannot determine ownership, require an unscoped refresh before applying fixes or updating the file.
Paths with spaces or backslashes need different quoting in different shells. Ask the caller to reuse their original arguments when a portable command cannot express the path directly.
|
@SaKaNa-Y is attempting to deploy a commit to the NuxtLabs Team on Vercel. A member of the Team first needs to authorize it. |
SaKaNa-Y
marked this pull request as draft
November 18, 2026 07:19
Validate the fields required by previous readers and the optional project definition. Keep the original rows so scoped refreshes retain legacy metadata and occurrence counts.
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
When
documentationandwebshare a baseline,x18n check --project documentationcounts knownwebdiagnostics as fixed. Adding--update-baselinedeletes those entries, so the next workspace check fails on the same errors again.Each new entry now records which project reported it. For
x18n check --project documentation --update-baseline, the change is:Two projects can report the same file. If a scoped check needs the owner of an older entry, it exits with code 2 before applying fixes or writing the baseline. The message asks the user to review a full workspace check, then refresh the baseline once.
Evidence
In
playground/monorepo, the shared baseline contained threewebentries and none fromdocumentation. The same commands produced these results:x18n check --project documentationx18n check --project documentation --update-baselinex18n checkA separate test removed one of two configured projects. Both the scoped check and the scoped refresh exited 2 and preserved the old entry.
Merge Danger
Door: Two-way. The code can be reverted. A committed baseline can be restored from Git.
Blast Radius: Baselines. An incorrect project match can hide a new diagnostic from CI or make an accepted one fail CI again.