Skip to content

[FE Fix]: Show evaluator names instead of slugs in observability table#4499

Merged
bekossy merged 4 commits into
release/v0.100.9from
fe-fix/age-3789-observability-table-shows-evaluator-slugs-instead-of-names
Jun 1, 2026
Merged

[FE Fix]: Show evaluator names instead of slugs in observability table#4499
bekossy merged 4 commits into
release/v0.100.9from
fe-fix/age-3789-observability-table-shows-evaluator-slugs-instead-of-names

Conversation

@ardaerzin
Copy link
Copy Markdown
Contributor

Summary

Fixes AGE-3789

Testing

QA follow-up

ticket

Checklist

  • I have included a video or screen recording for UI changes, or marked Demo as N/A
  • Relevant tests pass locally
  • Relevant linting and formatting pass locally
  • I have signed the CLA, or I will sign it when the bot prompts me

Contributor Resources

…lity table

The observability table's evaluator metric columns only carry a slug, but
evaluatorReferenceAtomFamily resolved names solely through its id-based
workflow-revision query. Slug-only callers fell through to a minimal
reference that returned name=slug, leaking slugs into the table.

Add a slug-resolution branch that matches the slug against the loaded
app+evaluator union list (workflowsListQueryStateAtom) to surface the real
name, deferring while the list loads. Mirrors appReferenceAtomFamily.
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 29, 2026

AGE-3789

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

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

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Jun 1, 2026 9:22am

Request Review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 29, 2026

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: b11b25b2-7fd4-4376-8ee5-70e36a6241b7

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
📝 Walkthrough

Walkthrough

Adds slug-only resolution support to evaluatorReferenceAtomFamily: when slug is provided without id, the atom matches against the loaded workflows list and returns enriched evaluator details with metrics, or defers with a loading state if the list is still fetching.

Changes

Evaluator Reference Slug Resolution

Layer / File(s) Summary
Slug-only evaluator reference resolution
web/oss/src/components/References/atoms/entityReferences.ts
When slug is present without id, the atom queries workflowsListQueryStateAtom to match the workflow entry, extracts evaluator name and metrics from that match, and returns a loading/pending state if the list query is still fetching; falls back to minimal reference with empty metrics if no match is found.

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically indicates the main change: showing evaluator names instead of slugs in the observability table.
Description check ✅ Passed The description is related to the changeset, referencing the fixed issue (AGE-3789) and providing context about the observability table fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fe-fix/age-3789-observability-table-shows-evaluator-slugs-instead-of-names

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 and usage tips.

@ardaerzin ardaerzin marked this pull request as ready for review May 29, 2026 20:51
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. bug Something isn't working Frontend labels May 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Railway Preview Environment

Preview URL https://gateway-production-0c93.up.railway.app/w
Project agenta-oss-pr-4499
Image tag pr-4499-2b23686
Status Deployed
Railway logs Open logs
Workflow logs View workflow run
Updated at 2026-05-29T21:02:08.775Z

@ardaerzin ardaerzin self-assigned this May 31, 2026
@ardaerzin ardaerzin requested a review from bekossy May 31, 2026 18:09
@bekossy bekossy marked this pull request as draft June 1, 2026 09:13
@bekossy bekossy marked this pull request as ready for review June 1, 2026 09:16
@dosubot dosubot Bot added the UI label Jun 1, 2026
@bekossy bekossy changed the base branch from main to release/v0.100.9 June 1, 2026 09:21
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 1, 2026
@bekossy bekossy merged commit 4ab2c85 into release/v0.100.9 Jun 1, 2026
25 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Frontend lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files. UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants