Skip to content

retry transient CCloud errors when fetching Flink statement results - #3427

Merged
Dave Shoup (shouples) merged 7 commits into
mainfrom
djs/retry-transient-flink-results
Aug 10, 2026
Merged

retry transient CCloud errors when fetching Flink statement results#3427
Dave Shoup (shouples) merged 7 commits into
mainfrom
djs/retry-transient-flink-results

abandon a transient backoff once the results fetch is aborted

90600fd
Select commit
Loading
Failed to load commit list.
SonarQube-Confluent / SonarQube Code Analysis succeeded Aug 7, 2026 in 48s

Annotations

Check failure on line 393 in src/flinkSql/flinkStatementResultsManager.ts

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.confluent.io/project/issues?id=vscode&pullRequest=3427&issues=1ecefccc-5d5d-411a-9827-e7bf4f0b2c82&open=1ecefccc-5d5d-411a-9827-e7bf4f0b2c82

Check warning on line 59 in src/errors.ts

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

`TRANSIENT_RESPONSE_STATUSES` should be a `Set`, and use `TRANSIENT_RESPONSE_STATUSES.has()` to check existence or non-existence.

[S7776] Arrays used only for existence checks should be Sets
 See more on https://sonarqube.confluent.io/project/issues?id=vscode&pullRequest=3427&issues=f7d0e45b-fcb0-4b4e-ab90-0cdfd17697c2&open=f7d0e45b-fcb0-4b4e-ab90-0cdfd17697c2