Skip to content

🎨 Mosaic: UI Polish for agent best-of#601

Open
madmax983 wants to merge 1 commit into
trunkfrom
jules-5015369416342517717-e0fcd47c
Open

🎨 Mosaic: UI Polish for agent best-of#601
madmax983 wants to merge 1 commit into
trunkfrom
jules-5015369416342517717-e0fcd47c

Conversation

@madmax983
Copy link
Copy Markdown
Owner

🖌️ Before: The agent best-of command output a text-based summary table using simple println! macros.
✨ After: Formatted the summary table using the comfy_table crate. Added agent best-of to the catalog.
🖼️ Visuals: The new table uses a structured layout matching the other commands.


PR created automatically by Jules for task 5015369416342517717 started by @madmax983

🖌️ Before: The agent best-of command output a text-based summary table using simple println! macros.
✨ After: Formatted the summary table using the comfy_table crate. Added agent best-of to the catalog.
🖼️ Visuals: The new table uses a structured layout matching the other commands.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9b1b0d3b82

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cli/catalog.rs
Comment on lines +69 to +70
CatalogEntry {
path: "agent best-of",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the duplicate catalog entry

When catalog is rendered, run_catalog clones and sorts every item from entries() before printing or serializing it, so this added duplicate makes agent best-of appear twice in both text and JSON catalog output. That breaks the catalog's role as a unique command registry and can confuse consumers that iterate the commands list rather than de-duplicating paths.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request registers the new agent best-of command in the CLI catalog and refactors the run summary output in src/run/best_of.rs to use the comfy_table library for a cleaner, structured layout. Feedback on the changes suggests that the agent best-of entry may be duplicated in the catalog and recommends removing the duplicate entry.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/cli/catalog.rs
Comment on lines +69 to +74
CatalogEntry {
path: "agent best-of",
summary: "Sample N runs and emit the best patch by --verify oracle",
cost_tier: "paid",
stage: "run",
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The agent best-of command entry is duplicated in the catalog. Since it is already defined on lines 64–68, this second entry should be removed to prevent duplicate entries in the catalog output.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.19%. Comparing base (9aa2ad9) to head (9b1b0d3).

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk     #601   +/-   ##
=======================================
  Coverage   85.19%   85.19%           
=======================================
  Files         114      114           
  Lines       65408    65428   +20     
=======================================
+ Hits        55725    55743   +18     
- Misses       9683     9685    +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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