Skip to content

feat: add scaffolding rollout workflow#1064

Merged
garrett4wade merged 2 commits intoinclusionAI:mainfrom
WeiHaocheng:scaffolding_pr
Apr 20, 2026
Merged

feat: add scaffolding rollout workflow#1064
garrett4wade merged 2 commits intoinclusionAI:mainfrom
WeiHaocheng:scaffolding_pr

Conversation

@WeiHaocheng
Copy link
Copy Markdown
Contributor

Description

Related Issue

Fixes #(issue)

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation update
  • ♻️ Refactoring
  • ⚡ Performance improvement
  • ✅ Test coverage improvement

Checklist

  • I have read the Contributing Guide
  • Pre-commit hooks pass (pre-commit run --all-files)
  • Relevant tests pass; new tests added for new functionality
  • Documentation updated (if applicable; built with ./docs/build_all.sh)
  • Branch is up to date with main
  • Self-reviewed via /review-pr command
  • This PR was created by a coding agent via /create-pr
  • This PR is a breaking change

Breaking Change Details (if applicable):

Additional Context


Need help? Check the Contributing Guide or ask in
GitHub Discussions!

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the summary. You can try again by commenting /gemini summary.

Copy link
Copy Markdown
Collaborator

@garrett4wade garrett4wade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general. Since the scaffolding module is relatively mature and not necessarily related to AReaL's core modules, I recommend to move all the new files into the examples directory. It'll be a complete and standalone example.

Comment on lines +177 to +178
if self.worker is None:
self._lazy_init_scaffolding(engine)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A new rollout workflow object is created for each trajectory. It will also create a ScaffoldingLlm object. Will this be very expensive?

@WeiHaocheng
Copy link
Copy Markdown
Contributor Author

LGTM in general. Since the scaffolding module is relatively mature and not necessarily related to AReaL's core modules, I recommend to move all the new files into the examples directory. It'll be a complete and standalone example.

Move code to the example.

@garrett4wade garrett4wade added the safe-to-test Ready to run unit-tests in a PR. label Apr 13, 2026
Key design: inclusionAI#818

Co-Authored-By: narutolhy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@garrett4wade garrett4wade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the great contribution!

@garrett4wade garrett4wade merged commit d37095a into inclusionAI:main Apr 20, 2026
6 checks passed
@narutolhy
Copy link
Copy Markdown

@WeiHaocheng Here~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewed safe-to-test Ready to run unit-tests in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants