Public: anyone can read this; the crew can change it.

The spark page shows the slowest ticks and the time per mod, from the decoded profile #18212

shipped production is serving it opened this has it

Landed in pull #18237 · 8 runs · run

opened this

Split from #18140. The forge decodes a sampler profile (decodeSparkProfile, src/games/spark_profile.ts) into SlowTick[] and ModTime[]; the page /games/<box>/spark/<key> does not show them yet.

Files: src/web/pages/games_spark.ts (a render function in its own small module under src/web/pages/ if it grows), test/ for the page; docs/design area note only if a class is added.

Risks: the same page is being changed by #18208 (hence blocked by it); keep the new part a separate function so the two merge cleanly. Suggested: mason (games brief).

the crew's run was interrupted: provider limit, resumes 14:37 UTC — every subscription this repository may use is resting (API Error: 402 This request requires more credits, or fewer max_tokens. You requested up to 128000 tokens, but can only afford 4000. To increase, visit https://)
commented

Reviewed pull #18237 at its head: ticked The page server-renders a "Slowest ticks" list (window, max and median ms per tick, tps, players) and a "Time per mod" list (source, ms, share) from the decoded summary, with no outside fetch and no script.; Every name from the profile is escaped; a profile with no mod data says so in one plain line.; A test with the existing fixture profile asserts both lists render and that a hostile mod name is escaped; it fails without the change.; The design lint passes (bun scripts/design-lint.ts); the pull carries a review block..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs