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: execute the classify script's diff-failure fail-closed path #388
CIW-FR-001 requires a failing diff command to fail the changes job ("Diff failure fails closed" scenario), but the behavior is pinned only textually — the script's set -euo pipefail first line and the git diff command-capture regex are asserted, while the executed scenario table in TestCIWorkflow_ClassifyScriptBehavior contains no scenario where git diff actually fails. A regression eroding set -e semantics while still matching the structural pins passes the suite.
Severity: LOW (assertion depth).
Location: cmd/gaze/ci_workflow_test.go:559.
Suggested fix: add an executed bogus-base scenario (a fabricated base SHA fails git diff deterministically) asserting the script exits non-zero and writes no code= line; the scenario-table runner needs only a wantExitNonZero-style field.
Source: review feedback on PR #373 — #373 (comment) (divisor-testing, council review).
Activity