Reduce import-scoping and prompt-stage manifest guard runtimes
Maintainer thường phản hồi trong vòng 1 ngày
@picodot đang làm issue này rồi.
Từ ngày 25/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 38
- Fork
- 32
- Merge trung bình
- 14 phút
- Pull request đã merge (30 ngày)
- 995
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của atomantic/PortOS
-
area:testing bug effort:low model:light plan planner:gpt-6-2-sol tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
effort:low model:light performance performance-efficiency plan planner:gemini-4-neon source:performance-efficiency
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:media effort:medium model:medium performance performance-efficiency plan planner:gemini-4-neon source:performance-efficiency
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Eliminate O(N×L) live-metadata JSON.stringify and sequential full-archive scans in cosAgentStorageĐang mởarea:cos-agents effort:medium model:medium performance performance-efficiency plan planner:gemini-4-neon source:performance-efficiency
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
data-integrity-safety data-safety effort:low model:light plan planner:gemini-4-neon source:data-integrity-safety
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của atomantic/PortOS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
directus/directus#28558 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
cloudflare/workers-sdk#17189 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
AWS Lambda Waiting for: Product Owner
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
getsentry/sentry-javascript#26910 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[🐛 Bug]: @wdio/reporter drops the function name of a string script in command outputCó thể đã có người làm @dhananjay6561 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
webdriverio/webdriverio#16507 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày