ta
TanStack
GitHub
ai
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
ai
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
fix/sync-models-single-line-array
e283191a fix(scripts): sync-models array insertion breaks on single-line arrays addToArray inserted new entries just before the closing bracket, assuming the last existing entry ended with a trailing comma — true for every provider's long, oxfmt-multi-lined model array, but not for grok's two-entry GROK_CHAT_MODELS, which sat on one line. The day OpenRouter listed grok-4.5 the generator emitted export const GROK_CHAT_MODELS = [GROK_BUILD_0_1.name, GROK_4_3.name GROK_4_5.name, ] as const — a syntax error that made the pipeline's closing `pnpm format` exit 2. The daily sync-models workflow has failed on it every run since July 9, stranding 11 new models across four providers (grok-4.5, two Geminis, the GPT-5.6 trio, claude-opus-5/-fast). Rewrite the insertion to be correct by construction: insert immediately AFTER the opening bracket, so the script only ever writes separators it owns (each inserted line carries its own trailing comma) and the existing body — trailing commas or not, section comments, or empty — follows unchanged, with no guessing about its shape. New models therefore land at the top of each array; `pnpm format` reflows the result. The function also loses its dotAll regex for a plain indexOf. Verified by running the full `pnpm generate:models` pipeline: all 11 models insert, oxfmt passes (the previously failing step), OpenAI's in-array section comments survive, and ai-grok / ai-gemini / ai-openai typecheck with the generated entries. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
fix/sync-models-single-line-array
e283191a Merge 8b4ea10fc24de8f03090ec09ca4064e3769a2f3c into 6feb5644a38073c5865f7b4ff4d64d62195e755b
by Tom Beckenham
T
Succeeded
fix/sync-models-single-line-array
7bef7fec fix(scripts): sync-models array insertion breaks on single-line arrays addToArray assumed the target array was multi-line with a trailing comma after its last entry (oxfmt's format for long arrays). Grok's GROK_CHAT_MODELS was short enough to sit on one line with no trailing comma, so the day OpenRouter listed grok-4.5 the generator emitted export const GROK_CHAT_MODELS = [GROK_BUILD_0_1.name, GROK_4_3.name GROK_4_5.name, ] as const — a syntax error that made the pipeline's closing `pnpm format` exit 2. The daily sync-models workflow has failed on it every run since July 9, stranding 11 new models across four providers (grok-4.5, two Geminis, the GPT-5.6 trio, claude-opus-5/-fast). Append the comma when the captured prefix doesn't already end with `,` (multi-line entry) or `[` (empty array). Verified by running the full `pnpm generate:models` pipeline: all 11 models insert, oxfmt passes, and ai-grok / ai-gemini / ai-openai typecheck with the generated entries. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
fix/sync-models-single-line-array
7bef7fec Merge 3a9f813952ec9b84c46232c6a5d6731400dc3db4 into 6feb5644a38073c5865f7b4ff4d64d62195e755b
by Tom Beckenham
T
Previous page
Previous
Next
Next page