Lint does not enforce index.ts boundaries for cleanup/, routing/, warm-pool/ and contract/ helpers
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 70/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- eslint, typescript
- 领域
- tooling
调研方向
从 .oxlintrc.json 和现有的架构规则 14 模式入手。检查 src/core/domain.ts、src/core/doctor.ts、src/leasing/lease-acquisition-coordinator.ts、src/gateway/routing/request-match.ts 和 src/cli/index.ts 中列出的导入,然后运行 pnpm lint。当 lint 拒绝所列组件中越过 index.ts 的内部访问以及较旧的契约导入时,即为完成。
由索引模型根据 Issue 内容生成。
描述
What happens
Architecture rule 14 says pnpm lint enforces that no file outside a directory component imports past its index.ts. .oxlintrc.json has no pattern for src/core/cleanup/, src/gateway/routing/ or src/core/warm-pool/, so a new reach-in such as ./cleanup/types.js from src/core/reaper.ts passes lint.
Also, older imports reach past src/contract/index.ts to contract/os-range.js / contract/duration.js (src/core/domain.ts:1, src/core/doctor.ts:2, src/leasing/lease-acquisition-coordinator.ts:8, src/gateway/routing/request-match.ts:7, src/cli/index.ts:60), and lint does not catch them.
Expected
Lint fails a reach-in into any directory component that has an index.ts.
Found in review of PR #444 (notes, not blocking there).
Written by an agent.
- 主要语言
- TypeScript
- 星标
- 19
- 派生
- 1
- 平均合并
- 6 小时 31 分钟
- 30 天内合并 PR
- 194
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstackincubator/simlock 的其他 Issue
-
bug:new
难度 2/5 1-3 小时 新手友好度 78/100
callstackincubator/simlock#424 ·
维护者通常 1 天内回复
-
daemon-lifecycle e2e: the it.fails status test passes for the wrong reason可能已有人在做 @V3RON 于 6 天前认领。 未关闭bug:triage
难度 2/5 1-3 小时 新手友好度 84/100
callstackincubator/simlock#422 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
The console draws each worker's load as gauges on its detail page可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭task:draft
难度 4/5 3-5 天 新手友好度 15/100
callstackincubator/simlock#569 ·
维护者通常 1 天内回复
-
test(e2e): transfers through a gateway keep their promises可能已有人在做 @V3RON 今天认领。 未关闭task:ready
callstackincubator/simlock#559 · 已指派 1 人 ·
维护者通常 1 天内回复
-
feat(gateway): relayed bodies travel on byte channels可能已有人在做 @V3RON 今天认领。 未关闭task:ready
callstackincubator/simlock#558 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 callstackincubator/simlock 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
vercel/streamdown#673 · 1 个 reaction ·
维护者通常 1 天内回复
-
docs(stream-protocol): document messageMetatadata on start/finish and the message-metadata chunk可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭factory-active task-identify-harness-labels-done task-identify-issue-type-done
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
agilepathway/label-checker#721 ·
维护者通常 1 天内回复
-
CLI Empathy needs triage
难度 2/5 1-3 小时 新手友好度 74/100
chromaui/chromatic-cli#1524 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复