test(server): finish the CONFIG.md gate: schema rows and types, env read in its own gate, table and anchor integrity
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, markdown
- 领域
- testing
调研方向
Start in packages/server/tests/config-supported-keys-docs.test.js and reuse the CONFIG.md parser already there, then read PR #8563 to see how the features inventories and env locations are gated. Add three checks: each CONFIG_SCHEMA key has a row whose type matches, each documented env override is read inside its own flag's gate function, and table column counts and anchor links are valid. Done means all three run in Server Tests and each fails when the mutations in the issue are applied.
由索引模型根据 Issue 内容生成。
描述
Follow-up from #7032 / PR #8563. PR #8563 gates the CONFIG.md features inventories, the three env-var locations, and the fail-closed numerals against the real features.<flag> === true gates in src, inside packages/server/tests/config-supported-keys-docs.test.js. Three checks from #7032's original list are still not in the repo:
- Schema rows. Every
CONFIG_SCHEMAkey has a CONFIG.md row, and its documented type matches the schema's type. - Env override in its own gate. Each documented env override is read in that flag's own gate function, not merely somewhere in
src/(PR #8563 checks only that the literalprocess.env.<NAME>read exists somewhere). - Markdown integrity. Table column counts and anchor links (#7032 reported these as passing at the time).
Acceptance
- Each check lives in the existing CONFIG.md gate file and reuses its parser. It runs in Server Tests.
- Each check is proven red by a mutation:
- a schema key with no row;
- a row whose type disagrees with the schema;
- an env override read only outside its gate;
- a broken table row or anchor.
- 主要语言
- JavaScript
- 星标
- 7
- 派生
- 1
- 平均合并
- 2 小时
- 30 天内合并 PR
- 419
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
blamechris/chroxy 的其他 Issue
-
bug dashboard ux
难度 2/5 1-3 小时 新手友好度 85/100
blamechris/chroxy#8699 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
blamechris/chroxy#8595 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
blamechris/chroxy#8594 ·
维护者通常 1 天内回复
-
type: bug
难度 2/5 1-3 小时 新手友好度 76/100
blamechris/chroxy#8579 ·
维护者通常 1 天内回复
-
server: cover docker-byok destroy's removal fallbacks (forget throws or missing, release throws)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
blamechris/chroxy#8486 ·
维护者通常 1 天内回复
查看 blamechris/chroxy 的全部 Issue
相似的 Issue
-
good first issue
难度 2/5 1-3 小时 新手友好度 86/100
Riloox/hostkind-open#45 ·
-
Request: semgrep未关闭new icon permissions in review
难度 2/5 1-3 小时 新手友好度 72/100
simple-icons/simple-icons#15093 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
module-federation/core#5205 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
aikido security:critical
难度 1/5 1 小时以内 新手友好度 76/100
dequelabs/monitor-utility#63 ·