Commit aecca73
authored
fix(cli): point the lifecycle smoke at the module that owns refresh-state (#4534)
`examples/cli-project-lifecycle-command-modularization-smoke.py` fails on
`main` with `project lifecycle module missing retry it before delivery`. The
marker is not missing: #4521 moved the `refresh-state` command into
`loopx/cli_commands/project_lifecycle_refresh_state.py`, which is where the
string now lives, while the smoke still required it in the dispatcher module.
The check now requires that marker, and the `refresh-state` command name, in the
module that owns the command, and keeps requiring the dispatcher markers where
they still are. Nothing is weakened: the marker is still required, and a
regression that drops it from the refresh-state module still fails.
This red blocked the pre-merge gate for any diff that selected the smoke, which
is why it is worth fixing rather than working around.
Verified: examples/cli-project-lifecycle-command-modularization-smoke.py ok
(it was the failing check).
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Co-authored-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>1 parent 9714c96 commit aecca73
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
190 | | - | |
191 | 193 | | |
192 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
| |||
0 commit comments