day-dividers timing test flakes on CI runners

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
testing

調査の方向性

Start with day-dividers.test.ts and inspect the "cheap enough to run on every streamed update of a long chat" test and the dividerRows implementation it exercises. Consider whether counting timestamp parses or comparing performance against a same-run baseline would preserve detection of repeated parsing while tolerating runner noise. Done when the check catches a real slowdown without failing from ordinary CI timing variation.

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

説明

type:bug

The day-dividers.test.ts test "cheap enough to run on every streamed update of a long chat" asserts dividerRows stays under 0.5 ms per call on 2000 rows, measured in real time. On a shared CI runner it measured 0.605 ms and failed verify on #768 (run 40546143525), which doesn't touch the renderer.

Acceptance: the check still catches a real slowdown (for example, re-parsing every timestamp on each call) but doesn't fail on runner noise. Options include counting timestamp parses instead of measuring time, or comparing against a baseline taken in the same run.

主要言語
TypeScript
スター
3
フォーク
0
平均マージ
17時間 33分
マージ済み PR(30日)
163

環境構築

はじめの一歩

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

musterhq/muster-code のほかの issue

musterhq/muster-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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