Skip to content

Use a distinct exit code when a run stops at --max-cost #48

Closed

Description

@vsn411

(Split out of #32.) CI can't currently tell "findings over --fail-on" apart from "stopped at the cost ceiling". Add a dedicated exit code for budget exceeded, document it next to --max-cost in docs/REFERENCE.md, and add a CLI test.

Where to look: src/secfoo/cli.py (run), src/secfoo/cost.py.

Activity

  1. dbdefault commented on Nov 10, 2026

    @dbdefault
    Contributor

    I'll take this one (distinct exit code when a run stops at --max-cost). Will keep it to the exit-code change plus tests and a short docs note, and open a PR referencing this issue.

  2. added
    difficulty: lowLeaderboard: 3 points when the PR closing this is merged
    on Nov 11, 2026
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

    difficulty: lowLeaderboard: 3 points when the PR closing this is mergedgood first issueGood for newcomershackathonOpen for the Secfoo hackathon

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions