Skip to content

live-check: --fail-on flag for severity-based exit code #1473

@cijothomas

Description

@cijothomas

Today weaver registry live-check only exits non-zero on violation-level findings. Every CI consumer that wants a different threshold (improvement, information, none) ends up re-implementing the gating in a wrapper — e.g. the composite actions added in #1448 do this in a Python helper.

Add a --fail-on <violation|improvement|information|none> flag (and matching .weaver.toml field) so the CLI returns the right exit code itself.

Discussion: #1448 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    live-checkRelated to the live-check feature
    No fields configured for Feature.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions