Skip to content

[fix] Refresh workflow name after rename#5330

Merged
mmabrouk merged 1 commit into
release/v0.105.6from
fix/rename-data-invalidation-issue
Jul 19, 2026
Merged

[fix] Refresh workflow name after rename#5330
mmabrouk merged 1 commit into
release/v0.105.6from
fix/rename-data-invalidation-issue

Conversation

@ashrafchowdury

Copy link
Copy Markdown
Contributor

Context

Renaming an workflow from its overview page saved the new name, but the page title kept showing the old one until the cache refreshed or the page reloaded. The rename path invalidated app-list and artefact caches, while the overview reads a separate workflow-detail cache.

Changes

The shared workflow invalidator now also invalidates the exact overview-detail query for the current project and workflow.

Before, rename refreshed:

  • ["workflows", "apps"]
  • ["workflows", "artifact", workflowId]

After, it also refreshes:

  • ["workflows", "detail", projectId, workflowId]

The rename hook calls this shared invalidator after the metadata update.

Tests / notes

  • Ran focused Prettier and ESLint checks.
  • Ran pnpm --filter @agenta/entities types:check.
  • Ran git diff --check.

What to QA

  • Open an agent overview, rename the agent, and save. The overview title should show the new name immediately without a reload.
  • Navigate away and back to the overview. The new name should remain visible.

Preview

image

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 15, 2026
@vercel

vercel Bot commented Jul 15, 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 15, 2026 1:19pm

Request Review

@dosubot dosubot Bot added the Frontend label Jul 15, 2026
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-07-19T14:12:51.051Z

@dosubot dosubot Bot mentioned this pull request Jul 15, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 15, 2026
@mmabrouk
mmabrouk changed the base branch from main to release/v0.105.6 July 19, 2026 14:06
@mmabrouk
mmabrouk merged commit 634f515 into release/v0.105.6 Jul 19, 2026
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Frontend lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants