GithubActionRolloutProcessor
delegates rollout execution to GitHub Actions workflows
that you control. It’s useful for implementing rollouts with your existing agent
codebase by wrapping it in a GitHub Actions workflow.
Setup
For the GitHub token, create a Personal Access Token (classic) with permissions forrepo
and workflow
.
GitHub Actions Contract
We expect the GitHub Actions workflow to accept the following inputs:- completion_params: JSON completion parameters (model, temperature, etc.)
- metadata: JSON string containing rollout execution metadata
- model_base_url: Base URL for the model API (e.g., “https://tracing.fireworks.ai”)
- run-name: You must add
run-name: rollout:${{ fromJSON(inputs.metadata).rollout_id }}
to your workflow. The GitHub API doesn’t return the run ID when dispatching, so this allows us to find and monitor the correct workflow run.
Metadata Piggyback
To push trajectories back toeval-protocol
, you must include the following
metadata along with your traces so that they can correlated with the
EvaluationRow
s.
invocation_id
experiment_id
rollout_id
run_id
row_id