Skip to content

Commit 8f3b2ab

Browse files
committed
style: format spawn-ps and agents display test
Both landed unformatted on main (6th/7th merge-skew format break today), failing check-lint repo-wide. Repo-wide oxfmt --check is clean after this.
1 parent 90b498a commit 8f3b2ab

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

‎src/infra/spawn-ps.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { spawnSync, type SpawnSyncReturns } from "node:child_process";
22

33
/** Run a bounded ps probe without letting an ignored SIGTERM extend the synchronous wait. */
4-
export function spawnPsSync(
5-
args: readonly string[],
6-
timeoutMs: number,
7-
): SpawnSyncReturns<string> {
4+
export function spawnPsSync(args: readonly string[], timeoutMs: number): SpawnSyncReturns<string> {
85
return spawnSync("ps", args, {
96
encoding: "utf8",
107
killSignal: "SIGKILL",

‎ui/src/lib/agents/display.test.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ import {
88
resolveAssistantTextAvatar,
99
resolveChatAvatarRenderUrl,
1010
} from "../avatar.ts";
11-
import {
12-
buildAgentContext,
13-
formatBytes,
14-
resolveEffectiveModelFallbacks,
15-
} from "./display.ts";
11+
import { buildAgentContext, formatBytes, resolveEffectiveModelFallbacks } from "./display.ts";
1612

1713
describe("formatBytes", () => {
1814
it("preserves the Control UI byte-size display contract", () => {

0 commit comments

Comments
 (0)