eslint --prune-suppressions run per-file rewrites the whole suppressions ledger (AGENTS recipe side effect)
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- eslint, typescript
- 領域
- devtools
調査の方向性
The trigger is the single-file eslint --prune-suppressions run recorded in src/eslint-suppressions.json, which rewrites entries for files it never linted. Start by reading how ESLint's suppression pruning decides which entries to keep, and check the AGENTS.md recipe that the issue quotes. Done means a per-file run leaves unrelated entries untouched or the recipe is changed to a safe dry-run form, verified by diffing the ledger after a single-file invocation on src/core/checkpoints/changeJournal.spec.ts.
索引モデルが issue の本文から書いたものです。
説明
Our lane hit a side effect of the AGENTS.md recipe: running pnpm --dir src exec eslint --prune-suppressions --max-warnings=0 <one-file> rewrites src/eslint-suppressions.json for the whole repository - in our run it deleted and re-added 1,306 entries total, dropping entries of every file not linted in that single-file pass (e.g. anthropic-vertex 31 among them, none of them touching changeJournal).
Effect: following the documented per-file check and then committing silently rewrites the repo-wide suppression ledger to only what that one run saw.
Our mitigation (lane SOP, not a repo fix): use --prune-suppressions output read-only for the target file's count, restore the JSON before committing.
Ask: either scope pruning to the files actually linted, or add a keep-others/dry-run mode so the recipe can't footgun itself. Evidence from our run: single-file invocation on src/core/checkpoints/changeJournal.spec.ts; ledger diff 1,306 deletions + 1,306 additions with every other file's entries removed then restored via git checkout.
[Filed by the issue-1410 split lane; measurements and full diff available on request.]
- 主要言語
- TypeScript
- スター
- 2k
- フォーク
- 301
- 平均マージ
- 3日 14時間
- マージ済み PR(30日)
- 103
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Zoo-Code-Org/Zoo-Code のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Zoo-Code-Org/Zoo-Code#2773 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Zoo-Code-Org/Zoo-Code#2717 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
メンテナーはふだん 3 日以内に返信
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on Windows対応中かも @easonLiangWorldedtech が 15 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
メンテナーはふだん 3 日以内に返信
-
[BUG] search_files hides matching text on long lines対応中かも @DananjayaNadun が 9 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Zoo-Code-Org/Zoo-Code#2496 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
Zoo-Code-Org/Zoo-Code の issue をすべて見る
似ている issue
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
EPPIcenter/sampledb3#162 ·
-
Particle-1 modelオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
tashfeenahmed/freellmapi#2169 ·
メンテナーはふだん 1 日以内に返信
-
via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
🎙️ task - feat(mechanic): pave git.pull.close, a close of a superseded pull with its why on recordオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ehmpathy/rhachet-roles-ehmpathy#1576 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
vercel-labs/ui#1563 ·
メンテナーはふだん 1 日以内に返信