CLDSRV-898: handle checksums in CompleteMultipartUpload#6170
CLDSRV-898: handle checksums in CompleteMultipartUpload#6170leif-scality wants to merge 11 commits into
Conversation
|
LGTM |
❌ 1 Tests Failed:
View the full list of 2 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
2493909 to
538c16c
Compare
Hello leif-scality,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
27b4a43 to
a90bd94
Compare
|
LGTM |
|
|
||
| // XML element name AWS uses for each algorithm in CompleteMultipartUpload's | ||
| // per-part body. | ||
| const TAG_BY_ALGO = { |
There was a problem hiding this comment.
Shouldn't this be in constants too?
There was a problem hiding this comment.
The algorithms object contains the TAG of each algo already, this object is just for testing that the tag was not changed in the algorithms object
There was a problem hiding this comment.
Could you construct it from algorithms? If algorithm is supposed to be a constant and we are concerned that it may be accidentally changed, what about using Object.freeze on it?
There was a problem hiding this comment.
The goal of the test if to raise an error if we change the xmlTag for some reason in algorithms. If we construct it from algorithms then we will never detect the change. algorithms is already Object.freeze
There was a problem hiding this comment.
Then, why not using Object.freeze for each subcomponent of algorithms if the goal is to ensure that it's never modified, that would be probably a better answer than a test checking this. Just my two cents, no big deal otherwise.
a90bd94 to
e468700
Compare
|
LGTM |
46b6d78 to
6e735e4
Compare
|
|
LGTM — solid implementation with thorough test coverage. |
6e735e4 to
1c92b9b
Compare
|
1c92b9b to
3df48c2
Compare
|
LGTM |
3df48c2 to
c190267
Compare
|
c190267 to
7b3785c
Compare
|
LGTM |
ee04392 to
600ef90
Compare
|
LGTM |
600ef90 to
14b8747
Compare
Review by Claude Code |
14b8747 to
c39cf5f
Compare
|
LGTM |
c39cf5f to
cfd50b5
Compare
|
LGTM |
cfd50b5 to
a149729
Compare
|
LGTM |
|
/approve |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the The following options are set: approve |
|
ping |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
This pull request does not target the following hotfix branch(es) so they
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
tests/unit/api/multipartUpload.js