[PR #396] [MERGED] Add startup auto-update checks #498

Closed
opened 2026-02-26 22:31:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/396
Author: @rudrankriyam
Created: 2/2/2026
Status: Merged
Merged: 2/2/2026
Merged by: @rudrankriyam

Base: mainHead: auto-update


📝 Commits (2)

  • 8ea098f Add startup auto-update checks to keep installs current.
  • 8d3b3d8 Add update E2E integration coverage.

📊 Changes

18 files changed (+900 additions, -3 deletions)

View changed files

📝 Agents.md (+1 -0)
📝 Makefile (+1 -0)
📝 README.md (+4 -0)
📝 cmd/root.go (+5 -2)
📝 cmd/run.go (+34 -1)
📝 go.mod (+4 -0)
📝 go.sum (+8 -0)
📝 internal/cli/shared/shared.go (+7 -0)
internal/update/cache.go (+60 -0)
internal/update/check.go (+69 -0)
internal/update/download.go (+151 -0)
internal/update/install.go (+44 -0)
internal/update/integration_test.go (+61 -0)
internal/update/restart.go (+32 -0)
internal/update/update.go (+202 -0)
internal/update/update_test.go (+172 -0)
internal/update/util.go (+14 -0)
internal/update/version.go (+31 -0)

📄 Description

Summary

  • add update manager with cache, release checks, and checksum-verified downloads
  • run auto-update before command execution with restart and --no-update
  • document update behavior and add unit coverage for update paths

Test plan

  • go test ./internal/update -v

Made with Cursor


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/396 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/2/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `auto-update` --- ### 📝 Commits (2) - [`8ea098f`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/8ea098f0b7fcb9554f4c22cd126755018bf50654) Add startup auto-update checks to keep installs current. - [`8d3b3d8`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/8d3b3d8cd9455d66b1407039012b66a0689b275f) Add update E2E integration coverage. ### 📊 Changes **18 files changed** (+900 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `Agents.md` (+1 -0) 📝 `Makefile` (+1 -0) 📝 `README.md` (+4 -0) 📝 `cmd/root.go` (+5 -2) 📝 `cmd/run.go` (+34 -1) 📝 `go.mod` (+4 -0) 📝 `go.sum` (+8 -0) 📝 `internal/cli/shared/shared.go` (+7 -0) ➕ `internal/update/cache.go` (+60 -0) ➕ `internal/update/check.go` (+69 -0) ➕ `internal/update/download.go` (+151 -0) ➕ `internal/update/install.go` (+44 -0) ➕ `internal/update/integration_test.go` (+61 -0) ➕ `internal/update/restart.go` (+32 -0) ➕ `internal/update/update.go` (+202 -0) ➕ `internal/update/update_test.go` (+172 -0) ➕ `internal/update/util.go` (+14 -0) ➕ `internal/update/version.go` (+31 -0) </details> ### 📄 Description ## Summary - add update manager with cache, release checks, and checksum-verified downloads - run auto-update before command execution with restart and `--no-update` - document update behavior and add unit coverage for update paths ## Test plan - [x] `go test ./internal/update -v` Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:31:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#498
No description provided.