Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lferran
Copy link
Contributor

@lferran lferran commented Dec 19, 2025

Description

To be able to check if a resource exists in the most lightweight way.
[sc-13631]

How was this PR tested?

Integration tests

@lferran lferran changed the title Resource head Resource head endpoint Dec 19, 2025
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.90%. Comparing base (c7e794d) to head (06d0137).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
nucliadb/src/nucliadb/reader/api/v1/resource.py 95.45% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3441   +/-   ##
=======================================
  Coverage   85.89%   85.90%           
=======================================
  Files         549      549           
  Lines       45880    45901   +21     
  Branches    12677    12677           
=======================================
+ Hits        39410    39430   +20     
- Misses       5851     5852    +1     
  Partials      619      619           
Flag Coverage Δ
nidx 79.54% <ø> (ø)
nucliadb 75.13% <50.00%> (-0.03%) ⬇️
nucliadb-ingest 42.96% <50.00%> (+<0.01%) ⬆️
nucliadb-reader 43.10% <95.45%> (+0.04%) ⬆️
nucliadb-search 55.07% <50.00%> (-0.01%) ⬇️
nucliadb-standalone 45.34% <50.00%> (+<0.01%) ⬆️
nucliadb-train 44.03% <50.00%> (+<0.01%) ⬆️
nucliadb-writer 46.16% <50.00%> (+<0.01%) ⬆️
nucliadb_dataset 70.79% <ø> (ø)
nucliadb_models 74.72% <ø> (ø)
nucliadb_sdk 80.08% <ø> (ø)
nucliadb_telemetry 82.92% <ø> (ø)
nucliadb_utils 81.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@lferran lferran merged commit cf1fd72 into main Dec 22, 2025
44 checks passed
@lferran lferran deleted the resource-head branch December 22, 2025 09:49
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