Lint does not block a merge, and the same test step runs twice
维护者通常 1 天内回复
@spikedeeev 已经在做这个了。
开始于 2026年11月23日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, shell, typescript, yaml
- 领域
- build-system, ci-cd
调研方向
从 .github/workflows/ci.yml 开始:删除第二个 Test http-server 步骤,并从 Lint 步骤中移除 continue-on-error: true。在本地运行 pnpm run lint,查看 apps/frontend 中是否仍有 eslint 错误;修复这些错误是唯一的实际工作。完成标准是:CI 在出现 lint 错误时失败,并且 Test http-server 在工作流中只出现一次。
由索引模型根据 Issue 内容生成。
描述
Two problems in .github/workflows/ci.yml, both small.
1. Lint is advisory
- name: Lint
run: pnpm run lint
continue-on-error: true
The step is allowed to fail. It was set that way while apps/frontend had around twenty eslint errors, with a note to drop the flag once they were cleared. Worth checking whether they still exist:
pnpm run lint
If it passes, remove continue-on-error: true and lint becomes a real gate. If some remain, fixing them is the issue — and the count is probably small now, since the type gate and the tests have both been tightened since.
2. Test http-server runs twice
- name: Test http-server
run: pnpm --filter http-server run test
# The ws-server authorization tests ...
- name: Test ws-server
run: pnpm --filter ws-server run test
# The auth middleware tests sign real tokens and need no services.
- name: Test http-server # <- again
run: pnpm --filter http-server run test
Two pull requests added the same step independently and both merged. Harmless beyond wasting a minute of CI on every run, but it is the kind of thing that makes a workflow harder to read and encourages the next duplicate.
Worth doing while in there
Each service has its own step, so adding a sixth service means remembering to add a seventh line. A test task in turbo.json plus a root "test": "turbo run test" would collapse all of them into one step and make pnpm test locally mean the same thing as CI. That is a slightly bigger change — fine to do separately, but mention it if you take it on.
Definition of done
- A pull request with a lint error fails CI
Test http-serverappears once- The full suite still passes
Good first issue: the duplicate is a two-line deletion, and the lint flag is one more. The only real work is whatever pnpm run lint reports.
- 主要语言
- TypeScript
- 星标
- 21
- 派生
- 7
- 平均合并
- 7 小时 54 分钟
- 30 天内合并 PR
- 28
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TheCodeHeist-Coder/Rexial 的其他 Issue
-
Backend first issue enhancement help wanted
难度 2/5 半天 新手友好度 62/100
TheCodeHeist-Coder/Rexial#242 · 1 条评论 ·
维护者通常 1 天内回复
-
fix: validate types for login email and password (500 on non-string or missing body)可能重新可做 @spikedeeev 于 8 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
TheCodeHeist-Coder/Rexial#235 · 2 条评论 ·
维护者通常 1 天内回复
-
There is no way to tell a live quiz is in trouble until someone complains可能已有人在做 @spikedeeev 于 3 天前认领。 未关闭Backend first issue enhancement help wanted
TheCodeHeist-Coder/Rexial#245 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Critical security: a couple of access control problems in the API and ws-server (details to be shared privately)可能重新可做 @Anshuu2004 于 30 天前认领,目前没有进行中的 PR。 未关闭level3 nsoc26
难度 4/5 3-5 天 新手友好度 35/100
TheCodeHeist-Coder/Rexial#215 · 6 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
A host cannot see who won a quiz they already hosted可能已有人在做 @spikedeeev 于 9 天前认领。 未关闭enhancement good first issue help wanted level2 nsoc26 UI & UX
难度 4/5 3-5 天 新手友好度 58/100
TheCodeHeist-Coder/Rexial#200 · 6 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 TheCodeHeist-Coder/Rexial 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
superlinked/sie#1033 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
remix-run/react-router#15838 ·
维护者通常 1 天内回复
-
area/ci bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
melgarafael/DeskcommCRM#5290 ·
维护者通常 1 天内回复