Skip to content

Skipped panel: capture the whole Venice error, spin the Retrying button - #464

Merged
sysread merged 1 commit into
mainfrom
claude/context-window-limits-wps8rl
Jul 30, 2026
Merged

Skipped panel: capture the whole Venice error, spin the Retrying button#464
sysread merged 1 commit into
mainfrom
claude/context-window-limits-wps8rl

Conversation

@sysread

@sysread sysread commented Jul 30, 2026

Copy link
Copy Markdown
Owner

SYNOPSIS

Skipped-panel polish from validating #462: full error text on the cards, live spinner on the Retrying button.

PURPOSE

The skip-reason cards cut the context-length 400 off mid-sentence ("...for a total of at least 1638"), and the in-flight Retry state was a motionless disabled button that read as hung.

DESCRIPTION

The card renders the stored string in full - the clipping happened at capture: the edge client sliced completions error bodies to 200 chars when building the VeniceError message, and the SQL skip path capped storage at 500. Completions error bodies now capture 600 chars (other endpoints stay at 200 - their errors never land in a user-facing card) and both skip-reason columns (wiki_last_skip_reason, wiki_record_last_skip_reason) store up to 1000, sized so the wider message is never clipped twice.

The Retry button now leads with the wiki fleet's AsciiSpinner (the librarian strip's bar spinner) while a retry is in flight - covering both the local click and the reload-recovered server-claim state - wrapped aria-hidden so the frame swaps stay out of screen-reader announcements; the "Retrying..." text is the accessible signal.

Notes:

  • Existing skip rows were stored already-clipped and cannot be backfilled; failures from now on store the complete error.
  • Schema change is the idempotent create or replace on the two failure RPCs; the deploy's sync job applies it on merge.
  • Both spinner modules' preambles named stale call sites (the memory strip moved to SleepSpinner); refreshed while adding this third consumer.

Generated by Claude Code

The skip-reason cards cut the context-length 400 off mid-sentence
("...for a total of at least 1638"). The card renders the stored
string in full - the clipping happened at capture: the edge client
sliced completions error bodies to 200 chars when building the
VeniceError message. Widen that slice to 600 (completions only - the
other endpoints' errors never land in a user-facing card) and raise
both skip-reason columns' storage caps from 500 to 1000 so the wider
message survives the SQL truncation too. Existing rows were stored
already-clipped and cannot be recovered; every failure from now on
stores the complete error.

The in-flight Retry state also read as dead: a disabled button whose
label flipped to "Retrying..." with no motion. Prepend the wiki
fleet's AsciiSpinner (the bar spinner the librarian strip uses,
aria-hidden so the frame swaps stay out of screen-reader
announcements) so the button visibly works while the server-side
retry runs. Both spinner modules' preambles also named stale call
sites (the memory strip moved to SleepSpinner); refreshed while
adding this third consumer.
@sysread
sysread merged commit cd9df09 into main Jul 30, 2026
1 check passed
@sysread
sysread deleted the claude/context-window-limits-wps8rl branch July 30, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants