Commit 64ab244
fix(showcase): name the generators, since C# and Python no longer have a default suite
`regen-showcase.ts` invoked the C# and Python CLIs with no `--generators`. ADR-0034
Amendment 2 made codegen opt-in on both, so a run that names none generates
nothing and exits 2 — `gen: no generators selected`. The Python arm failed exactly
that way in the 1.0.4 release dry run.
It reached a cut rather than a lane because this script is the only caller of those
two CLIs outside their own tests, and `--check` runs in the release preflight, not
in CI. The opt-in change and the caller that assumed a default shipped in the same
release window and nothing sat between them.
The two suites are spelled out with the reason, not defaulted back in. They are
exactly the generators whose output is committed under
`examples/showcase/generated/<port>/`, which is verifiable rather than asserted:
`--check --all-ports` regenerates PRISTINE and reports the committed tree FRESH on
all five ports, so these sets reproduce what is already there byte for byte. The
ports' own test suites spell the same lists for the same reason
(`server/python/tests/codegen/gen_suite.py`,
`server/csharp/MetaObjects.Cli.Tests/GenSuiteForTests.cs`).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011cQxyVuTkdPmAduLiedNEg1 parent bcb59b9 commit 64ab244
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
202 | 223 | | |
203 | 224 | | |
204 | 225 | | |
| |||
0 commit comments