Skip to content

Commit 14d3e60

Browse files
jahoomaclaude
andcommitted
Update fireworks health test fixtures for tightened threshold
PREFILL_QUEUE_DEGRADED_MS was lowered to 200 in 8cd17c1, so the "healthy baseline" fixtures using p50=300 now classify as degraded. Drop them to 150 to keep the healthy-path tests meaningful. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e958870 commit 14d3e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/server/free-session/__tests__/fireworks-health.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function errors(code: string, rate: number): PromSample {
5454

5555
describe('fireworks health classifier', () => {
5656
test('healthy when queue well under the threshold', () => {
57-
const samples: PromSample[] = [kvBlocks(0.5), ...prefillQueueBuckets(300)]
57+
const samples: PromSample[] = [kvBlocks(0.5), ...prefillQueueBuckets(150)]
5858
expect(classify(samples, [DEPLOY])).toBe('healthy')
5959
})
6060

@@ -95,7 +95,7 @@ describe('fireworks health classifier', () => {
9595
test('ignores high error fraction when traffic is too low to be meaningful', () => {
9696
const samples: PromSample[] = [
9797
kvBlocks(0.5),
98-
...prefillQueueBuckets(300),
98+
...prefillQueueBuckets(150),
9999
requests(0.05),
100100
errors('500', 0.05),
101101
]

0 commit comments

Comments
 (0)