Files
crewAI/lib/crewai/tests
Devin AI 7b629b4357 fix: JSON checkpoint discovery now finds branch subdirectories (#5491)
_list_json() and _info_json_latest() in checkpoint_cli.py used flat globs
(location/*.json) which missed checkpoints stored under branch
subdirectories (e.g. main/, fork/exp1/) introduced by the fork-aware
checkpoint storage.

Changed both functions to use recursive globs (location/**/*.json) so
they discover checkpoints in branch subdirectories as well as the legacy
flat layout.

Added tests covering:
- Discovery in single and multiple branch subdirectories
- Legacy flat layout backward compatibility
- Mixed flat + branch layouts
- Empty directory edge case
- Latest checkpoint selection across branches

Co-Authored-By: João <joao@crewai.com>
2026-04-16 08:29:55 +00:00
..
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2025-10-20 14:10:19 -07:00
2026-03-24 19:03:35 +08:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08:00
2025-10-20 14:10:19 -07:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00