Skip to content

MS-1382 Explicitly throw exception on unsuccessful event up/down sync responses#1617

Merged
luhmirin-s merged 1 commit intorelease/2025.2.1from
hotfix/MS-1382-network-hotfix-25.2
Mar 17, 2026
Merged

MS-1382 Explicitly throw exception on unsuccessful event up/down sync responses#1617
luhmirin-s merged 1 commit intorelease/2025.2.1from
hotfix/MS-1382-network-hotfix-25.2

Conversation

@luhmirin-s
Copy link
Contributor

JIRA ticket
Will be released in: 2025.2.1

Root cause analysis (for bugfixes only)

First known affected version: 2024.1.5

  • When retrofit interface returns Response<T> type, then it will never throw during call execution.

Notable changes

  • If event up and down sync requests return any non 2xx response, we now manually throw HttpException.
  • Sync tasks already expect that data source calls can throw (there are even unit tests for such cases).
  • Other cases of Response<T> are also already covered correctly.

Testing guidance

  • Sync should work as expected.
  • There isn't really a way to reliably reproduce the issue by hand, so we will have to rely on unit tests.

Additional work checklist

  • Effect on other features and security has been considered
  • Design document marked as "In development" (if applicable)
  • External (Gitbook) and internal (Confluence) Documentation is up to date (or ticket created)
  • Test cases in Testiny are up to date (or ticket created)
  • Other teams notified about the changes (if applicable)

@luhmirin-s luhmirin-s requested review from a team, BurningAXE, TristramN, alex-vt, alexandr-simprints, meladRaouf and ybourgery and removed request for a team March 17, 2026 08:01
@cla-bot cla-bot bot added the ... label Mar 17, 2026
@sonarqubecloud
Copy link

@luhmirin-s luhmirin-s merged commit a94a550 into release/2025.2.1 Mar 17, 2026
12 checks passed
@luhmirin-s luhmirin-s deleted the hotfix/MS-1382-network-hotfix-25.2 branch March 17, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants