Repository navigation
fix(workspace-source): count a key-taken refusal on a folder sent by its base in status - #10603
Open
waleedlatif1 wants to merge 1 commit into
Open
waleedlatif1 wants to merge 1 commit into
waleedlatif1 wants to merge 1 commit into
Conversation
…sent by its base in status counts isFolderEvaluationFinding treated a shared-code finding pinned to a file as compile/lint output. Since kindFinding defaults the file to the declaration, a workspace E_NAME_TAKEN on an unchanged folder carried a file too, so status dropped the error the apply refuses with. Folder evaluation findings always carry a line; workspace findings never do, so key on the line.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Confidence Score: 5/5
[Low impact] The PR appears safe to merge. SummaryFixes
Reviews (1) · Last reviewed commit: "fix(workspace-source): keep a key-taken ..." · Reviewed by Greptile |
This branch was previously deployed
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
isFolderEvaluationFindingcounted a shared-code finding (E_NAME_TAKEN,E_LIMIT_EXCEEDED,E_APPLY_STALE,I_FINDINGS_TRUNCATED) as compile/lint output whenever it carried afile. Since fix(workspace-source): locate every finding, hint nested folder creates, and plan managed rows as stored #10558,kindFindingdefaultsfileto the resource's declaration, so a workspaceE_NAME_TAKENon a workflow folder carries a file too.sim workspaces source statusdrops folder-evaluation findings for a folder an apply sends by its base, so it hid the key-taken refusal the apply itself refuses with (0 errors in status, refusal on apply).fileandlinefor shared codes.Test plan
fileand nolineon an unchanged workflow folder is still counted (red before the fix:errors: 0; green after)packages/sim-cliworkspace-source-status suite,packages/workspace-codesuite@sim/workspace-codeandsim-cli,bun run generate(no diff)