Deflake perf#32 bound + drop fake ModelAwayState badge
- perf.test.ts: the @200 absolute check flaked under machine load (single-shot vs a 1000ms bound; nominal ~230ms). Measure best-of-3 (a micro-benchmark's minimum reflects true compute cost, not load spikes) against a 1500ms catastrophic- regression guard. The scaling test remains the real O(n²) guard. - ModelAwayState: remove the hardcoded 'queued: 1 directive' badge (no live queue count is wired) and the now-unused Badge import. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
|
||||
import { Badge, Button, Icon } from '../ui/index.js'
|
||||
import { Button, Icon } from '../ui/index.js'
|
||||
|
||||
/**
|
||||
* Shared empty / trouble states, reused across real screens: EmptyState for
|
||||
@@ -93,9 +93,6 @@ export function ModelAwayState() {
|
||||
</span>
|
||||
<span style={{ font: 'var(--text-body-strong)', color: 'var(--ink-2)' }}>Reginald</span>
|
||||
<span style={{ font: '400 11px var(--font-mono)', color: 'var(--ink-3)' }}>model offline</span>
|
||||
<span style={{ marginLeft: 'auto' }}>
|
||||
<Badge>queued: 1 directive</Badge>
|
||||
</span>
|
||||
</div>
|
||||
<p style={{ font: 'var(--text-agent)', color: 'var(--ink-2)', margin: 0 }}>
|
||||
The model is away from its desk. Reads still work; writes will wait their turn.
|
||||
|
||||
Reference in New Issue
Block a user