[PR #397] [MERGED] Update download issues #499

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

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/397
Author: @cursor[bot]
Created: 2/2/2026
Status: Merged
Merged: 2/2/2026
Merged by: @rudrankriyam

Base: mainHead: cursor/update-download-issues-18e8


📝 Commits (1)

  • 6908c14 Fix update download request cleanup

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 internal/update/download.go (+6 -0)

📄 Description

Add User-Agent header to binary download request and ensure temp file handles are closed on all error paths.

The User-Agent header was missing from the main binary download request, leading to inconsistency with other HTTP calls. File descriptors were leaked on error paths because the temporary file was not explicitly closed before early returns.



🔄 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/397 **Author:** [@cursor[bot]](https://github.com/apps/cursor) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/2/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `cursor/update-download-issues-18e8` --- ### 📝 Commits (1) - [`6908c14`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/6908c14ac1355ac98ecb2138d1433ebf660b3935) Fix update download request cleanup ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `internal/update/download.go` (+6 -0) </details> ### 📄 Description Add User-Agent header to binary download request and ensure temp file handles are closed on all error paths. The User-Agent header was missing from the main binary download request, leading to inconsistency with other HTTP calls. File descriptors were leaked on error paths because the temporary file was not explicitly closed before early returns. --- --- <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:15 +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#499
No description provided.