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 — fix(connect): Restore the pinned relay client before connecting by mwolson · Pull Request #73 · mwolson/t3code

Conversation

@mwolson

@mwolson mwolson commented Oct 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

What Changed

T3 Connect now checks that the relay client it manages is the release it pins before starting the connector. If the binary at the pinned path reports a different version, the app reinstalls the pinned release through the existing checksum-verified, locked installer and then connects with it. Relay client status checks stay read-only, so they never download or replace a binary, including one a running connector is using.

The check runs cloudflared version and requires an exact match. Its result is cached until the binary file changes, so a healthy install is probed once. An automatic repair has a 30-second limit, including any wait behind a manual install; if it fails or times out, connector startup goes ahead without waiting further (a replacement already in progress still finishes in the background, so the binary is never left half-swapped), the existing binary is kept, a warning is logged, and further automatic attempts wait five minutes. A manual install still retries immediately. A relay client chosen explicitly, or found on PATH, is never replaced, and the connector still runs with --no-autoupdate.

Upstream as pingdotgg#16607 cloudflared-pinned-version.

Why

Before pingdotgg#9386 the managed relay client ran without --no-autoupdate and could replace itself in place, leaving a newer release at the pinned path than the one T3 Code pins and checksums. The app kept launching it, so a host could run a release the app never tested, and hosts on the same app version could run different connectors.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mwolson
mwolson added this pull request to stack #74 October 6, 2026 22:10
@mwolson
mwolson marked this pull request as ready for review October 6, 2026 22:16
@mwolson
mwolson marked this pull request as draft October 6, 2026 22:17
@mwolson
mwolson force-pushed the contrib/cloudflared-pinned-version branch from 5544c6d to f44b591 Compare October 6, 2026 22:19
@mwolson
mwolson force-pushed the contrib/mobile-creation-standin branch from 9d8de90 to 411b77b Compare October 6, 2026 22:19
@mwolson
mwolson force-pushed the contrib/cloudflared-pinned-version branch from f44b591 to 26ebdea Compare October 6, 2026 22:58
@mwolson
fix(connect): Restore the pinned relay client before connecting
fa8a0a0
Older managed cloudflared installs could update themselves in place and
leave a different release at the pinned path. Check the managed
binary's version before connector startup and reuse the locked, verified
installer to repair it. Status inspection remains read-only.
Keep the existing binary and warn if repair fails or exceeds 30 seconds;
leave user-selected executables unchanged.

Share automatic checks by executable identity and retry failed repairs
after five minutes. Explicit installation can retry immediately.
@mwolson
mwolson force-pushed the contrib/cloudflared-pinned-version branch from 26ebdea to fa8a0a0 Compare October 6, 2026 23:17
@mwolson
mwolson removed this pull request from stack #74 October 10, 2026 02:40
@mwolson

mwolson commented Oct 10, 2026

Copy link
Copy Markdown
Owner Author

Dropped at the 2026-10-09 refresh: absorbed upstream by pingdotgg#17275 relay-client-updates, which replaced pingdotgg#16607 cloudflared-pinned-version.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mwolson mwolson closed this Oct 10, 2026
@mwolson
mwolson deleted the contrib/cloudflared-pinned-version branch October 10, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@mwolson
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — 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.