oversize試験の詰め物をコメント行にし、90秒の時間延長を外す - #7
Merged
Merged
Conversation
工場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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
何が起きたか
main
11fbd311のCI(run 37100384189)で、Windowsのoversize-file-not-read1件が90秒で時間切れになった。同じtreeはPR #6のWindowsで成功している。原因
foxで実測した(機械が空いている状態)。書いた直後の1.4MBのfileを最初に読む時間:
big.jsconst x = 1;約10万行big.jsbig.ts/big.mjs/big.py/big.txtconst x = 1;約10万行Defenderのリアルタイム保護が
.jsを開く時に中身を解析している。CIの負荷が重なると90秒を超える。変更
// filler lineに変える。試験が確かめるのは「index上限を超え、viewerの8MB上限に収まる普通のtext」の扱いで、文の中身には依らない。試験だけの変更なので版は上げない。
🤖 Generated with Claude Code