• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

run-llama / workflows-py / 20882252022
88%

Build:
DEFAULT BRANCH: main
Ran 10 Jan 2026 06:04PM UTC
Jobs 3
Files 133
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jan 2026 06:03PM UTC coverage: 88.023% (+0.07%) from 87.949%
20882252022

push

github

web-flow
feat: add dedicated StopEvent subclasses for workflow termination scenarios (#264)

* feat: add dedicated StopEvent subclasses for workflow termination scenarios

Add WorkflowTerminationEvent base class and specific subclasses to provide
detailed information when workflows end abnormally:

- WorkflowTimedOutEvent: Published when workflow exceeds timeout, includes
  timeout duration and list of active steps
- WorkflowCancelledEvent: Published when workflow is cancelled by user
- WorkflowFailedEvent: Published when a step fails permanently, includes
  step name, exception type, and exception message

These events replace the empty StopEvent() instances that were previously
published, allowing consumers to understand why a workflow ended and take
appropriate action.

Closes: issue about providing exception information in StopEvent

* refactor: simplify termination events to inherit directly from StopEvent

* chore: add changeset

* feat: add traceback and fully qualified exception type to WorkflowFailedEvent

* feat: add retry info (attempts, elapsed_seconds) to WorkflowFailedEvent

Also fixes a bug where step_function.py used time.monotonic() instead of
time.time(), causing incompatible timestamps with first_attempt_at.

* fix lints/locks

* docs: add workflow termination events to streaming docs

---------

Co-authored-by: Claude <noreply@anthropic.com>

12 of 20 new or added lines in 2 files covered. (60.0%)

32 existing lines in 3 files now uncovered.

9797 of 11130 relevant lines covered (88.02%)

0.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
61.02
-1.35% packages/llama-index-workflows/src/workflows/runtime/control_loop.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
61.02
-1.35% packages/llama-index-workflows/src/workflows/runtime/control_loop.py
9
97.44
0.05% tests/runtime/test_control_loop.py
20
92.54
0.21% src/workflows/runtime/control_loop.py
Jobs
ID Job ID Ran Files Coverage
1 workflows-dev - 20882252022.1 10 Jan 2026 06:04PM UTC 8
79.63
GitHub Action Run
2 llama-index-utils-workflow - 20882252022.2 10 Jan 2026 06:04PM UTC 33
68.92
GitHub Action Run
3 llama-index-workflows - 20882252022.3 10 Jan 2026 06:04PM UTC 93
95.13
GitHub Action Run
Source Files on build 20882252022
  • Tree
  • List 133
  • Changed 7
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20882252022
  • f96faa2d on github
  • Prev Build on main (#20882219852)
  • Next Build on main (#20936262523)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc