Skip to content

Add --timeout flag to specterqa run #2

@SyncTekLLC

Description

@SyncTekLLC

Currently there is no global timeout for a test run. Add a --timeout flag (in seconds) that hard-stops the run if exceeded.

Default: 300s

Requirements:

  • The flag should integrate with the existing budget enforcement in ghostqa run
  • When the timeout is reached, the run should exit gracefully with a clear message indicating it was stopped due to timeout
  • Exit code should be non-zero (distinct from budget-exceeded)

Example:

ghostqa run product.yaml --timeout 120

This is a good starter issue — the CLI argument parsing is in ghostqa/cli.py and the run loop is in ghostqa/runner.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions