Repository navigation
Description
Problem
A pinned update check still needs an unauthenticated GitHub REST request before it can read the release manifest. In a Dots environment using browser-proxy:8889, the egress IP's anonymous quota can already be exhausted even when this individual installation has made only a few checks.
Both update check --tag and update apply --tag use this path. A source-only local-bundle update worked around the problem, but upgrading to v0.7.1 does not fix the network-check behavior: its updater executable is unchanged from v0.7.0.
Reproduction and observed evidence
Reported command:
/workspace/.dots-tailscale/dots-ts update check \
--tag v0.7.1 \
--proxy http://browser-proxy:8889 \
--jsonThe CLI reports check_failed / rate_limited.
On 2026-10-29, a separate unauthenticated request to the same release-tag endpoint through the same configured proxy confirmed:
- HTTP
403 X-RateLimit-Limit: 60X-RateLimit-Remaining: 0- GitHub's primary API-rate-limit error message
X-RateLimit-Reset: 1793266184(2026-10-29 09:29:44 UTC)
The proxy's actual egress address is intentionally omitted. The measurement establishes quota exhaustion for that request, not that every Dots instance always shares one IP.
GitHub documents the unauthenticated primary limit as 60 requests/hour per originating IP: rate limits, retry guidance.
Current implementation
Source inspected at v0.7.1, commit e49fa7b41af495c224590c7bd355075be632f97a:
- fetch_release requests
api.github.com/repos/abruption/dots-tailscale/releases/tags/v0.7.1even with an explicit tag, then downloads the public manifest asset. - _network_fetch is unauthenticated.
GH_TOKEN/GITHUB_TOKENare not consumed; setting them alone is not a workaround. - Rate-limit errors lose the reset/retry headers when converted to
UpdateError("rate_limited"). update checkmakes a new request each time and has no local-bundle selection.--bundlecurrently belongs to apply/migrate, not check.
Verified workaround
On a trusted machine, obtain the published stable release's four original sources and manifest; verify the release metadata, asset digests and source bytes before transferring this source-only bundle.
An authorized update apply --bundle ... --confirm-recovery-terminal --json successfully updated one installation from 0.7.0 to 0.7.1 without using the sandbox's GitHub REST quota. The transaction reached applied/complete and fresh external SSH/ping succeeded. This is an installation operation requiring the independent recovery terminal, not a read-only replacement for check.
Do not recommend patching the installed CLI to inject a token: that breaks its manifest integrity. A broad personal token in a proxy-intercepted sandbox should not become the default solution.
Expected behavior / acceptance
- Provide an explicit, documented API-independent inspection path, such as
update check --bundle, that compares a reviewed local bundle without changing installed code or services. - Clearly label local/cached evidence and its trust limits; do not present it as a fresh GitHub publication check.
- Preserve whitelisted
Retry-After/ reset-time metadata in JSON and human diagnostics, while keeping the existing non-success rate-limit result. - Avoid repeated requests during a known limit window. Any cache/backoff must be bounded, explicit about freshness, safe with unavailable/read-only storage, and must not turn a stale/error result into success.
- Evaluate an API-light pinned-release path, but do not silently bypass the existing draft/prerelease, repository/tag/URL, manifest or provenance checks. Coordinate with security: define and verify release provenance before package updates #67.
- Add isolated regressions for primary 403 exhaustion, secondary 429, reset/retry metadata, stale/error cache handling and offline inspection. Retain all apply/recovery-terminal/transaction safeguards.
Scope: updater reliability and diagnostics. This does not request runtime-binary changes, automatic updates, new credentials, or a production deployment.
Activity
abruption commentedon Oct 29, 2026
Development implementation is available in PR #74: #74
The candidate adds read-only local bundle inspection plus bounded rate-limit metadata/backoff scoped to the chosen proxy. Check/notification/apply paths preserve rate-limit diagnostics without recursive locking. A fresh network result may carry a separate cache-storage warning; stale/error evidence never substitutes for a successful live release/provenance check.
The reviewed runtime candidate passed Linux core CI on Python 3.11/3.13 (541 tests each, zero skipped), plus the scoped independent Claude/Codex review process. Exact revisions, research checks, fixture limits and remaining gates: https://github.com/abruption/dots-tailscale/blob/feat/v080/docs/validation/v0.8.0-development-review.md
PR-head checks are recorded on #74. No merge, tag/release or operating deployment is included in this development update.