chore: migrate remaining runner_env keys to env.runner - #631
Conversation
harness/code.yaml, review.yaml, and retro.yaml still used the legacy top-level runner_env key. fix.yaml, triage.yaml, prioritize.yaml, and scribe.yaml had already moved to the nicer env.runner / env.sandbox nesting. Bring the remaining three harness files in line, and update the doc/comment references that named the old key. Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
PR Summary by Qodochore: migrate remaining runner_env to env.runner in harness YAMLs
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
|
🤖 Finished Review · ✅ Success · Started 6:30 PM UTC · Completed 6:44 PM UTC |
Code Review by Qodo
Context used✅ Compliance rules (platform):
55 rules 1.
|
ReviewFindingsHigh
Low
Next steps:
Previous runReviewFindingsHigh
Low
Next steps:
|
|
🤖 Finished Fix · ✅ Success · Started 6:45 PM UTC · Completed 6:49 PM UTC |
🔧 Fix agent — iteration 1 (bot-triggered)All 3 review findings are governance/process concerns (missing linked issue for protected-path modifications) that require human action, not code fixes. The fix agent cannot create or link issues, nor grant human approval. Protected-path enforcement in post-review.sh already prevents auto-approval for these paths — a human reviewer must approve. No code changes are needed. Disagreed (3):
Tests: passedNext steps:
|
waynesun09
left a comment
There was a problem hiding this comment.
Clean — no new findings from review squad. Remaining threads are addressed (schema migration already supported downstream) or explicitly deferred by the author with reasoning (ADR 080/081 compliance follow-up). CI green.
|
🤖 Finished Review · ✅ Success · Started 7:14 PM UTC · Completed 7:30 PM UTC |
| # These are expanded from the runner environment and NEVER enter the sandbox. | ||
| runner_env: | ||
| CODE_ALLOWED_TARGET_BRANCHES: "${CODE_ALLOWED_TARGET_BRANCHES}" | ||
| env: |
There was a problem hiding this comment.
[low] breaking-schema-change
Migration from runner_env to env.runner changes the harness YAML schema contract. The downstream consumer (fullsend-ai/fullsend) already supports this schema since fix.yaml, triage.yaml, prioritize.yaml, scribe.yaml, and review.yaml all use env.runner. Two separate runner_env blocks are migrated: one at top level (line 51) and one under forge.github (line 61).
| ORIGINATING_URL: "${ORIGINATING_URL}" | ||
| REPO_FULL_NAME: "${REPO_FULL_NAME}" | ||
| GH_TOKEN: "${GH_TOKEN}" | ||
| env: |
There was a problem hiding this comment.
[low] breaking-schema-change
Migration from runner_env to env.runner changes the harness YAML schema contract under forge.github. The downstream consumer already supports this schema since five other harness files use env.runner.
|
🤖 Finished Fix · ✅ Success · Started 7:30 PM UTC · Completed 7:32 PM UTC |
🔧 Fix agent — iteration 1 (bot-triggered)PR #631 is already merged. No fixes were applied because the PR is no longer open. Disagreed (1):
Tests: passedNext steps:
|
|
🤖 Finished Retro · ✅ Success · Started 7:34 PM UTC · Completed 7:45 PM UTC |
Retro: PR #631 — chore: migrate remaining runner_env keys to env.runnerPR #631 was a straightforward 5-file chore PR by the repo maintainer (ralphbean) migrating three harness YAML files from the legacy Timeline
Total wall-clock: ~63 minutes from PR open to merge. What went well
Waste identifiedThe second review + fix cycle was entirely unnecessary (~18.5 min of Opus compute). The merge commit (merging main into the branch) contained no code changes but triggered a Evidence for existing issues (no new proposals needed)
|
Summary
harness/code.yaml,review.yaml, andretro.yamlwere the last three harness files still using the legacy top-levelrunner_envkey.fix.yaml,triage.yaml,prioritize.yaml, andscribe.yamlalready use theenv.runner/env.sandboxnesting, so this brings the rest in line.forge.github(tokens,REPO_FULL_NAME, issue/PR numbers,GITHUB_PR_URL,ORIGINATING_URL) stayed within the forge selector since they're GitHub-specific;code.yaml's genericCODE_ALLOWED_TARGET_BRANCHESmoved to the rootenv.runner.docs/code.md,env/code.env,eval/scripts/run-fullsend.sh) that named the old key.Test plan
python3 -c "import yaml; yaml.safe_load(open(...))"on each edited harness YAML filegrep -r runner_envreturns no matches