Skip to content

feat: show a cached release update notice - #33

Merged
jwmoss merged 2 commits into
mainfrom
codex/update-notice
Sep 7, 2026
Merged

feat: show a cached release update notice#33
jwmoss merged 2 commits into
mainfrom
codex/update-notice

Conversation

@jwmoss

@jwmoss jwmoss commented Sep 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Show newer stable releases and archive replacement instructions on interactive launches.
  • Cache release checks for 24 hours with a 500-millisecond network limit. Do not install updates.
  • Skip JSON, plain, quiet, redirected output, CI, agent sessions, telemetry, and completion commands.
  • Support DATATF_NO_UPDATE_NOTIFIER and DO_NOT_TRACK. Send no credentials or workspace data to GitHub.
  • Add upgrade documentation and include it in release archives.

Validation

  • make check
  • CLI help reviewed
  • Race tests for the CLI and release checker
  • Windows AMD64 and Linux ARM64 cross-builds
  • goreleaser check
  • Interactive launch against GitHub: an older version label displays the current release
  • Tests for cache expiry, version order, opt-out, invalid responses, timeouts, and unchanged exports

The repository has no prek configuration. The required Go checks pass.

Notes

This is an update notice, not a self-updater. Release checks are separate from optional telemetry.

@jwmoss
jwmoss merged commit 1ac415b into main Sep 7, 2026
2 checks passed
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.

1 participant