|
2858 | 2858 | "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", |
2859 | 2859 | "since": "v18", |
2860 | 2860 | "status": "active", |
2861 | | - "revision": 2, |
| 2861 | + "revision": 3, |
2862 | 2862 | "priority": "P1", |
2863 | 2863 | "surface": "mixed", |
2864 | 2864 | "personas": [ |
|
2887 | 2887 | "PATCH the project budget again (a new value above 100000): the new run's step log", |
2888 | 2888 | "ledger: switch the flow off with auto-ledger-switch, PATCH the budget again (no run starts), switch it back on", |
2889 | 2889 | "Restore package original (studio-restore-original), read the confirmation and confirm: capture the two DELETEs at the pair; PATCH the budget once more and read the new run", |
2890 | | - "New similar on the same flow (auto-new-similar-*): give a new name and label; read where the copy opens and its status" |
| 2890 | + "New similar on the same flow (auto-new-similar-*): give a new name and label; read where the copy opens and its status", |
| 2891 | + "Customize and publish the flow again (as steps 2–4), and while that override is live press New similar on it with another new name and label; read the answer, the copy's draft in the pair, and GET /api/v1/meta/flow/showcase_budget_approval; then Restore package original as in step 8" |
2891 | 2892 | ], |
2892 | 2893 | "acceptance": [ |
2893 | 2894 | { |
|
2925 | 2926 | "oracle": "network", |
2926 | 2927 | "verify": "step 9 sends POST /api/v1/automation/showcase_budget_approval/clone with the new name and label and no package; the answer names com.example.showcase.custom and the copy opens there, listed 'In com.example.showcase.custom'; the base stays armed. The clone door's own contract is automation.packaged-flow-clone-contract; the dialog's validation is automation.setup-packaged-automation-board — cite them", |
2927 | 2928 | "evidence": "the clone request and answer + the rail screenshot" |
| 2929 | + }, |
| 2930 | + { |
| 2931 | + "clause": "New similar on a flow whose override is live copies what the name serves, the override's definition, and the copy declares no override: it is the pair's own item under its new name, never a 403 NOT_OVERRIDABLE", |
| 2932 | + "oracle": "api", |
| 2933 | + "verify": "step 10: POST /api/v1/automation/showcase_budget_approval/clone answers 200 naming com.example.showcase.custom, the dialog closes and the copy opens in the pair; the answer's flow and GET /api/v1/meta/flow/NEW_NAME?package=com.example.showcase.custom carry the override's edited node label, status obsolete, and no overrides key; GET /api/v1/meta/flow/showcase_budget_approval still serves the override with its overrides block", |
| 2934 | + "evidence": "the clone request and answer + the copy's meta read + the source's meta read" |
2928 | 2935 | } |
2929 | 2936 | ], |
2930 | 2937 | "negative": [ |
|
2939 | 2946 | ], |
2940 | 2947 | "automated": { |
2941 | 2948 | "kind": "unit", |
2942 | | - "ref": "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.customizeFlow-28570.test.tsx + AutomationsPillar.newSimilar-28567.test.tsx (jsdom: acceptance[0], [4] and [5]'s console calls against a mocked server) + packages/services/service-automation/src/flow-sync-one-precedence.test.ts (engine layer: the override is armed by every step and its removal re-arms the base; the ledger is the base's; 'with N-12: a run suspended on the base finishes on the base' — corroborates acceptance[1]–[4], drives no HTTP door). the live spec of #28579 slice 3 (ui/e2e/live/studio-customize-journey.spec.ts) customizes a view and an object, not a flow, so every browser and api clause is the run's live leg" |
| 2949 | + "ref": "ui/packages/app-shell/src/views/studio-design/AutomationsPillar.customizeFlow-28570.test.tsx + AutomationsPillar.newSimilar-28567.test.tsx (jsdom: acceptance[0], [4] and [5]'s console calls against a mocked server) + packages/services/service-automation/src/flow-sync-one-precedence.test.ts (engine layer: the override is armed by every step and its removal re-arms the base; the ledger is the base's; 'with N-12: a run suspended on the base finishes on the base' — corroborates acceptance[1]–[4], drives no HTTP door) + packages/runtime/src/domains/automation-flow-clone-custom-package.test.ts ('New similar while the source's override is live': acceptance[6]'s clone door over the real metadata protocol and store, with the override stored in the pair and armed in the engine's map). the live spec of #28579 slice 3 (ui/e2e/live/studio-customize-journey.spec.ts) customizes a view and an object, not a flow, so every browser and api clause is the run's live leg" |
2943 | 2950 | }, |
2944 | 2951 | "source": [ |
2945 | 2952 | "packages/services/service-automation/src/flow-precedence.ts#resolveFlowPrecedence (the declared .custom rank, #28412)", |
|
2962 | 2969 | "date": "2026-11-02", |
2963 | 2970 | "change": "automated no longer says the e2e is owed by #28579 slice 3: the slice 3 live spec (ui/e2e/live/studio-customize-journey.spec.ts) does not drive a flow, so the live leg stays the run's. No clause, step or fixture changed", |
2964 | 2971 | "ref": "#28579" |
| 2972 | + }, |
| 2973 | + { |
| 2974 | + "revision": 3, |
| 2975 | + "date": "2026-11-03", |
| 2976 | + "change": "added step 10 and acceptance[6]: New similar while the override is live. The steps cloned only after the restore, so they could not see the copy keeping the override's overrides block under its new name, which the save gate refused 403 NOT_OVERRIDABLE (#29650, QA-source #29648). automated names the clone-door pin", |
| 2977 | + "ref": "#29650" |
2965 | 2978 | } |
2966 | 2979 | ] |
2967 | 2980 | } |
|
0 commit comments