Files
magpie/internal/gui
yetone dd9cd59a17 routing: an account whose usage read failed says so, the reason on hover (X @iamforu_)
@iamforu_ on X: "antigravity-bridge在路由页面不显示额度". When a plugin's
usage read fails (the bridge's agy read timing out or erroring), its Usage
card holds an error and no windows. cardOf dropped such a card, so
Routing's accounts list and stage said "what's left not known yet", with
no reason, while the Usage page showed why. A row whose card says its
read failed now says "Allowance unavailable — hover for why" (the line
remote rows already use, translated in every language), with the card's
error on hover: the list's status line title, and the stage row's
tooltip. A card with windows keeps them; an account with no card at all
stays "not known yet".

A bridge-shaped probe plugin (two accounts through auth.set, aside
windows, 8s reads) gave matching, error-free cards from
fetchSubscriptionUsage, and the Routing page drew them in a group's
accounts and on its stage, so successful bridge reads already showed;
the gap was the failed read. The probe was not committed.

Run (mica; mote's load was over its cores), at e513cba54 + this change:
- routing-card-error.test.cjs (new; chromium + webkit, en/zh/zh-TW/ja/de,
  1100 and 420px): 22 of 22 pass; with client.js from e513cba54 it is
  22 of 22 red (the failed-read line never appears).
- every routing-*.test.cjs and i18n-*.test.cjs: 3306 of 3324 pass at
  load ~100. The reds' files run alone at load ~25: routing-fold-all,
  -stage-routes and -many-keys pass; routing-signin, -row-swap, -pin-away
  and -story-shrinks fail the same 15 with e513cba54's client.js, filed
  as #6520, #3799, #6512 and #3954.
Not tried: the reporter's real antigravity-bridge account; the failure
was built from the plugin's error-card shape.
2026-11-15 02:00:23 +08:00
..
…
…
…