Commit 00295a3
committed
endtoend: add an opt-in core context to TestReplay
TestReplay's contexts could only mutate the config, so the coreanalyzer
experiment could reach a case only through its own exec.json. Contexts now
also name the experiments every case in them runs with, and a new "core"
context runs the corpus through the analysis core.
The two paths still disagree, so the context is opt-in: it runs only when
SQLC_TEST_CORE is set. That gate is an environment variable rather than a
test flag because the documented workflow runs the whole module, and a flag
defined in one test binary fails every package that does not define it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161e7oMkzNW9DZMUPtyQibH1 parent 50b7974 commit 00295a3
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
235 | 239 | | |
236 | 240 | | |
237 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
238 | 252 | | |
239 | 253 | | |
240 | 254 | | |
| |||
276 | 290 | | |
277 | 291 | | |
278 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
279 | 298 | | |
280 | 299 | | |
281 | | - | |
| 300 | + | |
282 | 301 | | |
283 | 302 | | |
284 | 303 | | |
| |||
0 commit comments