mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #549] [MERGED] perf(update): run stale update checks asynchronously #612
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#612
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/549
Author: @rudrankriyam
Created: 2/14/2026
Status: ✅ Merged
Merged: 2/14/2026
Merged by: @rudrankriyam
Base:
main← Head:perf/async-update-check-preflight📝 Commits (1)
fc2612cperf(update): run stale update checks asynchronously📊 Changes
4 files changed (+231 additions, -13 deletions)
View changed files
📝
cmd/run.go(+48 -13)📝
cmd/run_additional_test.go(+108 -0)📝
internal/update/check.go(+34 -0)📝
internal/update/update_test.go(+41 -0)📄 Description
Summary
update.CachedUpdateAvailableto do a cache-only preflight (no network) before command executionAutoUpdate=falseand a short timeoutTest plan
make formatmake lintASC_BYPASS_KEYCHAIN=1 make testgo test ./cmd -run 'TestRun_UpdateCheckRunsAsyncWhenCacheHasNoUpdate|TestRun_CachedUpdateChecksSynchronously|TestRun_CachedUpdateCanRestartProcess'go test ./internal/update -run 'TestCachedUpdateAvailable_NoCache|TestCachedUpdateAvailable_FindsNewerVersion'🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.