Dashboard cannot show runs older than the last 14

Aperta
#54 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@NopeCharon ci sta già lavorando.

Dal 19/11/2026.

  • #55 di @NopeCharon — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start in src/main.ts at visibleRuns() and update(), then follow how the range menu, URL parameters, and downloads use the visible runs. Reproduce with a 20-run history and ?run=<third run>. Done when the menu offers all runs, old shared links select the requested run, and downloads include older runs while the default remains 14. A linked open pull request (#55) indicates work is already underway.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The chart and the commit selector only offer the last 14 or last 7 runs (visibleRuns() in src/main.ts slices data.runs by range, and range can only be 7 or 14). The loader already fetches and validates every run in the selected history, but once a history has more than 14 runs the older ones can't be reached from the dashboard at all.

Shared links break the same way. Copy view link saves run=<id>.<attempt>, but update() falls back to the latest run when the selected run isn't among the visible runs. When 14 newer runs have been published, an old link quietly shows the latest run instead of the one that was shared. Downloads only include visible runs too, so older bundles can't be exported from the UI either.

To reproduce, serve a history with 20 runs and open ?run=<third run>. The snapshot shows the latest run, and the range menu still only offers "Last 14 runs" and "Last 7 runs".

Proposal:

  • Add an "All N runs" option to the range menu, with range=all in the URL.
  • When a run= link points outside the requested range, widen the range just enough to include that run: 14 if that covers it, otherwise all.
  • Keep the default at 14 runs so the chart stays readable as history grows.
Lingua principale
TypeScript
Stelle
2
Fork
1
Merge medio
6h 19m
PR unite (30g)
4

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyperlight-dev/hyperlight-bench

Tutte le issue di hyperlight-dev/hyperlight-bench

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.