Skip to content

[feat] Present agent revisions as a single history and hide deployment for agents - #5273

Open
ashrafchowdury wants to merge 8 commits into
release/v0.106.1from
reframe-variant-as-history-and-hide-deoloyment
Open

[feat] Present agent revisions as a single history and hide deployment for agents#5273
ashrafchowdury wants to merge 8 commits into
release/v0.106.1from
reframe-variant-as-history-and-hide-deoloyment

Conversation

@ashrafchowdury

@ashrafchowdury ashrafchowdury commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Context

Agents use one linear revision history, but the playground exposed the branching variant and deployment UI used by prompt applications. This let users create variants, view environment badges, and access deployment actions that do not belong in the agent workflow.

Changes

Agent playgrounds now present revisions through a compact History picker. The picker removes the variant grouping, search field, deployment badges, and unused tree indentation while keeping the standard branching selector unchanged for other workflow types.

Before:

  • Revisions appeared under a persisted variant.
  • The commit modal allowed saving as a new variant.
  • Deployment actions appeared in the header and commit flow.
  • Registry appeared in the agent navigation.

After:

  • Revisions appear as one flat v1, v2, v3 timeline.
  • Agent commits always append a new version, including when a stale branching mode is supplied.
  • Agent commit and header actions no longer expose deployment.
  • Registry remains available for prompt applications but is hidden for agents.

The shared selector defaults to branching behavior, so prompt applications and evaluators keep their existing revision and deployment flows.

What to QA

  • Open an agent playground with multiple revisions. The header shows History, and the dropdown displays a compact flat revision list without variant names, search, environment badges, or excessive side spacing.
  • Edit an agent and commit the change. The modal identifies the agent, offers only a new version, and does not show deployment options.
  • Confirm the agent configuration header has no Deploy action and the agent navigation has no Registry entry.
  • Regression: open a prompt application playground. Variant grouping, search, deployment badges, deployment actions, and Registry navigation should behave as before.

Previews

Featuring the default variant as history
image

No deployment options as it has no use for now
image.png

No create as new variant option
image.png

Note: The word history was my creative choice for the product, we can change it

- reframe default variant as history, nothing else changed
- hide the deployment option for the agent
@dosubot dosubot Bot added enhancement New feature or request Frontend labels Jul 13, 2026
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Jul 29, 2026 3:28pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Review Change Stack

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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1b79d24e-ba1c-4776-93aa-1ba1302dc522

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
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 60.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately summarizes the main UI change: linear agent history and removed deployment actions.
Description check ✅ Passed The description is clearly aligned with the revision, deployment, and registry changes in the pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch reframe-variant-as-history-and-hide-deoloyment

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.

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 13, 2026
@ashrafchowdury

Copy link
Copy Markdown
Contributor Author

I think we can show the commit message in a tooltip, or somehow; it would be nice to have it

@ardaerzin

Copy link
Copy Markdown
Contributor

@ashrafchowdury we can make list items 2 line, and leave the bottom line for a more meaningful commit message. other than that 👍

@ashrafchowdury

Copy link
Copy Markdown
Contributor Author

fixed

image

@ashrafchowdury

Copy link
Copy Markdown
Contributor Author

@mmabrouk, if this chagnes make sense to you, let's ship this

It makes sense to me, not having variants and showing the base variant as linear type history

@mmabrouk
mmabrouk changed the base branch from big-agents to main July 18, 2026 15:54
@mmabrouk

Copy link
Copy Markdown
Member

@ashrafchowdury the idea make sense, but we need to think about it holistically, this fixes the playground while keeping the registry view the same. This is not consistent. We need a solution that is consistent.

@ashrafchowdury
ashrafchowdury marked this pull request as draft July 20, 2026 13:05
@ashrafchowdury

Copy link
Copy Markdown
Contributor Author

Makes sense. I will wait until we redesign the overview page, and I guess at this point we don't have any usage for the registry page for agents workflow so can hide that page

@github-actions

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Preview URL https://gateway-production-85f0.up.railway.app/w
Project agenta-oss-pr-5273
Image tag pr-5273-bf9dd9f
Status Deployed
Railway logs Open logs
Workflow logs View workflow run
Updated at 2026-07-27T08:40:32.073Z

@ashrafchowdury
ashrafchowdury changed the base branch from main to release/v0.106.1 July 28, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Frontend size:L This PR changes 100-499 lines, ignoring generated files. UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants