chore(#904): deduplicate harness config across forge sections - #908
Conversation
|
🤖 Finished Review · ✅ Success · Started 9:38 PM UTC · Completed 9:51 PM UTC Commit: |
|
/ok-to-test |
ReviewFindingsMedium
Low
Previous runReviewFindingsMedium
Labels: PR modifies harness configuration for code, review, and triage agents. Previous run (2)ReviewFindingsMedium
Low
Info
Previous run (3)ReviewFindingsMedium
Low
|
326d761 to
20e72f0
Compare
|
🤖 Finished Review · ✅ Success · Started 12:28 AM UTC · Completed 12:48 AM UTC Commit: |
20e72f0 to
b707cac
Compare
|
🤖 Finished Review · ✅ Success · Started 12:54 AM UTC · Completed 1:14 AM UTC Commit: |
|
/ok-to-test |
1 similar comment
|
/ok-to-test |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
b707cac to
8e1b9f5
Compare
|
🤖 Finished Review · ✅ Success · Started 3:25 AM UTC · Completed 3:40 AM UTC Commit: |
|
🤖 Finished Retro · ✅ Success · Started 11:01 AM UTC · Completed 11:13 AM UTC Commit: |
Retro: PR #908 — deduplicate harness config across forge sectionsWorkflow: Issue #904 (filed by ggallen) → triage agent → code agent (run 32419257028) → PR #908 → 4 review agent runs → 3 human force-pushes → human approval → merged. What went well:
What required rework:
Observations on review agent:
Existing issue evidence: This retro provides additional evidence for #108 — Run 3 on PR #908 consumed a full review cycle to re-surface only the standing protected-path gate, with no new actionable findings. Proposals filed |
Summary
Applies the shared-config-at-top-level pattern (established in PR #817 for
retro.yaml) tocode.yaml,triage.yaml, andreview.yaml. Removes redundant duplication of scalars and env vars that are identical across all forge sections, hoisting them to the top-level config wheremergeForgeConfigwill use them as defaults.Changes by file
harness/code.yamlpre_script/post_scriptfromforge.githubandforge.gitlab(already set at top level)PUSH_TOKEN,PUSH_TOKEN_SOURCE,REPO_FULL_NAME,ISSUE_NUMBERto top-levelenv.runnerGIT_AUTHOR_NAME,GIT_AUTHOR_EMAIL,GIT_COMMITTER_NAME,GIT_COMMITTER_EMAILto top-levelenv.sandboxharness/triage.yamlpre_script/post_scriptfromforge.github,forge.gitlab, andforge.jira(already set at top level)harness/review.yamlpre_script/post_scriptto top level (identical in both forge sections, previously missing from top level)REPO_FULL_NAMEto top-levelenv.runnerREPO_FULL_NAME,PRIOR_REVIEW_SHA,PRIOR_REVIEW_PROVENANCEto top-levelenv.sandboxWhy this is safe
mergeForgeConfigininternal/harness/forge.gomerges forge sections into the top-level harness config:pre_script,post_script,policy): forge overrides only when non-emptyAll removed values were identical to their top-level counterparts, so the resolved config is unchanged for every forge platform.
Testing
make testpasses (16 pre-existing failures inpost-retro-test.shunrelated to this change — same count onmain)make check-bundlepassedCloses #904
Post-script verification
agent/904-deduplicate-harness-config)2c3e23f474b9dcac3e8837d32fba3bf08cec0236..HEAD)