Skip to content

feat: configure slow-run threshold - #49

Merged
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
Rayan-and-beyond:feat/slow-seconds-6
Sep 16, 2026
Merged

royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
Rayan-and-beyond:feat/slow-seconds-6

Conversation

@Rayan-and-beyond

Copy link
Copy Markdown
Contributor

Summary

  • add --slow-seconds to agentrace check while preserving the 900-second default
  • thread the configured threshold into analyse only for the runaway check
  • cover raised and lowered thresholds and document the flag

Closes #6

Validation

  • PYTHONPATH=. uv run --extra dev pytest -q — 56 passed
  • uv run --extra dev ruff check . — passed
  • focused slow-run tests — 2 passed
  • mutation check: ignoring the configured threshold makes the focused configurable-threshold test fail
  • git diff --check — passed

@royalpinto007
royalpinto007 merged commit a34a816 into AgentPostmortem:main Sep 16, 2026
8 checks passed
@github-actions

Copy link
Copy Markdown

And it's in. Thanks @Rayan-and-beyond.

Genuinely helpful change for Agentrace.

If this project helps you out, a star helps others find it too.

Happy to see more from you whenever you have the time.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the slow_run threshold configurable with --slow-seconds

2 participants