Repository navigation
test(scripts): skip POSIX helper permission checks on Windows - #21766
Closed
UtkarshUsername wants to merge 1 commit into
Closed
UtkarshUsername wants to merge 1 commit into
UtkarshUsername wants to merge 1 commit into
Conversation
Contributor
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a narrowly scoped, test-only Windows compatibility adjustment in an ignored path; it preserves the substantive staging checks and does not alter product behavior, defaults, or static-analysis policy. Notes:
You can add or adjust custom eligibility rules. Learn more. |
Contributor
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.
Problem
The Linux capture-helper staging test fails on Windows because it expects POSIX executable mode 0755, while Windows reports 0666.
Change
Only assert POSIX permission bits on non-Windows hosts. Windows still verifies staged helper contents, and the Hyprland protocol files remain checked. No production behavior changes.
Scope and approval
This is a small, focused fix for an obvious platform-specific test defect, qualifying for the exception without a prior issue or discussion.
Verification
On Windows x64:
vp test run lib/cli-external-packages.test.ts build-desktop-artifact.test.tspassed all 98 tests in 7.61s. Removed inheritedELECTRON_RUN_AS_NODEonly from the test shell to avoid the separate existing environment-sensitive native-probe assertion.vp lint scripts/build-desktop-artifact.test.tspassed.vp run --filter @t3tools/scripts typecheckpassed.git diff --checkpassed.Linux/macOS execution was not available locally; their permission assertion is preserved.
Model: gpt-6.1-sol. Harness: Codex in T3 Code.