Skip to content

11609 Fix cloud upload on connection restore - #11612

Merged
embarc-gabriel merged 2 commits into
audacity:masterfrom
embarc-gabriel:11609-clear-connection-cache-on-reachability-changes
Sep 16, 2026
Merged

embarc-gabriel merged 2 commits into
audacity:masterfrom
embarc-gabriel:11609-clear-connection-cache-on-reachability-changes

Conversation

@embarc-gabriel

Copy link
Copy Markdown
Contributor

Resolves: #11609

Once the internet connection is dropped we need to clear the connection cache to avoid other uploads to reuse the same connection that still has not timed out. This is a HTTP/2 issue once multiple requests can be performed using a single connection.

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@embarc-gabriel
embarc-gabriel requested a review from kryksyh August 7, 2026 11:09
@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: 59363666-834e-4a98-8934-1d6216ff20a4

📥 Commits

Reviewing files that changed from the base of the PR and between f8833f738f517bcabd319cd4cfc8d4aa8376b063 and 1d207644a77dd3a7c7fcafaebeed4bd936c044f6.

📒 Files selected for processing (1)
  • au3/libraries/au3-network-manager/qt/Response.cpp

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

ResponseFactory adds conditional Qt Network Information support. When reachability changes, it clears the QNetworkAccessManager connection cache. Response::mapNetworkError maps QNetworkReply::UnknownNetworkError to NetworkError::ConnectionFailed.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 1d207

The supplied change summary indicates improved upload recovery, with no established merge-blocking failure.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the issue number and the main change: fixing cloud uploads after connection restoration.
Description check ✅ Passed The description states the issue reference, explains the connection-cache problem and motivation, completes the required checklist, and adds QA information. The recommended local test checkbox remains…
Linked Issues check ✅ Passed The changes address #11609. ResponseFactory clears the network manager connection cache when reachability changes, so uploads do not reuse a stale HTTP/2 connection after connectivity returns. `Resp…
Out of Scope Changes check ✅ Passed The two changes are directly connected to #11609. Connection-cache invalidation handles restored reachability. The UnknownNetworkError mapping handles the interrupted upload failure state. No unrela…

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Git: CodeRabbit could not clone the repository, so clone-backed analysis was skipped and this review may be incomplete. Verify repository clone access, such as SSH credentials, before requesting another full review. If clone access is intentionally unavailable, use path_filters to narrow the review scope.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@embarc-gabriel
embarc-gabriel force-pushed the 11609-clear-connection-cache-on-reachability-changes branch from 54f1c4e to f8833f7 Compare September 15, 2026 11:14
@embarc-gabriel
embarc-gabriel force-pushed the 11609-clear-connection-cache-on-reachability-changes branch from d9ae6ab to 08d1606 Compare September 16, 2026 12:32
@embarc-gabriel
embarc-gabriel merged commit 1f79549 into audacity:master Sep 16, 2026
2 of 7 checks passed
kryksyh added a commit that referenced this pull request Sep 22, 2026
11609 Fix cloud upload on connection restore (#11612)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't resume cloud upload once the internet connection is restored

2 participants