[perf] nightly: project trash timing exceeds the previous-run threshold again

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, typescript

Direzione di ricerca

Start by reading the benchmark entry point, scripts/bench_creation_projects.py, and the nightly threshold check that reported REGRESSION storage.delete.trash. Repeat the documented delete workload on matched environments and report each sample plus a stable aggregate. If the result reproduces, profile the trash operation and separate storage time from runner and filesystem variation; keep the existing threshold and missing-sample checks unless evidence supports changing them.

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

Descrizione

area:ci area:performance

Observed failure

On main 58b6a96df89f92f240b2931bc55fdb3cd779d244, nightly 44425602809 / daily-benchmark measured storage.delete.trash at 232.9 ms, versus 130.0 ms in the previous reference run: +102.9 ms / +79.15%.

The benchmark completed and uploaded its report. The threshold step exited 1, naming only REGRESSION storage.delete.trash; no suite failure or incomplete sample was reported. The rule requires both current > 1.5× reference and a delta of at least 50 ms. Both were met; the fixed baseline is unseeded, so 130.0 ms is a previous-run sample, not a frozen baseline. Pan p95 did not trigger the gate (delta 33.4 ms).

Reproduction and limits

GitHub-hosted Ubuntu 22.04.5, image 20261111.360.2, Python 3.12.16, runner 2.338.2. On the tested revision with repository dependencies installed:

python scripts/bench_creation_projects.py --scenario delete --commits 600 --nodes 200 --projects 0 --json

This creates disposable synthetic projects. It separately measures client snapshot and times one execute(project.trash) operation. Earlier scheduled values were 104.4, 148.3 and 107.1 ms; #299 also recorded a separate 172.4 vs 107.2 ms signal while tracking an artifact-layout bug. These are different runner instances/revisions, not matched repeats. Changes since the previous nightly were chat-draft serialization/tests (#395) and documentation (#399), with no storage or benchmark file changes. This establishes a threshold failure, not a confirmed product regression; no independent latency reproduction has been run.

Acceptance

  • Preserve the two JSON samples and runner details. Repeat the same workload on matched environments, reporting individual values and a stable aggregate.
  • If reproducible, profile the trash operation and distinguish storage work from runner/filesystem variation. Keep the existing threshold and missing-sample checks unless evidence supports a change.

Related: #299 (historical threshold signal), #180/#182 (deletion performance), #213/#216 (benchmark). No active issue tracking this exact threshold failure was found.

Lingua principale
TypeScript
Stelle
119
Fork
16
Merge medio
16h 13m
PR unite (30g)
195

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 ThinkFlowLab/OpenDirector

Tutte le issue di ThinkFlowLab/OpenDirector

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.