Skip to content

Align route path /containers with sidebar label "Agent runs" #207

Description

@MathurAditya724

Problem

The sidebar navigation label says "Agent runs" but the URL path is /containers. This creates confusion when sharing URLs or reading the address bar — the URL says "containers" but the UI says "Agent runs."

Affected Files

  • apps/server/src/components/layout.tsx:42 — nav item: { title: "Agent runs", url: "/containers", icon: Robot }
  • apps/server/src/client/App.tsx:29-31 — routes registered as /containers, /containers/detail, /containers/:entityKey
  • apps/server/src/client/pages/sessions.tsx:165 — page title: <h1>Agent runs</h1>

Context

The URL was presumably the original naming when the feature was called "containers." The label was updated to "Agent runs" but the route path was not, likely to avoid breaking existing bookmarks or links.

Expected Fix

Option A (rename routes):

  1. Change all /containers routes to /runs or /agent-runs in App.tsx
  2. Add a redirect from /containers/* to /runs/* for backward compatibility
  3. Update all <Link> and navigate() calls throughout the app
  4. Update the nav item URL in layout.tsx

Option B (minimal — add redirect only):

  1. Keep /containers as the canonical route
  2. Add /runs or /agent-runs as an alias that redirects to /containers
  3. This preserves backward compatibility while giving a cleaner URL to share

Option C (rename label back):

  1. If "containers" is the correct technical term, rename the sidebar label back to "Containers"
  2. This is the simplest fix but loses the user-friendly "Agent runs" label

Impact

Low — This is a naming consistency issue. The mismatch is confusing when sharing URLs verbally or in documentation, but does not affect functionality.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjaredTrigger the Jared agent to work on stuff

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions