Skip to content

feat(update): Check for updates on every platform and disclose it - #727

Open
Ziinc wants to merge 2 commits into
mainfrom
ccr-001ba417-xtamiu-update-check-all-platforms
Open

Ziinc wants to merge 2 commits into
mainfrom
ccr-001ba417-xtamiu-update-check-all-platforms

Conversation

@Ziinc

@Ziinc Ziinc commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator
  • Check treq.dev/version on macOS, Windows, and Linux with an in-process GET sending only User-Agent: treq/<version> (<os>; <arch>), so aggregate check counts measure desktop usage by version and platform
  • Install stays macOS-only. Windows and Linux toasts link to the latest GitHub release. A new "Check for updates" setting (default on) and TREQ_DISABLE_AUTO_UPDATE each stop the request
  • Disclose the check in Security and Privacy and the Settings how-to, and reword the landing page and README "no telemetry" claims so they stay true
    🤖 Generated with Claude Code
    https://claude.ai/code/session_01V9MDdxQJAhjXsAKyCpVwwt
    Generated by Claude Code

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

@Ziinc Ziinc changed the title Check for updates on every platform and disclose the request feat(update): Check for updates on every platform and disclose it Oct 5, 2026
…quest

Desktop usage is measured from aggregate counts of update checks, but
only macOS checked, the request said nothing about version or platform,
and the site claimed the app sends no telemetry.

- Run the treq.dev/version check on macOS, Windows, and Linux with an
  in-process reqwest GET (5 s timeout) instead of a curl subprocess.
- Send exactly `User-Agent: treq/<version> (<os>; <arch>)` and no
  cookies, auth, or Referer.
- Split "can check" from "can install". Install stays macOS-only.
  Windows and Linux toasts open the latest GitHub release instead.
- Add an app-level "Check for updates" setting (default on). When it is
  off, or TREQ_DISABLE_AUTO_UPDATE is set, check_for_app_update sends no
  request. The command is now async, so the check no longer runs on the
  main thread.
- Document the check in Security and Privacy and Customizing Settings,
  and reword the landing page and README telemetry claims.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V9MDdxQJAhjXsAKyCpVwwt
@Ziinc
Ziinc force-pushed the ccr-001ba417-xtamiu-update-check-all-platforms branch from 150f66c to 7acfa98 Compare October 9, 2026 21:56
jj 0.46 adds a .git worktree file to new workspaces in colocated repos, so a
create interrupted after registration left a directory with .jj and .git.
The recovery check only accepted a lone .jj entry and refused the retry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168dvZ9czkPzsQELRFSK9wK

This branch was successfully deployed

1 active deployment
preview — 5e3574b7 Deployed Oct 9, 2026 by Ziinc via build #1755
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants