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

オープン
#401 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
119
フォーク
16
平均マージ
16時間 13分
マージ済み PR(30日)
195

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ThinkFlowLab/OpenDirector のほかの issue

ThinkFlowLab/OpenDirector の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。