You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: extend the reusable-threshold stub assertion to the full assembled command line #462
From the PR #459 review (LOW, assertion-depth — divisor-testing):
cmd/gaze/ci_workflow_test.go:696 filters the stub gaze's recorded argv down to the three threshold flags, so the same script's remaining conditional assembly (--ai=opencode, --coverprofile=coverage.out presence in Go mode, and --model/--analyzer/--language omission when empty) stays covered only by substring pins on the YAML text (TestCIWorkflow_ReusableExternalAnalyzerInputs, lines 554-577). The change's own design note documents that substring pinning is what let the previous semantically-wrong guard and its incorrect comment ship.
Suggested follow-up: extend the assertion to the full assembled command line. The stub already records the complete invocation and the failure message already prints all args, so the extension is nearly free and closes the documented failure class for the script's other conditional arguments.
Activity