Skip to content

chore(deps): bump componentsjs from 5.1.0 to 5.20 - #1333

Merged
jvherweg merged 2 commits into
versions/5.0.0from
chores/componentsjs-5.2.0-update
Jun 1, 2022
Merged

jvherweg merged 2 commits into
versions/5.0.0from
chores/componentsjs-5.2.0-update

Conversation

@wkerckho

Copy link
Copy Markdown
Contributor

📁 Related issues

#1182

✍️ Description

Fixes default CLI values being converted to strings, by updating the Components.js dependency to version 5.2.0 (which includes PR 95).

✅ PR check list

Before this pull request can be merged, a core maintainer will check whether

  • this PR is labeled with the correct semver label
    • semver.patch: Backwards compatible bug fixes.
    • semver.minor: Backwards compatible feature additions.
    • semver.major: Breaking changes. This includes changing interfaces or configuration behaviour.
  • the correct branch is targeted. Patch updates can target main, other changes should target the latest versions/* branch.
  • the RELEASE_NOTES.md document in case of relevant feature or config changes.
  • any relevant documentation was updated to reflect the changes in this PR.

@wkerckho
wkerckho requested a review from jvherweg May 24, 2022 12:44
@wkerckho

Copy link
Copy Markdown
Contributor Author

@Falx some checks fail because of integration test errors related to the RedisLocker. I remember you said you had some issues with the CLI variables as well (related to what I'm fixing with this Components.js update), maybe you can have a look when there is some time? Thanks!

@Falx

Falx commented May 24, 2022

Copy link
Copy Markdown
Contributor

It looks like an artificial multithreading test (with promises being mocked and released, that was not correctly configured, will look into it)

@Falx
Falx force-pushed the chores/componentsjs-5.2.0-update branch from ebb76b9 to 425fcc2 Compare May 25, 2022 07:45
Comment thread test/integration/RedisLocker.test.ts Outdated
Comment on lines +204 to +208
setTimeout((): void => {
emitter.emit('release1');
emitter.emit('release0');
emitter.emit('release2');
}, 200);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since this is an integration test that has no timer mocking, this will always cause this part to take 200ms and makes our test dependent on the timer.

I'm thinking that perhaps instead we could have a solution where withReadLock triggers something when entered so we can force the order like that such as firing an event that is being listened to or calling a function.

@Falx Falx May 31, 2022 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ok, just force pushed an updated test without timer dependencies.

Edit: also fixed the test below that for simultaneous write locks.

@Falx
Falx force-pushed the chores/componentsjs-5.2.0-update branch 3 times, most recently from 15ce1ec to 5032e7c Compare May 31, 2022 14:15

@jvherweg jvherweg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, thanks!

@jvherweg
jvherweg merged commit dee08eb into versions/5.0.0 Jun 1, 2022
@jvherweg
jvherweg deleted the chores/componentsjs-5.2.0-update branch June 1, 2022 07:13
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