Skip to content

Issues tab duplicates identical issues across environments with the same repositories #38197

Closed

Description

@claytonfaria

What happened

Every issue appears as two identical entries in the Issues tab when the same repositories are added to Mac and Linux environments. The duplication appears in both desktop clients. The Pull Requests tab shows the same repositories without duplicating pull requests.

Diagnosis

The Issues page requests listings from every connected environment. In packages/client-runtime/src/issueList.ts, groupIssues appends each environment’s entries without deduplicating their tracker, host, scope, and issue key.

The server deduplicates repository scopes within one environment, but the client does not deduplicate issues across environments. This matches the reported setup and symptoms. The same merge behavior was present in upstream main when checked.

Steps to reproduce

  1. Connect Mac and Linux environments to T3 Code.
  2. Add the same repository containing issues to both environments.
  3. Open the Issues tab in either desktop client.
  4. Observe identical copies of each issue.
  5. Compare with the Pull Requests tab, which does not show duplicates.

Expected: each issue appears once regardless of how many connected environments contain its repository.

Version

0.1.11-nightly.20261117.4838 — confirmed for the Mac server and Linux desktop client. The user reports both devices run the latest nightly.

Environment

Mac server: macOS, Darwin arm64 27.0.0, Node v24.22.1. Mac and Linux desktop clients; both environments contain the same repositories.

Evidence

Investigated source commit: ea6d3fc30fb066635f31326f49b85cdee8fbf8d7.
- apps/web/src/components/issue/IssuesPage.tsx: builds listing targets from all environments supporting issues.
- packages/client-runtime/src/issueList.ts: groupIssues unconditionally appends matching entries using group.rows.push({ ...entry, environmentId }).
- apps/server/src/issue/IssueService.ts: deduplicates scopes within one server response.
- User confirmed identical duplicates on both devices and overlapping repositories.

Related issues

No matching existing issue or shipped fix found in the searches performed.

Fix applied or workaround

None. No settings, database records, or installed source were changed.

Filed by

Codex, model gpt-6.1-sol, via T3 Code triage.

Activity

  1. added
    via-triage
    on Nov 17, 2026
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

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions