mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[PR #546] [CLOSED] Config load caching bug #609
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#609
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/546
Author: @cursor[bot]
Created: 2/14/2026
Status: ❌ Closed
Base:
cursor/appstoreconnectcli-async-await-f47d← Head:cursor/config-load-caching-bug-7228📝 Commits (7)
096f892refactor: unify polling loops with shared helper69d31a4refactor: centralize secure open nofollow logic111cfedperf: cache asc config loads in runtime resolvers198a563refactor: dedupe linkage output registry adaptersb004364refactor(cli): add shared output flag binder447fc78refactor(asc): add generic output registry adapters2f3814eFix config cache to retry after load failures📊 Changes
26 files changed (+616 additions, -237 deletions)
View changed files
📝
internal/asc/client_core.go(+45 -2)➕
internal/asc/client_core_config_cache_test.go(+115 -0)📝
internal/asc/client_publish.go(+6 -14)📝
internal/asc/output_registry.go(+14 -0)📝
internal/asc/output_registry_init.go(+92 -88)➕
internal/asc/poll.go(+52 -0)➕
internal/asc/poll_test.go(+80 -0)📝
internal/asc/secure_open_other.go(+6 -2)📝
internal/asc/secure_open_unix.go(+2 -3)📝
internal/cli/apps/apps.go(+10 -13)📝
internal/cli/assets/assets_helpers.go(+13 -12)📝
internal/cli/assets/assets_previews.go(+6 -9)📝
internal/cli/assets/assets_screenshots.go(+8 -12)📝
internal/cli/builds/builds.go(+4 -6)📝
internal/cli/shared/build_wait.go(+5 -13)📝
internal/cli/shared/secure_open_other.go(+7 -6)📝
internal/cli/shared/secure_open_unix.go(+3 -5)📝
internal/cli/shared/shared.go(+14 -0)📝
internal/cli/shared/shared_test.go(+36 -0)📝
internal/cli/versions/versions.go(+14 -20)...and 6 more files
📄 Description
Summary
loadConfig()would permanently cache anilconfiguration if the initial load failed, preventing recovery from transient issues. Thesync.OnceandcachedConfigare now reset on error, allowing subsequent calls to retry loading the configuration.Validation
make formatmake lintmake test🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.