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

run-llama / workflows-py / 21306150619

24 Jan 2026 12:49AM UTC coverage: 91.267% (-0.2%) from 91.438%
21306150619

push

github

web-flow
Add resource validation to workflow.validate() (#303)

* feat: Add resource and resource config validation to workflow validate()

Adds optional resource validation to validate():

- validate_resource_configs (default True): Validates config files exist
  and match their Pydantic schemas
- validate_resources (default False): Resolves resource factories, also
  catches circular dependencies via ResourceManager

Key implementation:
- _validate_resource_configs(): Stack-based traversal of all resources
  and their dependencies, validates _ResourceConfig instances
- _validate_resources(): Resolves resources via ResourceManager.get()
- validate() now runs even with disable_validation=True when called
  explicitly
- Python 3.9 compat: restore event loop after asyncio.run()

* Create smooth-donkeys-run.md

* Update test_resources.py

Kill off a silly extra test

---------

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

16 of 48 new or added lines in 1 file covered. (33.33%)

25 existing lines in 3 files now uncovered.

12112 of 13271 relevant lines covered (91.27%)

1.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.31
/src/workflows/workflow.py


Source Not Available

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