Skip to content

fix(dual-solve): return changed file metadata#276

Merged
plind-junior merged 2 commits into
testfrom
fix/dual-solve-changed-files
Jun 26, 2026
Merged

fix(dual-solve): return changed file metadata#276
plind-junior merged 2 commits into
testfrom
fix/dual-solve-changed-files

Conversation

@plind-junior

Copy link
Copy Markdown
Collaborator

adds explicit changed-file metadata to dual-solve results so clients do not need to parse unified diffs.

changes:

  • include changed_files in vouch dual-solve --json candidate payloads
  • include changed_files in review-ui job/candidate payloads and choose responses
  • render changed files in the browser dual-solve UI
  • keep the sandbox image default as vouch/coder:latest

verified:

  • .venv/bin/python -m pytest tests/test_dual_solve.py tests/test_web_dual_solve.py -q
  • .venv/bin/python -m ruff check src/vouch/dual_solve.py src/vouch/cli.py src/vouch/web/dual_solve_api.py tests/test_dual_solve.py tests/test_web_dual_solve.py
  • .venv/bin/python -m mypy src
  • CLI smoke: vouch dual-solve ... --sandbox --dry-run --json returns changed_files: ["README.md"] for both candidates

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b7a53c49-0fbc-4e34-9bd7-10d5f7efd645

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/dual-solve-changed-files

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@plind-junior plind-junior merged commit 79e1e76 into test Jun 26, 2026
5 checks passed
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