[quality] Document testing-scope policy: Docusaurus website build is deploy-preview-only, not the published site
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 42/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, typescript
- 領域
- documentation, testing
研究方向
Start with CONTRIBUTING.md and the referenced Docusaurus files, e2e/linkRewrite.test.mjs, and npm run test:coverage to understand what the existing checks cover. The issue asks maintainers to decide which tests are in scope, so a contributor cannot determine the policy wording alone; done means an agreed scope note is added to CONTRIBUTING.md or a short ADR under docs/.
由索引模型根據 Issue 內容生成。
描述
Finding
On PR #460, @nate-double-u closed it not_planned with:
this repo only has a website as a part of the deploy preview process. This repo is published on the contribute.cncf.io site, which has its own static site generator and doesn't use this one. This repo doesn't need tests updates for it's website.
This is a significant, currently undocumented scope statement. This repo's Docusaurus build (docusaurus.config.ts, lib/getBuildContext.ts, lib/getCurrentBranch.ts, lib/getGitHubRepoUrl.ts, lib/remarkRewriteLinks/*, e2e/linkRewrite.test.mjs, and the npm run test:coverage c8 gate that enforces 100% coverage on all of it) exists only to power Netlify deploy previews for this repo's own GitHub Pages/Docusaurus site, not the site this content is actually published to (contribute.cncf.io, built by a separate static site generator).
This retroactively explains several prior PRs/issues that were closed not_planned for the same underlying reason without it being stated as a general policy: the e2e-coverage-gate proposals in #448, #450, and #457, and now the coverage-exclude-guard in #460. Without a written policy, each new quality-agent (or contributor) PR touching this area has to rediscover the same answer one closure at a time.
Recommendation
Add a short, explicit testing-scope note - e.g. in CONTRIBUTING.md or a short ADR under docs/ - stating which parts of this repo's test suite are considered in-scope maintenance burden vs. which (the Docusaurus/e2e/deploy-preview build) are maintained on a best-effort basis only, not gated on 100% coverage expansion. This lets future contributors and automation (including this hive's quality agent) stop proposing further coverage work in the out-of-scope area.
This is a scope/governance decision only a maintainer can make (what counts as 'needs test coverage' for this repo going forward), so it's filed as needs-decision rather than actioned directly. No PR is attached: the actual wording of the policy is the maintainer's call.
Priority
- Impact: medium
- Effort: low
Risk: governance
Filed by quality agent (hold-gated mode)
🐝 Hive Agent: quality | Instance: hosted-available-lke648397-260827-boq9 | SHA: 05422fc
-- hive: agent=quality backend=copilot model=claude-sonnet-5 copilot=1.0.88
- 主要語言
- TypeScript
- 星號
- 58
- 分支
- 31
- 平均合併
- 1 天 13 小時
- 30 天內合併 PR
- 36
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
cncf/techdocs 的其他 Issue
-
[quality] npm run test:unit never runs in CI — unit tests have no CI signal可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉agent/quality author/hive hive/partially-addressed hive/verified-open needs-human stage/020-accepted testing triage/accepted
難度 2/5 1-3 小時 新手友好度 60/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 1/100
維護者通常 1 天內回覆
-
CNCF Service Desk Docs analysis stage/010-actionable Website Update
難度 4/5 3-5 天 新手友好度 35/100
維護者通常 1 天內回覆
-
[CNCFSD-3284] KubeVirt Tech Docs assistance request可能重新可做 @Abhishek9639 於 241 天前認領,目前沒有進行中的 PR。 未關閉CNCF Service Desk Docs analysis ops/service-desk stage/010-actionable
難度 4/5 3-5 天 新手友好度 25/100
維護者通常 1 天內回覆
-
[Analysis request]: Dragonfly可能已有人在做 @iRaindrop 於 3 天前認領。 未關閉author/human CNCF Service Desk Docs analysis ops/service-desk stage/040-covered-by-pr triage/accepted
難度 4/5 3-5 天 新手友好度 25/100
cncf/techdocs#335 · 14 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 76/100
tenstorrent/ttnn-visualizer#2526 ·
維護者通常 1 天內回覆
-
trySessionCache calls /get-session twice when minting session_data (cache miss or expired cookie)未關閉
難度 2/5 1-3 小時 新手友好度 76/100
neondatabase/neon-js#301 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
tashfeenahmed/freellmapi#2305 ·
維護者通常 1 天內回覆