Reduce import-scoping and prompt-stage manifest guard runtimes
メンテナーはふだん 1 日以内に返信
@picodot がすでに取り組んでいます。
2026年11月25日 から。
評価
この issue はまだ評価されていません。
説明
Evidence
Related to #18791. The pregate run for PR #18887 passed all 53 selected server suites, but reported 4.4s for server/lib/importScoping.test.js and 5.5s for scripts/generate-prompt-stage-call-sites.test.js. The local target is 2.5s per guard, and the scheduled hosted budget is 4.0s. The PR changes audit prose handling and does not touch either guard.
Work
Reproduce using the normal pregate selected-server plan and use the reported phase timings to remove redundant work in the affected guard paths. Inspect the head/base import graph construction in server/lib/importScoping.test.js and the manifest freshness scan and comparisons in scripts/generate-prompt-stage-call-sites.test.js and its generator. The import guard already uses guardCorpus() for its working-tree measurement.
Acceptance criteria
- Both suites run under the existing 4.0s scheduled budget in the corresponding CI plan, with before/after timings recorded.
- Preserve import-growth comparisons and the fresh manifest's structural and byte-for-byte checks. Keep the existing timing budget and coverage.
- 主要言語
- JavaScript
- スター
- 38
- フォーク
- 32
- 平均マージ
- 14分
- マージ済み PR(30日)
- 995
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
atomantic/PortOS のほかの issue
-
area:testing bug effort:low model:light plan planner:gpt-6-2-sol tests
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
effort:low model:light performance performance-efficiency plan planner:gemini-4-neon source:performance-efficiency
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
area:media effort:medium model:medium performance performance-efficiency plan planner:gemini-4-neon source:performance-efficiency
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
Eliminate O(N×L) live-metadata JSON.stringify and sequential full-archive scans in cosAgentStorageオープンarea:cos-agents effort:medium model:medium performance performance-efficiency plan planner:gemini-4-neon source:performance-efficiency
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
data-integrity-safety data-safety effort:low model:light plan planner:gemini-4-neon source:data-integrity-safety
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
atomantic/PortOS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
directus/directus#28558 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
cloudflare/workers-sdk#17189 ·
メンテナーはふだん 1 日以内に返信
-
AWS Lambda Waiting for: Product Owner
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
getsentry/sentry-javascript#26910 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[🐛 Bug]: @wdio/reporter drops the function name of a string script in command output対応中かも @dhananjay6561 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
webdriverio/webdriverio#16507 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信