mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #519] Asset uploads: use upload timeout config in UploadAssetFromFile #144
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#144
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?
Originally created by @rudrankriyam on GitHub (Feb 14, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/519
Summary
internal/asc/assets_upload.gousesResolveTimeout()for asset upload HTTP client timeout instead ofResolveUploadTimeout().Why this matters
Upload flows should honor upload timeout policy (
ASC_UPLOAD_TIMEOUT/ASC_UPLOAD_TIMEOUT_SECONDS). Using the normal request timeout can prematurely fail larger uploads.Current behavior
UploadAssetFromFileinitializes:Expected behavior
Upload code should use upload timeout resolution:
ResolveUploadTimeout()Reproduction
UploadAssetFromFile.Detailed implementation plan
UploadAssetFromFileto useResolveUploadTimeout().internal/asc/upload.go, publish/notary helpers where applicable).Acceptance criteria
cc @cursor please implement this end-to-end.
@rudrankriyam commented on GitHub (Feb 14, 2026):
@cursor please implement this issue end-to-end using the checklist and acceptance criteria.
@cursor[bot] commented on GitHub (Feb 14, 2026):
Implemented end-to-end on
cursor/upload-timeout-resolution-907dand pushed as commit0ab3178.UploadAssetFromFileto use upload timeout config:ASC_UPLOAD_TIMEOUTis honored (both directions: longer upload timeout succeeds, shorter upload timeout fails even if normal timeout is longer):Validation and checklist coverage:
go test ./internal/asc -run TestUploadAssetFromFileUsesUploadTimeout -count=1passed.make format,make lint,make test(all passing)./opt/cursor/artifacts/upload_timeout_end_to_end_validation.txt(contains targeted timeout tests + lint + full test suite output).@rudrankriyam commented on GitHub (Feb 14, 2026):
Fixed in #526 (merged to main).