You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(server): run the empty-PATH launcher cases only on POSIX hosts - #41791
repointLaunchers accepts a working-directory t3 only when its execute bits are set. Windows hosts do not set them on the test fixture, so the leading and trailing empty-PATH cases in serviceLauncherClient.test.ts would fail on a Windows run, even though the test sets the logical platform to Linux. Those two cases now run on POSIX hosts only. The entirely empty PATH case still runs everywhere.
Test-only change. Validation on macOS: serviceLauncherClient.test.ts passes (14 tests), and format, lint, Knip, GraphQL and typecheck pass. Not run on a Windows host.
repointLaunchers accepts a working-directory t3 only if its execute bits are
set, which Windows hosts do not do, so the leading and trailing empty-entry
cases would fail on a Windows run. They now run on POSIX hosts only; the
entirely empty PATH case still runs everywhere.
This is a test-only change that skips two empty-PATH tests on Windows, where the fixture cannot carry the execute bits the launcher repoint requires. It has no production impact and is safe to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the change: the empty-PATH launcher test cases now run only on POSIX hosts. The raw summary confirms the leading and trailing cases are skipped on win32 while the whole case stays unco…
Description check
The description states the problem: repointLaunchers needs execute bits on the working-directory t3 fixture, which Windows hosts do not set, so the leading and trailing empty-PATH cases fail on Window…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the change: the empty-PATH launcher test cases now run only on POSIX hosts. The raw summary confirms the leading and trailing cases are skipped on win32 while the whole case stays unconditional. The title is specific, follows the conventional commit form used in the template, and is a single sentence of 10 words.
Full details: Description check
Explanation
The description states the problem: repointLaunchers needs execute bits on the working-directory t3 fixture, which Windows hosts do not set, so the leading and trailing empty-PATH cases fail on Windows. It states the change (those two cases run on POSIX only, the whole-PATH case runs everywhere), links the originating discussion, and gives verification on macOS with 14 passing tests. It does not follow the template headings (Problem, Change, Scope, Verification), and the Scope section is not explicit about why no issue is linked, though it links follow-up PR #41393 and a CodeRabbit discussion. It also says Windows was not run, which the template asks for. Most required information is present.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Run the real server on each commit with fresh synthetic state and leading, trailing, and entirely empty PATH values. Complete the update IPC handshake, wait for startup completion, and inspect the launcher.
Driver and synthetic setup. All twelve server starts completed. These captures establish server behavior equivalence, not test registration.
Not shown:
The changed test-registration behavior cannot be demonstrated through real-app captures. The serviceLauncherClient test file was not executed as evidence.
Browser UI was not exercised. The unbuilt web routes returned HTTP 503 on both commits; server startup and launcher behavior were captured directly.
macOS was not run; POSIX behavior was exercised on Linux.
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
size:XS0-9 changed lines (additions + deletions).vouch:unvouchedAuthor is not yet trusted in the VOUCHED list.
2 participants
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.
Follow-up to #41393, for CodeRabbit's note there (#41393 (comment)).
repointLaunchersaccepts a working-directoryt3only when its execute bits are set. Windows hosts do not set them on the test fixture, so the leading and trailing empty-PATH cases inserviceLauncherClient.test.tswould fail on a Windows run, even though the test sets the logical platform to Linux. Those two cases now run on POSIX hosts only. The entirely empty PATH case still runs everywhere.Test-only change. Validation on macOS:
serviceLauncherClient.test.tspasses (14 tests), and format, lint, Knip, GraphQL and typecheck pass. Not run on a Windows host.