perf(ci): aggregate per-shard Playwright stats into one workflow-level run
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, playwright, typescript
Direzione di ricerca
Start by reading packages/stats/scripts/report-playwright.sh and packages/stats/src/routes/playwright-ingest.ts, then inspect the workflow and the sharding change in PR #1170. Compare the report merging options and how uploads create run documents. Done means each workflow run uploads one consolidated result to the stats dashboard while preserving CI pass and fail behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
PR #1170 introduces 4-way Playwright sharding. Each shard currently calls report-playwright.sh with its own partial results.json, which creates 4 separate run documents in the stats dashboard instead of one merged run.
Problem
The stats API (at stats.sonicjs.com) creates a separate run document per upload. With 4 shards + 1 locked job = 5 uploads per workflow run, the dashboard shows 5 partial results (green/red on a subset of tests) rather than one consolidated view.
Options
-
Merge reports in a final job — add
['blob']reporter to each shard, download all blob artifacts in areportjob, runnpx playwright merge-reports, then upload once. Requires a newreportjob step in the workflow. -
Pass
--shardmetadata to the stats API — modifyreport-playwright.shand the stats ingest endpoint to accept a shard identifier and merge partial runs server-side by run_id. -
Skip per-shard upload; do one merged upload — simplest from a workflow perspective, but requires implementing option 1 first.
Impact
Non-blocking for CI correctness — tests still pass/fail correctly. Affects only the stats dashboard view quality.
References
- CodeRabbit comment on PR #1170
packages/stats/scripts/report-playwright.shpackages/stats/src/routes/playwright-ingest.ts
- Lingua principale
- TypeScript
- Stelle
- 1.8k
- Fork
- 219
- Merge medio
- 2g 21h
- PR unite (30g)
- 67
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SonicJs-Org/sonicjs
-
bug(admin/users): server error returns bare alert HTML causing black-shape visual artifactForse già presa @lane711 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
SonicJs-Org/sonicjs#1211 ·
I maintainer di solito rispondono entro 1 giorno
-
area: api bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
SonicJs-Org/sonicjs#1200 ·
I maintainer di solito rispondono entro 1 giorno
-
ResendProvider cannot send on Workers: unbound `fetch` stored as an instance property throws "Illegal invocation"Forse già presa @lane711 l’ha presa 23 giorni fa. Apertaarea: email bug priority: P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SonicJs-Org/sonicjs#1099 ·
I maintainer di solito rispondono entro 1 giorno
-
Email plugin settings are never read: loadDbEmailSettings queries a v2 `plugins` table that does not exist in v3Forse già presa @lane711 l’ha presa 23 giorni fa. Apertaarea: email bug priority: P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
SonicJs-Org/sonicjs#1098 ·
I maintainer di solito rispondono entro 1 giorno
-
area: documentation bug documentation priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SonicJs-Org/sonicjs#1012 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SonicJs-Org/sonicjs
Issue simili
-
awaiting-final-review request-icon
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
homebridge/plugins#1376 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mindfold-ai/Trellis#672 ·
-
p1 state:active track
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
StellarCanary/ProtocolCanary-Action#698 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pear-devs/pear-desktop#4839 ·
I maintainer di solito rispondono entro 1 giorno