Skip to content

CLDSRV-873: return checksum in HeadObject and GetObject#6117

Draft
leif-scality wants to merge 1 commit intoimprovement/CLDSRV-872-store-checksum-in-object-metadatafrom
improvement/CLDSRV-873-head-get-object-return-checksum
Draft

CLDSRV-873: return checksum in HeadObject and GetObject#6117
leif-scality wants to merge 1 commit intoimprovement/CLDSRV-872-store-checksum-in-object-metadatafrom
improvement/CLDSRV-873-head-get-object-return-checksum

Conversation

@leif-scality
Copy link
Contributor

No description provided.

@leif-scality leif-scality changed the title CLDSRV-873: return checksum in HeadObject CLDSRV-873: return checksum in HeadObject and GetObject Mar 18, 2026
const responseHeaders = collectResponseHeaders(objMD, corsHeaders,
verCfg);

if (checksumMode === 'ENABLED') {
Copy link

Choose a reason for hiding this comment

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

PR title says "return checksum in HeadObject and GetObject" but only HeadObject is implemented. lib/api/objectGet.js has no changes — it does not validate x-amz-checksum-mode or set checksum response headers. Either add GetObject support or update the title.

— Claude Code

@claude
Copy link

claude bot commented Mar 18, 2026

  • PR title mentions GetObject but only HeadObject has checksum support added. lib/api/objectGet.js is unchanged. Either implement GetObject checksum mode or correct the title.

Review by Claude Code

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.72%. Comparing base (180d940) to head (8626736).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
lib/api/objectHead.js 91.57% <100.00%> (+0.88%) ⬆️

... and 2 files with indirect coverage changes

@@                                     Coverage Diff                                      @@
##           improvement/CLDSRV-872-store-checksum-in-object-metadata    #6117      +/-   ##
============================================================================================
+ Coverage                                                     84.69%   84.72%   +0.02%     
============================================================================================
  Files                                                           207      207              
  Lines                                                         13540    13549       +9     
============================================================================================
+ Hits                                                          11468    11479      +11     
+ Misses                                                         2072     2070       -2     
Flag Coverage Δ
file-ft-tests 68.55% <77.77%> (+<0.01%) ⬆️
kmip-ft-tests 28.08% <0.00%> (-0.02%) ⬇️
mongo-v0-ft-tests 69.73% <77.77%> (+<0.01%) ⬆️
mongo-v1-ft-tests 69.85% <77.77%> (+0.09%) ⬆️
multiple-backend 35.28% <33.33%> (-0.01%) ⬇️
sur-tests 35.58% <0.00%> (-0.81%) ⬇️
sur-tests-inflights 37.38% <0.00%> (-0.02%) ⬇️
unit 70.63% <100.00%> (+0.01%) ⬆️
utapi-v2-tests 34.58% <0.00%> (+0.03%) ⬆️

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant