Skip to content

oversize試験の詰め物をコメント行にし、90秒の時間延長を外す - #7

Merged
quolu merged 1 commit into
mainfrom
snowwhite/oversize-test-filler
Oct 3, 2026
Merged

quolu merged 1 commit into
mainfrom
snowwhite/oversize-test-filler

Conversation

@quolu

@quolu quolu commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

何が起きたか

main 11fbd311 のCI(run 37100384189)で、Windowsの oversize-file-not-read 1件が90秒で時間切れになった。同じtreeはPR #6のWindowsで成功している。

原因

foxで実測した(機械が空いている状態)。書いた直後の1.4MBのfileを最初に読む時間:

file 中身 最初の読み込み
big.js const x = 1; 約10万行 37〜42秒
big.js コメント行 24ms
big.ts / big.mjs / big.py / big.txt const x = 1; 約10万行 1〜2ms

Defenderのリアルタイム保護が .js を開く時に中身を解析している。CIの負荷が重なると90秒を超える。

変更

  • 詰め物を // filler line に変える。試験が確かめるのは「index上限を超え、viewerの8MB上限に収まる普通のtext」の扱いで、文の中身には依らない。
  • 9月30日に入れた90秒の延長を外し、既定の時間制限へ戻す。

試験だけの変更なので版は上げない。

🤖 Generated with Claude Code

工場Windows機で `oversize-file-not-read` が90秒で時間切れになった(main 11fbd31、run 37100384189)。
同じtreeはPR #6のWindowsで成功している。

foxで実測した。書いた直後の1.4MBの `.js` を最初に読む時、中身が `const x = 1;` の約10万行だと
37〜42秒かかる(機械が空いている状態。同じ中身の `.txt`・`.ts`・`.mjs` は1〜2ms)。
Defenderのリアルタイム保護が `.js` を開く時に中身を解析している。同じ `.js` でも中身が
コメント行なら24msで済む。

試験が確かめるのは「index上限を超え、viewerの8MB上限に収まる普通のtext」の扱いで、
文の中身には依らない。詰め物をコメント行に変え、9月30日に入れた90秒の延長を外す。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@quolu
quolu merged commit 1f92e7d into main Oct 3, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant