Skip to content

Support OpenCode in autofix script#2703

Draft
TomCC7 wants to merge 5 commits into
mainfrom
cc/feat/autofix-opencode-pr
Draft

Support OpenCode in autofix script#2703
TomCC7 wants to merge 5 commits into
mainfrom
cc/feat/autofix-opencode-pr

Conversation

@TomCC7

@TomCC7 TomCC7 commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

  • add --agent claude|opencode and AUTO_FIX_AGENT support while keeping Claude as the default
  • run OpenCode through opencode run --auto --dir and keep Claude behavior unchanged
  • use the actual autofix branch in the fix prompt and strip Claude/OpenCode attribution trailers
  • install the curated all extra instead of DDS extras so the script does not require CycloneDDS

Testing

  • bash -n misc/auto-fixes/auto-fix.sh
  • AUTO_FIX_AGENT=opencode misc/auto-fixes/auto-fix.sh cc/refactor/keyboard-teleop (completed; no issues found, no autofix PR created)

Comment thread misc/auto-fixes/fix_template.md Outdated
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #2703   +/-   ##
=======================================
  Coverage   72.05%   72.05%           
=======================================
  Files         893      893           
  Lines       80728    80728           
  Branches     7310     7310           
=======================================
  Hits        58165    58165           
  Misses      20613    20613           
  Partials     1950     1950           
Flag Coverage Δ
OS-ubuntu-24.04-arm 64.14% <ø> (+<0.01%) ⬆️
OS-ubuntu-latest 66.82% <ø> (ø)
Py-3.10 66.81% <ø> (+<0.01%) ⬆️
Py-3.11 66.82% <ø> (+<0.01%) ⬆️
Py-3.12 66.81% <ø> (+<0.01%) ⬆️
Py-3.13 66.81% <ø> (-0.01%) ⬇️
Py-3.14 66.83% <ø> (+<0.01%) ⬆️
Py-3.14t 66.81% <ø> (+<0.01%) ⬆️
SelfHosted-Large 30.14% <ø> (ø)
SelfHosted-Linux 37.99% <ø> (-0.01%) ⬇️
SelfHosted-macOS 36.31% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant