Skip to content

Commit e385ebe

Browse files
ryan-williamsclaude
andcommitted
www: default availSrcv3 (avail-v3 min-cover pyramid)
Station avail charts default to `/api/avail-v3` (inventory-driven planner, pyrmts `ffc72db`): ~1.3 s chart XHR in-browser vs ~3-5 s on the legacy `/api/totals` path, no more phantom-key 500s at rung boundaries. `?availSrc=totals` (or the flags panel) remains as the escape hatch until #108 retires the legacy availability reader. Re-flips the #111 default that was reverted during the /1m partials rollback (`287bed61` era) — the read path is now correct under min-cover maintenance. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 411eba4 commit e385ebe

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

www/src/contexts/FlagsContext.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import { createContext, ReactNode, useCallback, useContext, useMemo, useState }
55
// value type from `options`.
66
export const FLAGS = {
77
availSrc: {
8-
default: 'totals' as const,
8+
// 'v3' = avail-v3 min-cover pyramid via the inventory-driven planner
9+
// (pyrmts `ffc72db`); ~1.3s chart XHR vs ~3-5s on the legacy
10+
// 'totals' path. 'totals' remains as the escape hatch
11+
// (`?availSrc=totals`) until #108 retires the legacy reader.
12+
default: 'v3' as const,
913
options: ['totals', 'v3'] as const,
1014
description: 'Per-station availability backend',
1115
},

0 commit comments

Comments
 (0)