-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Misc CI fixes and Move Search-R1 to contrib #410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request accomplishes two main objectives: moving the Search-R1 recipe implementation from examples to the contrib directory, and introducing miscellaneous CI improvements to support workflow testing with different dependency configurations.
Key Changes:
- Migrates Search-R1 recipe to
contrib/recipes/search_r1/with complete implementation files including agent code, retrieval server, training scripts, and documentation - Adds a new "next" test matrix setup in CI workflows to test with upgraded dependencies
- Enhances the examples README with a dedicated workflow status table for better CI visibility
Reviewed changes
Copilot reviewed 6 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| examples/README.md | Adds a new section displaying raw workflow statuses for all example projects with a comprehensive table of workflow badges |
| contrib/recipes/search_r1/train.sh | Training script for Search-R1 with GRPO configuration and model parameters |
| contrib/recipes/search_r1/search_r1_agent.py | Main agent implementation with training/validation rollout logic and reward scoring |
| contrib/recipes/search_r1/retrieval_server.py | FastAPI-based retrieval server supporting BM25 and dense retrieval methods |
| contrib/recipes/search_r1/retrieval_launch.sh | Shell script to launch the retrieval server with specified configurations |
| contrib/recipes/search_r1/qa_em.py | Evaluation metrics implementation for exact match scoring |
| contrib/recipes/search_r1/data_process.sh | Setup script for conda environment and data/index downloads |
| contrib/recipes/search_r1/README.md | Documentation with version compatibility update (v0.1.2) |
| contrib/CODEOWNERS | Adds code ownership for the search_r1 recipe directory |
| agentlightning/verl/entrypoint.py | Moves imports inside main function to avoid potential circular import issues |
| .github/workflows/tests.yml | Adds "next" setup option to lint matrix for testing with latest dependencies |
| .github/workflows/examples-chartqa.yml | Adds scheduled runs, repository dispatch support, and dynamic run naming |
Comments suppressed due to low confidence (1)
contrib/recipes/search_r1/README.md:5
- The project name should use consistent capitalization. Based on the repository naming convention, it should be 'agent-lightning' (lowercase) rather than 'Agent-lightning' to maintain consistency.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
examples/README.md
Outdated
| *NOTE: CI status avoids taking any workflow running with latest dependencies into account. That's why we reference the corresponding `badge-*` workflows instead. Each example's own README also displays its `examples-*` workflow status whenever the project is maintained by CI.* | ||
| ## `examples-*` workflow status | ||
|
|
||
| CI status above avoids taking any workflow running with latest dependencies into account. That's why we reference the corresponding `badge-*` workflows instead. The following table displays the raw `examples-*` workflow status whenever the project is maintained by CI.* |
Copilot
AI
Dec 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sentence ends with an asterisk that appears to be a leftover from the previous note format. This asterisk should be removed as it serves no purpose in the current context.
| CI status above avoids taking any workflow running with latest dependencies into account. That's why we reference the corresponding `badge-*` workflows instead. The following table displays the raw `examples-*` workflow status whenever the project is maintained by CI.* | |
| CI status above avoids taking any workflow running with latest dependencies into account. That's why we reference the corresponding `badge-*` workflows instead. The following table displays the raw `examples-*` workflow status whenever the project is maintained by CI. |
|
/ci |
|
🚀 CI Watcher for correlation id-3648929530-mj3trpxg triggered by comment 3648929530
✅ All runs completed. |
No description provided.