Commit bf997c7
committed
Stabilize CLI workflow checks across local and CI execution modes
The CLI DX work introduced end-to-end command coverage and preflight
paths, but CI exposed two environment-sensitive gaps: tests assumed a
Debug-only CLI binary path, and nested bridge builds were more fragile
than necessary under runner process orchestration. This follow-up makes
CLI tests resolve the built tool more robustly, strengthens the command
coverage around manifest and preflight behavior, and keeps the bridge
consistency checks observable through user-facing command output.
Constraint: CI runs unit tests from Release outputs, so CLI integration tests cannot assume Debug-only binaries
Constraint: Nested bridge builds must stay conservative to reduce MSBuild child-node instability on runners
Rejected: Revert to helper-only coverage | would leave user-visible CLI paths under-tested
Rejected: Keep `dotnet run --project` inside CLI tests | slower and less stable than executing the built tool dll directly
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: CLI integration tests should discover the built tool by configuration rather than hardcoded output paths
Directive: Keep `--preflight-only` and manifest assertions covered in both local and CI-like execution modes
Tested: `dotnet test tests/Agibuild.Fulora.UnitTests/Agibuild.Fulora.UnitTests.csproj -v minimal` (2177 passed)
Tested: `dotnet test tests/Agibuild.Fulora.UnitTests/Agibuild.Fulora.UnitTests.csproj --configuration Release -v minimal` (2177 passed)
Not-tested: Fresh GitHub Actions result for this follow-up commit until remote CI completes
Related: c2913dd1 parent c2913dd commit bf997c7
1 file changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
366 | 375 | | |
367 | 376 | | |
368 | 377 | | |
| 378 | + | |
369 | 379 | | |
370 | 380 | | |
371 | 381 | | |
372 | 382 | | |
373 | 383 | | |
374 | | - | |
375 | | - | |
| 384 | + | |
| 385 | + | |
376 | 386 | | |
377 | 387 | | |
378 | 388 | | |
| |||
0 commit comments