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

[Automatic Import] Bug: broken yarn draw-graphs #196425

Closed
ilyannn opened this issue Oct 15, 2024 · 1 comment · Fixed by #198229
Closed

[Automatic Import] Bug: broken yarn draw-graphs #196425

ilyannn opened this issue Oct 15, 2024 · 1 comment · Fixed by #198229
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:AutomaticImport Team:Security-Scalability Team label for Security Integrations Scalability Team

Comments

@ilyannn
Copy link
Contributor

ilyannn commented Oct 15, 2024

yarn draw-graphs mysteriously stopped working (Slack discussion). We should look into that.

@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 15, 2024
@ilyannn ilyannn added bug Fixes for quality problems that affect the customer experience Team:Security-Scalability Team label for Security Integrations Scalability Team Feature:AutomaticImport and removed needs-team Issues missing a team label labels Oct 15, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-scalability (Team:Security-Scalability)

@ilyannn ilyannn changed the title [Automatic Import] Fix yarn draw-graphs [Automatic Import] Broken yarn draw-graphs Oct 29, 2024
@ilyannn ilyannn self-assigned this Oct 29, 2024
@ilyannn ilyannn changed the title [Automatic Import] Broken yarn draw-graphs [Automatic Import] Bug: broken yarn draw-graphs Oct 30, 2024
@ilyannn ilyannn closed this as completed in 0ecef0a Nov 1, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 1, 2024
## Summary

Fixes elastic#196425.

It turns out the reason `yarn draw-graphs` produced the three-box graphs
was because `.withConfig` creates an instance of RunnableInput which does
not have a good way to draw itself other than as three boxes.

The solution was to makes sure we are calling the original version
without `.withConfig` when drawing the graphs. We still call the new
version when invoking them, as demonstrated by the run names here.

We are now able to generate the correct graphs for all chains.

---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 0ecef0a)
nreese pushed a commit to nreese/kibana that referenced this issue Nov 1, 2024
## Summary

Fixes elastic#196425.

It turns out the reason `yarn draw-graphs` produced the three-box graphs
was because `.withConfig` creates an instance of RunnableInput which does 
not have a good way to draw itself other than as three boxes.

The solution was to makes sure we are calling the original version
without `.withConfig` when drawing the graphs. We still call the new
version when invoking them, as demonstrated by the run names here.

We are now able to generate the correct graphs for all chains.

---------

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:AutomaticImport Team:Security-Scalability Team label for Security Integrations Scalability Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants