Skip to content

Commit bb392b0

Browse files
committed
test(gateway/ui): register diagnostics.lanes in the 2026.8 train and mock it in the debug e2e
1 parent d176fd6 commit bb392b0

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

‎src/gateway/methods/core-descriptors.since.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ const TRAIN_2026_7_METHODS = [
8181
] as const;
8282

8383
const CURRENT_TRAIN_METHODS = [
84+
"diagnostics.lanes",
8485
"device.pair.setupStatus",
8586
"sessions.patchMany",
8687
"sessions.groups.update",

‎ui/src/e2e/debug-diagnostics.e2e.test.ts‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ suite.define(() => {
5151
],
5252
},
5353
"last-heartbeat": { ageMs: 1250, source: "gateway-heartbeat" },
54+
"diagnostics.lanes": {
55+
lanes: [
56+
{
57+
lane: "main",
58+
queuedCount: 0,
59+
activeCount: 0,
60+
maxConcurrent: 16,
61+
draining: false,
62+
generation: 1,
63+
},
64+
],
65+
dynamic: null,
66+
},
5467
},
5568
});
5669

@@ -70,7 +83,13 @@ suite.define(() => {
7083
});
7184
await expect.poll(() => models.textContent()).toContain("gpt-5.6-luna");
7285

73-
for (const method of ["status", "health", "models.list", "last-heartbeat"]) {
86+
for (const method of [
87+
"status",
88+
"health",
89+
"models.list",
90+
"last-heartbeat",
91+
"diagnostics.lanes",
92+
]) {
7493
const requests = await gateway.getRequests(method);
7594
expect(requests.length).toBeGreaterThanOrEqual(1);
7695
expect(requests[0]?.params).toEqual(

0 commit comments

Comments
 (0)