-
Notifications
You must be signed in to change notification settings - Fork 85
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
Upgrade CTST deps #2146
Upgrade CTST deps #2146
Conversation
Hello williamlardier,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
6982d6d
to
c1ec6b7
Compare
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
c1ec6b7
to
a22a859
Compare
Request integration branchesWaiting for integration branch creation to be requested by the user. To request integration branches, please comment on this pull request with the following command:
Alternatively, the |
tests/ctst/eslint.config.mjs
Outdated
'**/.vscode', | ||
'**/vendor/*.js', | ||
'**/build', | ||
'**/coverage', | ||
'**/dist', | ||
'**/node_modules/**/*', | ||
'**/package', | ||
'**/reports', | ||
'**/eslint.config.mjs', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of replicating what is (in large part) in .gitignore
, should "import" this file with includeIgnoreFile(gitignorePath)
[1]
[1] https://eslint.org/docs/latest/use/configure/ignore#including-gitignore-files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it works well (but the cost is another dev dependency....)
@@ -152,21 +152,26 @@ const output = scenarios.map(scenario => { | |||
const paddedBucketPolicyApplies = scenario.bucketPolicyApplies.padEnd(longest.bucketPolicyApplies); | |||
const paddedBucketPolicyEffect = scenario.bucketPolicyEffect.padEnd(longest.bucketPolicyEffect); | |||
|
|||
// eslint-disable-next-line max-len |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we reformat instead:
// eslint-disable-next-line max-len | |
return ( | |
` `, paddedAction, paddedBucketPolicyExists. paddedBucketPolicyApplies, | |
paddedBucketPolicyEffect, paddedIamPolicyExists, paddedIamPolicyApplies, paddedIamPolicyEffect, | |
).join(' | ) |
@@ -26,6 +26,7 @@ | |||
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ | |||
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ | |||
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ | |||
"skipLibCheck": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really want to save compilation time at the expense of type-system accuracy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is because of issues with some libs we do not control, e.g.:
node_modules/cli-testing/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts:1:10 - error TS2724: '"@aws-sdk/core"' has no exported member named 'AwsSdkSigV4AAuthInputConfig'. Did you mean 'AwsSdkSigV4AuthInputConfig'?
And one vaultclient issue (ticket is VLTCLT-52):
node_modules/vaultclient/lib/IAMClient.d.ts:266:100 - error TS1016: A required parameter cannot follow an optional parameter.
266 verifySignatureV4(stringToSign: string, signature: string, accessKey: string, region?: string, scopeDate: string, options: {
I will try to remove this line when the sdk is more up to date.
- Remove unused dependencies - Use scality eslint rules - Use recommended typescript eslint rules Issue: ZENKO-4882
Issue: ZENKO-4882
- Ignore files through the gitignore file - Avoid ignoring eslint rule when we can improve the code Issue: ZENKO-4882
a22a859
to
b32b58c
Compare
/create_integration_branches |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
The following options are set: create_integration_branches |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
The following options are set: create_integration_branches |
/approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue ZENKO-4882. Goodbye williamlardier. The following options are set: approve, create_integration_branches |
Bump CTST dependencies
Also, adapt the code to follow the scality rules, as well as the typescript recommended rules.