Skip to content

test: pin the CIW-FR-002 transitive-skip edge for gaze-ai-report #386

Backlog

Description

@jflowers

Nothing asserts that gaze-ai-report still declares needs: unit-and-integration — the only mechanism by which it skips on learnings-only pull requests (CIW-FR-002). TestCIWorkflow_EveryJobHasGateDecision exempts gaze-ai-report as advisory without pinning the edge, so a future edit removing the needs silently un-skips the job: it runs on learnings-only PRs, consumes the OPENCODE_CONFIG_CONTENT secret, and fails on the missing coverage-out artifact — with the whole TestCIWorkflow_* suite staying green.

Severity: LOW (test coverage; the PR body's known-issues list records the same issue at MEDIUM from the final dispatch).

Location: cmd/gaze/ci_workflow_test.go:259.

Suggested fix: in TestCIWorkflow_EveryJobHasGateDecision, assert each advisory job's needs intersects {changes, unit-and-integration, e2e} (~8 lines; the ciNeedsJob helper exists).

Source: review feedback on PR #373 — #373 (comment) (divisor-testing, council review).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions