GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pull Requests page shows an unnamed relay error and Retry never clears it when one linked environment is offline · Issue #27821 · pingdotgg/t3code

Pull Requests page shows an unnamed relay error and Retry never clears it when one linked environment is offline #27821

New issue
Copy link
New issue
Copy link
Closed
#27882
Closed
Pull Requests page shows an unnamed relay error and Retry never clears it when one linked environment is offline#27821
#27882
Copy link

Description

@AdminGodZ
AdminGodZ
opened on Oct 30, 2026
Issue body actions

What happened

The Pull Requests page in the desktop app shows a persistent warning banner: "Relay could not reach the environment endpoint (endpoint_request_failed). Showing the last pull requests loaded." Pressing Retry does nothing, and restarting T3 Code several times did not clear it. The user has two environments: the local Mac (healthy) and an Arch Linux machine reached through T3 Connect, which is currently shut down.

Diagnosis

The page fetches pull requests from every capable environment and combines the results. The offline Arch Linux environment makes the relay return RelayEnvironmentEndpointUnavailableError (endpoint_request_failed), and that becomes the page-level error.

In apps/web/src/state/pullRequests.ts, createMergedEnvironmentQuery keeps only the first failure (if (result._tag === "Failure" && error === null) error = formatEnvironmentQueryError(result.cause)) and drops the environmentId of the target that failed. As a result:

  1. The banner doesn't say which environment is unreachable, so the user can't tell that one offline machine is the cause. It reads as if pull request loading is broken in general.
  2. Retry (listQuery.refresh()) asks the offline environment again, so the same error comes straight back. To the user, Retry appears to do nothing.
  3. An environment that is expected to be offline (a machine that is shut down) keeps the whole page in an error state until the user narrows the environment picker by hand.

The local environment answers normally. Its PRs are listed and the server is healthy. The same code is unchanged on main as of 2026-10-30.

Suggested behaviour: name the failing environment in the banner (for example, "archlinux is unreachable: …"), and/or show offline environments as a per-environment status instead of a page-wide error. Consider leaving environments the connection layer already reports as offline out of the PR fan-out.

Steps to reproduce

  1. Link two environments to the same account: the local desktop environment, plus a second machine through T3 Connect.
  2. Shut down the second machine (or stop its T3 Code server or tunnel).
  3. Open Pull Requests with the environment picker set to All.
  4. The banner shows "Relay could not reach the environment endpoint (endpoint_request_failed). Showing the last pull requests loaded." It doesn't name an environment.
  5. Click Retry: the banner stays. Switching the picker to only the local environment makes it go away.

Version

Desktop 0.1.6-nightly.20261030.3940 (commit ae521d1), latest nightly at the time of filing

Environment

macOS (Darwin 27.0.0, arm64), Node v24.22.1, T3 Code Desktop with local server; second environment: Arch Linux via T3 Connect (offline)

Evidence

# Banner text
Relay could not reach the environment endpoint (endpoint_request_failed). Showing the last pull requests loaded.

# apps/web/src/state/pullRequests.ts (ae521d1d), createMergedEnvironmentQuery
if (result._tag === "Failure" && error === null) {
  error = formatEnvironmentQueryError(result.cause);   // environmentId of the failing target is dropped
}

# apps/web/src/components/pullRequest/PullRequestsPage.tsx
{listQuery.error && shownCount > 0 ? (
  <span>{listQuery.error} Showing the last pull requests loaded.</span>
  <Button ... onClick={() => listQuery.refresh()}>Retry</Button>

Related issues

#8844 (T3 Connect endpoint_request_failed when opening an environment, Windows → iOS) is about the tunnel itself failing. Here the remote machine is offline on purpose, and the problem is how the PR page reports it. #19363 is about PR page refresh cost, which is unrelated.

Fix applied or workaround

Nothing was changed on the machine. Workaround: in the PR page's environment picker, select only the environments that are online.

Filed by

Claude Code (claude-opus-5-5) via T3 Code triage

Activity

  1. juliusmarminge
    closed this as completedin #27882on Nov 14, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.