Commit 02db13d
committed
test(react): pin that useActionEngine no longer harvests the retired keys
CI caught two useActionEngine tests still asserting the metadata harvest this
branch removed: getBulkActions() picking up `bulkEnabled: true` and
handleShortcut() resolving `shortcut: 'ctrl+k'`, both read off an
ActionSchema array.
Inverted deliberately rather than reverted. Neither capability has a product
consumer — `record-quick-actions` and `record-alert`, the only two callers of
this hook, use `getActionsForLocation` / `executeAction` — so removing the
harvest broke no live path; the tests were pinning the read of a key that
spec 17 retired and that no longer parses. The stale keys stay in the fixture
on purpose, so the assertions now prove they are IGNORED — the same shape as
plugin-grid's "ignores a stale bulkEnabled flag on an object action".
The engine's own bulk / shortcut mechanics keep their coverage in
ActionEngine.test.ts, where a host passes those options to registerAction
explicitly, which is still supported.
Full suite: 9277 passed / 0 failed.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S9aiswZBzoVYsyLKRuGByE1 parent d96961e commit 02db13d
1 file changed
Lines changed: 19 additions & 7 deletions
Lines changed: 19 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
86 | | - | |
87 | | - | |
88 | | - | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
122 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
123 | 136 | | |
124 | 137 | | |
125 | 138 | | |
| |||
129 | 142 | | |
130 | 143 | | |
131 | 144 | | |
132 | | - | |
133 | | - | |
| 145 | + | |
134 | 146 | | |
135 | 147 | | |
136 | 148 | | |
| |||
0 commit comments