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

Remove undocumented Random service #7329

Merged
merged 7 commits into from
Oct 31, 2023
Merged

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Oct 30, 2023

Summary

closes #4832

While we're no longer working towards removing lodash from EUI as a priority, this is still a nice cleanup item to have because it's one (to three) less piece(s) of code that the EUI team has to maintain and be responsible for for both ourselves and external consumers.

As always, I recommend following along by commit - most Random usages were replaced instead with faker (per the issue recommendation), but a few tests had their random behavior removed instead

QA

General checklist

  • Browser QA - N/A
  • Docs site QA - N/A
  • Code quality checklist
  • Release checklist - Skipping a changelog and opting to not mark this as a breaking change due to this being an undocumented service unused by any Elastic consumers
    - [ ] A changelog entry exists and is marked appropriately.
    - [ ] If applicable, added the breaking change issue label (and filled out the breaking change checklist)
  • Designer checklist - N/A

@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

@cee-chen cee-chen marked this pull request as ready for review October 30, 2023 22:26
@cee-chen cee-chen requested a review from a team as a code owner October 30, 2023 22:26
@cee-chen cee-chen requested a review from JasonStoltz October 31, 2023 00:54
Copy link
Member

@JasonStoltz JasonStoltz left a comment

Choose a reason for hiding this comment

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

I dig it and it all LGTM.

@cee-chen cee-chen merged commit 1792727 into elastic:main Oct 31, 2023
@cee-chen cee-chen deleted the remove-random branch October 31, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Random] Replace with faker.js and remove
4 participants