Note
Reviews paused
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
- Last reviewed commit: ee2aa257037fcef53c70510fd45406d45750765f
- Latest commit, not reviewed: c78cc68736fd90a05e4bf0ad6332c644c3999615
Use the following commands to manage reviews:
@coderabbitai resumeto resume automatic reviews.@coderabbitai reviewto trigger a single review.
Use the checkboxes below for quick actions:
- ▶️ Resume reviews
- 🔍 Trigger review
Walkthrough
Mobile subagent rows and web lineage and workflow rows now display provider instance badges when the matching entry meets the badge rule. Web relationship icons receive provider entries derived from environment providers and settings. Badge eligibility now requires an accent color that normalizes successfully.
Changes: Provider instance badges
Layer / File(s) Summary Badge eligibility rule
packages/client-runtime/src/state/providerInstanceDisplay.ts,packages/client-runtime/src/state/providerInstanceDisplay.test.tsshouldShowInstanceBadgenow requires a normalizable accent color. A test checks that the non-hex value"blue"does not enable a badge.Mobile badge selection and rendering
apps/mobile/src/features/threads/SubagentRow.tsx,apps/mobile/src/components/ProviderIcon.tsxSubagentRowbuilds provider entries and rendersProviderInstanceIconwhen the matched entry qualifies for a badge. Otherwise, it renders the existing provider icon.ProviderInstanceIconnow allows an omitted surface color and uses default badge colors when colors are absent.Web lineage badge selection and wiring
apps/web/src/components/chat/ThreadRelationshipsControl.tsx,apps/web/src/components/chat/ThreadLineageWorkflowRow.tsx,apps/web/src/components/chat/ThreadRelationshipIcon.tsxThe panel derives provider entries from environment providers and settings, then passes them to relationship icons and workflow rows. The icons match provider instances, use available display names and accent colors, and move the status indicator when a badge is shown. Priority: External image Low
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix · Severity of issue fixed: Low
Possibly related issues
pingdotgg/t3code#24896— Reports missing account badges on chat subagent cards and mobile feed groups, which are adjacent subagent surfaces.
Possibly related PRs
- pingdotgg/t3code#24898: Adds provider-account badge behavior to web subagent avatars and mobile grouped avatars, using shared badge components and eligibility logic.
- pingdotgg/t3code#25031: Adds provider-account badges to chat subagent avatars and grouped mobile avatars using the same badge eligibility rule and ACP identity data.
- pingdotgg/t3code#24968: Changes provider and model metadata resolution in mobile
SubagentRow, the same metadata path used here to select provider instance identity and accent data.
Suggested labels:
bugfixSuggested reviewers:
maria-rcks,t3dotgg,macroscopeapp
Merge Risk: External image Low · previous review ee2aa
Some web lineage and workflow rows may show the wrong ACP account icon, so the metadata should be forwarded before merge.
Pre-merge checks: Passed 4
Check name Status Explanation Description check Passed The description includes all required sections. It clearly explains the problem, implementation, scope approval, screenshots, verification results, limitations, and agent details. Title check Passed The title clearly and concisely describes the main change: adding account identity indicators to web lineage and mobile agent rows. Linked Issues check Passed The changes satisfy the coding requirements in [ #24831]. Web lineage and workflow-member rows pass settings-aware provider entries toThreadRelationshipIcon; the icon applies `shouldShowInstanceBadg…Out of Scope Changes check Passed The changed files support [ #24831]. The optional mobilesurfaceColorwith itsborder-screendefault enables the new badge without a theme escape hatch. The accent-color normalization change and it…Full details: Linked Issues check
Explanation
The changes satisfy the coding requirements in [
#24831]. Web lineage and workflow-member rows pass settings-aware provider entries toThreadRelationshipIcon; the icon appliesshouldShowInstanceBadge, renders the compact account badge, and moves the status dot to the top-left when needed. MobileSubagentRowusesProviderInstanceIconwith the same badge rule and preserves the provider-icon fallback. The hover-card code is unchanged, and no contract, server, or adapter change is present. The added runtime test covers invalid accent-color handling.
Full details: Out of Scope Changes check
Explanation
The changed files support [
#24831]. The optional mobilesurfaceColorwith itsborder-screendefault enables the new badge without a theme escape hatch. The accent-color normalization change and its focused test keep the shared badge rule consistent. No unrelated workflow, configuration, server, contract, or adapter behavior is changed. Work for [#24896] remains outside this pull request.
Finishing Touches
🧪 Generate unit tests (beta)
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.