Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement/cldsrv 553 bump deps #5711

Open
wants to merge 17 commits into
base: development/9.0
Choose a base branch
from

Conversation

benzekrimaha
Copy link
Contributor

@benzekrimaha benzekrimaha commented Dec 6, 2024

Issue: CLDSRV-553

@bert-e
Copy link
Contributor

bert-e commented Dec 6, 2024

Hello benzekrimaha,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Available options
name description privileged authored
/after_pull_request Wait for the given pull request id to be merged before continuing with the current one.
/bypass_author_approval Bypass the pull request author's approval
/bypass_build_status Bypass the build and test status
/bypass_commit_size Bypass the check on the size of the changeset TBA
/bypass_incompatible_branch Bypass the check on the source branch prefix
/bypass_jira_check Bypass the Jira issue check
/bypass_peer_approval Bypass the pull request peers' approval
/bypass_leader_approval Bypass the pull request leaders' approval
/approve Instruct Bert-E that the author has approved the pull request. ✍️
/create_pull_requests Allow the creation of integration pull requests.
/create_integration_branches Allow the creation of integration branches.
/no_octopus Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead
/unanimity Change review acceptance criteria from one reviewer at least to all reviewers
/wait Instruct Bert-E not to run until further notice.
Available commands
name description privileged
/help Print Bert-E's manual in the pull request.
/status Print Bert-E's current status in the pull request TBA
/clear Remove all comments from Bert-E from the history TBA
/retry Re-start a fresh build TBA
/build Re-start a fresh build TBA
/force_reset Delete integration branches & pull requests, and restart merge process from the beginning.
/reset Try to remove integration branches unless there are commits on them which do not appear on the source branch.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Dec 6, 2024

Incorrect fix version

The Fix Version/s in issue CLDSRV-553 contains:

  • None

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 8.8.39

Please check the Fix Version/s of CLDSRV-553, or the target
branch of this pull request.

@benzekrimaha benzekrimaha force-pushed the improvement/CLDSRV-553-bump-deps branch from dcc7c34 to 0eadb81 Compare December 6, 2024 15:59
@francoisferrand francoisferrand changed the base branch from development/8.8 to development/8.9 December 12, 2024 14:04
@bert-e
Copy link
Contributor

bert-e commented Dec 12, 2024

Incorrect fix version

The Fix Version/s in issue CLDSRV-553 contains:

  • None

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 8.9.0

Please check the Fix Version/s of CLDSRV-553, or the target
branch of this pull request.

Dockerfile Outdated
@@ -1,4 +1,4 @@
ARG NODE_VERSION=16.20.2-bookworm-slim
ARG NODE_VERSION=22-bookworm-slim
Copy link
Contributor

@francoisferrand francoisferrand Dec 12, 2024

Choose a reason for hiding this comment

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

should stick to a specific node version, to ensure reproductible & repeatable builds

Comment on lines +25 to 27
RUN npm install -g node-gyp
COPY package.json yarn.lock /usr/src/app/
RUN npm install [email protected] -g
Copy link
Contributor

Choose a reason for hiding this comment

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

best to install all "global" packages in a single step,
before package.json copy (to avoid invalidatoin),
and specifying the node-gyp version (just like we do for typescript)

Suggested change
RUN npm install -g node-gyp
COPY package.json yarn.lock /usr/src/app/
RUN npm install [email protected] -g
RUN npm install -g \
[email protected] \
[email protected]
COPY package.json yarn.lock /usr/src/app/

@@ -154,13 +154,6 @@ function prepareRequestContexts(apiMethod, request, sourceBucket,
generateRequestContext('objectPutTaggingVersion');
requestContexts.push(putObjectVersionRequestContext);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we changing permissions?
if it was (already) a bug, it shoudl be fixed on 8.8 as well instead here...

@benzekrimaha benzekrimaha force-pushed the improvement/CLDSRV-553-bump-deps branch 2 times, most recently from 15b93ac to 57325de Compare December 12, 2024 16:26
@benzekrimaha benzekrimaha marked this pull request as ready for review December 12, 2024 16:26
@benzekrimaha benzekrimaha force-pushed the improvement/CLDSRV-553-bump-deps branch from 57325de to 2639bf6 Compare December 12, 2024 16:29
@bert-e
Copy link
Contributor

bert-e commented Dec 12, 2024

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • 2 peers

@scality scality deleted a comment from bert-e Dec 12, 2024
@benzekrimaha benzekrimaha force-pushed the improvement/CLDSRV-553-bump-deps branch from 8bb9b0a to b5e6e01 Compare December 12, 2024 16:49
lib/Config.js Show resolved Hide resolved
lib/utapi/utilities.js Outdated Show resolved Hide resolved
@@ -342,39 +342,6 @@ jobs:
source: /tmp/artifacts
if: always()

Copy link
Contributor

Choose a reason for hiding this comment

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

should be skipped instead of removed:

Suggested change
utapi-v2-tests:
if: false

@francoisferrand
Copy link
Contributor

please rebase, there are conflicts.
(sorry, add some pending commensts, which may not be relevant anymore : please with this in mind...)

@@ -1,4 +0,0 @@
#!/usr/bin/env node
Copy link
Contributor

Choose a reason for hiding this comment

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

should keep this file, and just add early return (if needed) in listMetrics()

#!/usr/bin/env node
'use strict'; // eslint-disable-line strict

require('../lib/utapi/utilities.js').listMetrics('buckets');
Copy link
Contributor

Choose a reason for hiding this comment

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

should keep this file, and just add early return (if needed) in listMetrics()

@benzekrimaha benzekrimaha force-pushed the improvement/CLDSRV-553-bump-deps branch from 699b1d4 to bc7b54f Compare December 20, 2024 07:58
@bert-e
Copy link
Contributor

bert-e commented Dec 20, 2024

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • 2 peers

@scality scality deleted a comment from bert-e Dec 20, 2024
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 60.30%. Comparing base (11b978b) to head (0443802).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
lib/utapi/utilities.js 25.00% 3 Missing ⚠️
lib/Config.js 66.66% 2 Missing ⚠️
lib/utapi/utapi.js 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
bin/create_bucket_with_NFS_enabled.js 0.00% <ø> (ø)
bin/create_encrypted_bucket.js 0.00% <ø> (ø)
bin/list_bucket_metrics.js 0.00% <ø> (ø)
bin/list_metrics.js 0.00% <ø> (ø)
bin/metrics_server.js 0.00% <ø> (ø)
bin/search_bucket.js 0.00% <ø> (ø)
bin/secure_channel_proxy.js 0.00% <ø> (ø)
lib/api/api.js 0.00% <ø> (ø)
lib/api/apiUtils/authorization/permissionChecks.js 87.59% <ø> (ø)
...i/apiUtils/authorization/prepareRequestContexts.js 92.43% <ø> (+2.92%) ⬆️
... and 28 more

... and 1 file with indirect coverage changes

@@                 Coverage Diff                 @@
##           development/9.0    #5711      +/-   ##
===================================================
- Coverage            60.56%   60.30%   -0.26%     
===================================================
  Files                  185      183       -2     
  Lines                11619    11602      -17     
===================================================
- Hits                  7037     6997      -40     
- Misses                4582     4605      +23     
Flag Coverage Δ
unit 60.30% <83.33%> (-0.26%) ⬇️

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

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