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
This PR is a single-file formatting fix that restores the oxfmt-compliant layout for the probeGateway mock declaration in src/cli/daemon-cli/lifecycle.test.ts, which was left out-of-format by PR #37876.
Reformats const probeGateway = vi.fn<…>() from the split-assignment style to the inline generic-open-bracket style required by oxfmt.
No logic, types, or runtime behaviour are changed.
Unblocks the shared check (format + lint) gate on main.
Confidence Score: 5/5
This PR is safe to merge — it is a pure whitespace/formatting change with no behavioural impact.
The entire diff is a reflow of one variable declaration to satisfy the project formatter. There is no change to types, logic, or test assertions.
Note: upstream/main now includes changes that skip these ACL-dependent runtime snapshot tests on Windows (and adds allowInsecurePath for the temp secrets file path in this harness). Rebasing this PR onto latest main may resolve the Windows failure.
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
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.
What
This PR fixes the formatting regression introduced in #37876 by applying the expected
oxfmtlayout insrc/cli/daemon-cli/lifecycle.test.ts.Why
The merged PR left
mainwith a failingcheckjob, which can block other PRs that run the shared formatter and lint gate.Changes
probeGatewaytest declarationpnpm checkpass on mainTesting
pnpm checkformat:check