Skip to content

Epic browser check fixes for the compute web epic - #508

Merged
neuromechanist merged 5 commits into
feature/issue-493-epic-compute-webfrom
feature/issue-493-epic-fixes-1
Nov 7, 2026
Merged

neuromechanist merged 5 commits into
feature/issue-493-epic-compute-webfrom
feature/issue-493-epic-fixes-1

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Fixes the defects found by the epic-level browser check of #493.

Changes

  • Admin Compute tab: after a confirmed decision (or a re-read showing it landed) the shared tab badge counts down (removed at zero, a capped 200+ is left alone) and a card that no longer matches the state filter moves to a "Decided on this page" group with its note, in place. The All filter keeps the card. Refusals that changed nothing move nothing. A page-level live region announces the result because a moved node is not reliably announced. Pure rules: adjustRequestsBadge, cardLeavesList.
  • /compute empty usage chart: the "No charges in this period." line sits between gridlines (emptyLabelTopPercent), not on the 0.5 line. Geometry tested on 220 px and 180 px plots.
  • Job page: the Actions card is not drawn when there is no action (on render and on every poll; the cancel outcome stays visible if shown). The "download everything" CLI line shows only while the job has results (showCliLine: finished and within retention).
  • Started earlier than Created: a seed artifact, not a display bug. finish in scripts/local-backend.mjs made the stand-in report a run that started 30 minutes ago and the backend copies that into started_at, while the record was just created; the expiring and expired jobs only moved ended_at. The seed now backdates the whole record. The job view parses all three times as UTC the same way.

Gates

  • bun run lint, bun run typecheck (0 errors), bun run build (public/og-image.png reverted).
  • bun run test with the drift variables pointed at the Epic D worktree (27eecff9): 200 files passed, 5384 tests passed.
  • Browser, real local backend with --seed-compute --seed-compute-jobs: denied a request on the Requested filter (badge 9 to 8, card moved to the decided group with its note, focus on it, live region text set); denied one on All (badge 8 to 7, card stays); /compute empty chart text clear of every gridline; failed job has no Actions card and no CLI line; finished job has the CLI line and no Actions card; running job has Actions with Cancel; created before started on finished, failed, expiring and expired jobs.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 33706a1
Status:⚡️  Build in progress...

View logs

@neuromechanist
neuromechanist merged commit e8ea278 into feature/issue-493-epic-compute-web Nov 7, 2026
2 of 3 checks passed
@neuromechanist
neuromechanist deleted the feature/issue-493-epic-fixes-1 branch November 7, 2026 18:01
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.

1 participant