Repository navigation
Commit 0596115
chore(ui-scripts): re-point two texts at the fleet-patrols.yml jobs (#27816)
domain:ui#4 · os-bill · session_01Utp6CbDAucNyQ4UtzCJKyh
<!-- claude-projects-attribution: {"github_login":"os-bill"} -->
_Requested by **Bill** · [project
thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wgDFH4S5pR1C8YvYCWWsZfXx)_
Fixes #27479
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 改了什么:`ui/scripts/` 下两处文字(一条测试注释、Dependabot 合并门里一条可选检查的说明)不再点名已退役的
`required-set-patrol.yml` / `board-snapshot.yml`,改指根 `fleet-patrols.yml`
里的同名 job。
- 为什么改:这两个巡检 workflow 已并入 `fleet-patrols.yml`,旧文件名会把读者引向不存在的文件。
- 风险与回滚:只改注释与一条说明字符串,零行为变化(该字符串只要求长度 > 40,无人打印或解析);回滚即 revert 本 PR。
- 先看:`ui/scripts/dependabot-merge-gate.mjs` 的 `Snapshot the board to the
archive branch` 条目;其次
`ui/scripts/__tests__/check-required-check-set.test.ts` 的 retired-pins
注释。
- 两分钟验证:`git grep -n -E
'required-set-patrol\.yml|platform-checklist-watchdog\.yml|release-coverage-patrol\.yml|board-snapshot\.yml'
-- ui/`,预期零输出(退出码 1)。
- 需要你做的:无,席位落地。
## What changes
- `ui/scripts/__tests__/check-required-check-set.test.ts`: the comment
over the retired workflow pins now names the `required-set-patrol` job
of the root `fleet-patrols.yml` instead of the retired root
`required-set-patrol.yml`. Comment only.
- `ui/scripts/dependabot-merge-gate.mjs`: the `OPTIONAL_CONTEXTS` reason
for `Snapshot the board to the archive branch` now names the
`board-snapshot` job of the root `fleet-patrols.yml`. Its paths-filter
clause is restated to match that workflow (the workflow file plus the
root scripts its jobs run, none under `ui/`), because "the workflow file
itself" stopped being the whole filter when four patrols became one
file. The key and the bucket are unchanged.
## Tests
- `pnpm --dir ui exec vitest run
scripts/__tests__/check-required-check-set.test.ts
scripts/__tests__/dependabot-merge-gate.test.ts`: 2 files, 47 tests
passed (run under `os-verify-lock`, VERDICT command-exit 0).
- `pnpm --dir ui exec vitest run scripts/` (the derived family) on head
`814431ed`: 169 files passed, 2 skipped; 4902 tests passed, 2 skipped
(VERDICT command-exit 0).
- No test asserts the reason text beyond `states a reason for every
context it declines to gate on` (length over 40), and the script reads
only the keys of `OPTIONAL_CONTEXTS`, so no pin moves with the string.
## Acceptance notes
- Card reading: `git grep -n -E
'required-set-patrol\.yml|platform-checklist-watchdog\.yml|release-coverage-patrol\.yml|board-snapshot\.yml'
-- ui/` reads 0 lines on this branch (exit 1); it read 2 on
`origin/main` at the branch point.
- Verified on `origin/main` before the edit:
`.github/workflows/fleet-patrols.yml` declares jobs
`required-set-patrol` and `board-snapshot`, and its header table maps
each to the retired file.
- No changeset: `ui/scripts` belongs to the private `object-ui-monorepo`
root and publishes nothing, so this PR carries `skip-changeset`.
- Not touched: the comment's other references
(`required-check-set-patrol.yml` is objectui's own retired file,
correctly named as such).
## Verification
Local gate subset and the `--ran` reconciliation are in the report
comment on #27479; every CI family is read from this PR's check-runs.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01Utp6CbDAucNyQ4UtzCJKyh)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 47c3e12 commit 0596115
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
0 commit comments