Skip to content

feat: run health checks and stall timeout for workflow runs#8

Merged
ibrahimkzmv merged 1 commit into
mainfrom
feat/run-health-watchdog
Jun 5, 2026
Merged

feat: run health checks and stall timeout for workflow runs#8
ibrahimkzmv merged 1 commit into
mainfrom
feat/run-health-watchdog

Conversation

@ibrahimkzmv

Copy link
Copy Markdown
Member

What

Adds run health assessment so Forge does not treat hung or empty runs as successful completions. A stall watchdog fails runs with no workflow activity for a configurable window (default 5 minutes). Completion checks flag success-without-output and subprocess exits without a result event. Snapshots and the UI expose health with issue codes and messages.

Why

For a debugging tool, a green "completed" state when the agent hung or produced nothing is misleading. This makes terminal run state trustworthy and gives operators a clear signal (stall, no result, empty output, task failures) instead of a silent false positive.

Checklist

  • npm run lint passes
  • npm test passes
  • Added/updated tests for changed behavior
  • No new runtime dependencies (or justified in the PR description)

Signed-off-by: Ibrahim Kazimov <74775400+ibrahimkzmv@users.noreply.github.com>
@ibrahimkzmv ibrahimkzmv merged commit c3f42d1 into main Jun 5, 2026
2 checks passed
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.

1 participant