[PR #115] [MERGED] Upload channel deadlock #295

Closed
opened 2026-02-26 21:34:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

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

Base: cursor/build-upload-full-flow-06dbHead: cursor/upload-channel-deadlock-d33b


📝 Commits (2)

  • ea0e747 Fix upload job dispatch cancellation
  • 64da82f Add regression test for upload dispatch cancellation.

📊 Changes

2 files changed (+97 additions, -3 deletions)

View changed files

📝 internal/asc/upload.go (+5 -3)
📝 internal/asc/upload_test.go (+92 -0)

📄 Description

Update channel send with a select statement to prevent deadlocks when the context is cancelled during a blocked send operation.



🔄 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/115 **Author:** [@cursor[bot]](https://github.com/apps/cursor) **Created:** 1/24/2026 **Status:** ✅ Merged **Merged:** 1/24/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `cursor/build-upload-full-flow-06db` ← **Head:** `cursor/upload-channel-deadlock-d33b` --- ### 📝 Commits (2) - [`ea0e747`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/ea0e74770a25d21ef9ce1cd51dcbe10b3b8ac088) Fix upload job dispatch cancellation - [`64da82f`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/64da82fdeb0f256448bfeff00e81c0ec26ec332d) Add regression test for upload dispatch cancellation. ### 📊 Changes **2 files changed** (+97 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `internal/asc/upload.go` (+5 -3) 📝 `internal/asc/upload_test.go` (+92 -0) </details> ### 📄 Description Update channel send with a select statement to prevent deadlocks when the context is cancelled during a blocked send operation. --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:34:28 +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#295
No description provided.