fix(onboarding): recognize custom lefthook checks #10

Merged
lanrtop merged 1 commits from fix/onboarding-custom-lefthook-check into master 2026-09-21 21:56:04 +08:00
Owner

修复内容

verify_onboarding 不再把项目自定义的 lefthook 工作流误报为缺失:

  • typecheck-web / typecheck-api 等分层 pre-commit 校验可满足 typecheck 基线;
  • commit-msg.scripts 中的 Conventional 校验可满足 commit 基线;
  • 其余基线能力仍需明确存在,避免宽松放行。

验证

  • cargo test --lib(124/124)
  • pnpm typecheck
  • git diff --check / git diff --cached --check

影响

不改 Enterprise System 的 lefthook.yml、不推送 Enterprise、也不触发部署。

本地 worktree 的 commit-msg hook 仍错误地把 .git 文件当目录读取;本次 pre-commit 已通过,远端 CI 继续校验提交格式。

## 修复内容 `verify_onboarding` 不再把项目自定义的 lefthook 工作流误报为缺失: - `typecheck-web` / `typecheck-api` 等分层 pre-commit 校验可满足 typecheck 基线; - `commit-msg.scripts` 中的 Conventional 校验可满足 commit 基线; - 其余基线能力仍需明确存在,避免宽松放行。 ## 验证 - `cargo test --lib`(124/124) - `pnpm typecheck` - `git diff --check` / `git diff --cached --check` ## 影响 不改 Enterprise System 的 `lefthook.yml`、不推送 Enterprise、也不触发部署。 > 本地 worktree 的 commit-msg hook 仍错误地把 `.git` 文件当目录读取;本次 pre-commit 已通过,远端 CI 继续校验提交格式。
lanrtop added 1 commit 2026-09-21 21:54:05 +08:00
fix(onboarding): recognize custom lefthook checks
All checks were successful
Push & PR Check / check (pull_request) Successful in 1m1s
057c2b3a10
lanrtop merged commit 46f75292ab into master 2026-09-21 21:56:04 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lanrtop/dev-manager-tauri#10
No description provided.