Skip to content

Commit b7bddeb

Browse files
fix(qa): re-point the flow ⋯ menu anchor in the automation checklist at useFlowItemMenu (#37493)
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Fixes #37417 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:只改内部测试清单里一条流程项的代码出处,平台功能和界面都不变。 - 为什么做:修复每晚巡检报红的平台测试清单检查,属于 Studio 重构专题之后的清单维护。 - 出错会怎样:最坏是清单里某条出处指错,只影响测试人员查代码,不影响任何用户;可直接撤回。 - 要你做什么:无。 ## What changes `docs/qa/platform-checklist/areas/automation.json`, item `automation.package-flow-override` only: | Old reference | New file#symbol | Evidence at a46efa8 | |---|---|---| | `FlowItemMoreMenu.tsx#FlowItemMoreMenu` (New similar) | `FlowItemMoreMenu.tsx#useFlowItemMenu` | `FlowItemMoreMenu.tsx:161 export function useFlowItemMenu(...)`. #37169 turned the component into this hook in the same file | | `FlowItemMoreMenu.tsx#FlowItemMoreMenu` (Restore package original) | `StudioCustomizeControls.tsx#StudioOverrideChip` | `FlowItemMoreMenu.tsx:29` reads "Restore package original is not here: it is on the flow's override mark", before and after #37169. `StudioCustomizeControls.tsx:321 export function StudioOverrideChip` offers it, and `AutomationsPillar.tsx` wires it with `onRestore` | `revision` goes 6 to 7, with a history row. No clause, step, verify or fixture text changed. The prose references to `FlowItemMoreMenu.tsx` in packaged-flow-clone-contract source[5] and setup-packaged-automation-board (knownGaps[0], steps[5], acceptance[4]/[6].verify, source[1]) still resolve and are unchanged. `openNewSimilar` (:174), `copyValid` (:172), `auto-new-similar-refusal` role=alert (:291) and the "No lineage is drawn" docblock (:20) all live in that file. The line-765 history note stays as history. ## Acceptance notes - Step text in setup-packaged-automation-board steps[5] and package-flow-override steps[3] names testid `auto-item-more`, which nothing under `ui/` declares now. The ⋯ is `studio-detail-more`. This PR leaves it alone because step text is out of scope. It owes a correction and a re-test (carrier #36910). - package-flow-override source[2] credits `StudioDesignSurface.tsx` with the pillar's Customize/save/Restore. Those live in `AutomationsPillar.tsx`, and did before #37169 too. Noted, not changed. ## Verification <details><summary>check:platform-checklist before (a46efa8) and after (01686dc)</summary> Before: exit 1, `check-platform-checklist: 1 problem(s) ... ABSENT SYMBOL ... FlowItemMoreMenu.tsx#FlowItemMoreMenu`. After: exit 0, `check-platform-checklist: OK — 16 areas, 448 items (437 active, 5 planned)`. </details> <details><summary>retest-owed and derived gates</summary> `retest-owed` before and after: identical (Owed 16, Re-judged 201). None of the four items that cite the file is owed. `dispatch-gates --commands`: 17 families, all exit 0. `--ran`: 17 run, 0 NOT-MEASURED. </details> Two-minute check: `pnpm check:platform-checklist`. Expect `check-platform-checklist: OK`. --- _Generated by [Claude Code](https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ)_ ## Provenance The dev agent committed `01686dcc1cd`, and its own `git push` was refused by its permission check; it did not retry. The seat pushed the branch on the maintainer's authorization in the seat session: 「#37417 推送放行」. Claim: 7184955282. os-dev-report: 7185481823. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 691a0bc commit b7bddeb

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎docs/qa/platform-checklist/areas/automation.json‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2992,7 +2992,7 @@
29922992
"title": "Customize a read-only base's flow in Studio: the pair's item under the base's name, declaring the override, is armed in place of the base in one reload, keeps the base's ledger switch, lets a waiting run finish on the base, and Restore re-arms the base — New similar stays a separate copy under a new name",
29932993
"since": "v18",
29942994
"status": "active",
2995-
"revision": 6,
2995+
"revision": 7,
29962996
"priority": "P1",
29972997
"surface": "mixed",
29982998
"personas": [
@@ -3086,7 +3086,7 @@
30863086
"source": [
30873087
"packages/services/service-automation/src/flow-precedence.ts#resolveFlowPrecedence (the declared .custom rank, #28412)",
30883088
"packages/metadata-protocol/src/protocol-packaged-base-refusal.ts#refusePackagedBaseOverride (a declared override from the base's pair is admitted; every other write onto the sealed flow is refused)",
3089-
"ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (the Automations pillar's Customize, the pair's save, and Restore) + ui/packages/app-shell/src/views/studio-design/FlowItemMoreMenu.tsx#FlowItemMoreMenu (Restore package original and New similar on a flow)",
3089+
"ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (the Automations pillar's Customize, the pair's save, and Restore) + ui/packages/app-shell/src/views/studio-design/FlowItemMoreMenu.tsx#useFlowItemMenu (New similar on a flow) + ui/packages/app-shell/src/views/studio-design/StudioCustomizeControls.tsx#StudioOverrideChip (Restore package original on a flow, offered on its override mark)",
30903090
"examples/app-showcase/src/automation/flows/index.ts#BudgetApprovalFlow (the specimen: an approval step that waits)",
30913091
"docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md D4 (New similar) and D9 (a flow override is served over the base's name, rebound in one reload, inherits the ledger identity, waits for real version pinning)",
30923092
"#28412 (N-11) landed by PRs #28693 and #28770; #28570 (N-18) by PR #28824; #28567 (N-22) by PR #28668; version pinning #28405 (N-12)",
@@ -3128,6 +3128,12 @@
31283128
"date": "2026-11-15",
31293129
"change": "step-text correction, no clause change. steps[6] now makes the budget change after switching the ledger back on, the change acceptance[3].verify reads ('with it on the next change runs the override'); the step stopped at switching it on, so the re-arm half had no step. steps[5] cites step 5, the approval step, not step 4. Read from source at base 895783a1 (engine.ts, the trigger dispatch's isFlowEnabled guard). Found while doing #33966 (batch D of the #33761 close-out); QA record #33853 (comment 6894307378) made that change as its R4",
31303130
"ref": "#33984"
3131+
},
3132+
{
3133+
"revision": 7,
3134+
"date": "2026-11-26",
3135+
"change": "source anchor re-pointed, no clause, step, verify or fixture changed. #37169 (#36903, the full-screen flow designer) turned the component FlowItemMoreMenu into the hook useFlowItemMenu in the same file, so source[2] cites FlowItemMoreMenu.tsx by useFlowItemMenu for New similar; Restore package original was never in that file (its docblock: 'Restore package original is not here: it is on the flow's override mark', #29692), so it is cited at StudioCustomizeControls.tsx by StudioOverrideChip, the mark that offers it. Read at base a46efa8c",
3136+
"ref": "#37417"
31313137
}
31323138
]
31333139
},

0 commit comments

Comments
 (0)