Skip to content

Introduce ErrorCode::NoContent#1665

Merged
rustam-gamidov-here merged 1 commit intomasterfrom
rga/heresup-50889-introduce-no-content
Feb 26, 2026
Merged

Introduce ErrorCode::NoContent#1665
rustam-gamidov-here merged 1 commit intomasterfrom
rga/heresup-50889-introduce-no-content

Conversation

@rustam-gamidov-here
Copy link
Copy Markdown
Collaborator

Allows to distinguish 404 network error and fact that there's no data for the requested resource. This allows to cache NoContent responses and decrease number of such requests

Relates-To: HERESUP-50889

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 95.12195% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.33%. Comparing base (c08da4f) to head (92b4416).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
...ice-read/src/repositories/PartitionsRepository.cpp 93.75% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1665   +/-   ##
=======================================
  Coverage   80.33%   80.33%           
=======================================
  Files         350      350           
  Lines       14052    14084   +32     
  Branches     1517     1517           
=======================================
+ Hits        11288    11314   +26     
- Misses       2147     2151    +4     
- Partials      617      619    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@andrey-kashcheev andrey-kashcheev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments

Comment thread olp-cpp-sdk-dataservice-read/src/repositories/DataRepository.cpp Outdated
Allows to distinguish 404 network error and fact that there's no
data for the requested resource. This allows to cache NoContent
responses and decrease number of such requests

Relates-To: HERESUP-50889
Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
@rustam-gamidov-here rustam-gamidov-here merged commit 8199e2c into master Feb 26, 2026
18 checks passed
@rustam-gamidov-here rustam-gamidov-here deleted the rga/heresup-50889-introduce-no-content branch February 26, 2026 12:39
asopov-here pushed a commit that referenced this pull request Feb 27, 2026
Allows to distinguish 404 network error and fact that there's no
data for the requested resource. This allows to cache NoContent
responses and decrease number of such requests

Relates-To: HERESUP-50889

Signed-off-by: Rustam Gamidov <ext-rustam.gamidov@here.com>
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.

3 participants