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

chore(workflow): fix script command to bundlesize #657

Merged
merged 2 commits into from
Feb 27, 2020

Conversation

vigneshshanmugam
Copy link
Member

  • I understood the build script param wrongly, It needs the command needs to be ran and not what should be run.

https://github.com/preactjs/compressed-size-action/blob/master/action.js#L61

Copy link
Contributor

@hmdhk hmdhk left a comment

Choose a reason for hiding this comment

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

@vigneshshanmugam , Can we instead of show the bundle size in the comments on the PR and avoid running the bundle size check? We already have it in Travis and Jenkins.

@vigneshshanmugam
Copy link
Member Author

Yeah thats the idea, the github actions work flow Compressed Size does exactly that. We can disable bundle size on travis and jenkins since its not useful for PR's from forked repos anyways.

@kuisathaverat
Copy link
Contributor

please, if you want additional checks, you can request them and we will add those checks to the Jenkins CI, avoid creating new CI silos that also send notification, comments, and we are not aware of them.

@vigneshshanmugam
Copy link
Member Author

@kuisathaverat This is only used for posting the sizes of all bundles in comments, Didn't want to make a new feature request to the robots team since its a small change. But incase this would be interesting for the team and can make this happen, we are happy to remove this in favor of our own solution.

@kuisathaverat
Copy link
Contributor

@kuisathaverat This is only used for posting the sizes of all bundles in comments, Didn't want to make a new feature request to the robots team since its a small change. But incase this would be interesting for the team and can make this happen, we are happy to remove this in favor of our own solution.

We'd preferred to manage it on Jenkins, to avoid having to maintain things in two places, in that way when it fails for some reason we know where we have to fix it.

1 similar comment
@kuisathaverat
Copy link
Contributor

@kuisathaverat This is only used for posting the sizes of all bundles in comments, Didn't want to make a new feature request to the robots team since its a small change. But incase this would be interesting for the team and can make this happen, we are happy to remove this in favor of our own solution.

We'd preferred to manage it on Jenkins, to avoid having to maintain things in two places, in that way when it fails for some reason we know where we have to fix it.

@kuisathaverat
Copy link
Contributor

@kuisathaverat This is only used for posting the sizes of all bundles in comments, Didn't want to make a new feature request to the robots team since its a small change. But incase this would be interesting for the team and can make this happen, we are happy to remove this in favor of our own solution.

We'd preferred to manage it on Jenkins, to avoid having to maintain things in two places, in that way when it fails for some reason we know where we have to fix it.

1 similar comment
@kuisathaverat
Copy link
Contributor

@kuisathaverat This is only used for posting the sizes of all bundles in comments, Didn't want to make a new feature request to the robots team since its a small change. But incase this would be interesting for the team and can make this happen, we are happy to remove this in favor of our own solution.

We'd preferred to manage it on Jenkins, to avoid having to maintain things in two places, in that way when it fails for some reason we know where we have to fix it.

@vigneshshanmugam
Copy link
Member Author

The code was available as a Github Workflow so I went straight ahead and used it if its going to be of help to us. Please do let us know what we can do in the future for experimentation of useful packages?

@kuisathaverat
Copy link
Contributor

Please do let us know what we can do in the future for experimentation of useful packages?

You can use your fork for those experiments.

@vigneshshanmugam
Copy link
Member Author

jenkins run the tests please

@vigneshshanmugam
Copy link
Member Author

You can use your fork for those experiments.

Sure, but wont be useful for us. I still feel like we don't need everything to be in Jenkins. These small snippets would be helpful for the dev workflow. It's just gonna slow us down if we have to ask for a feature and then work on our own solution.

-> Experiment
-> If it provides value, then figure out an alternative if we want to manage everything via Jenkins
-> Work on a solution in Jenkins

Please do let me know your thoughts.

@vigneshshanmugam vigneshshanmugam merged commit 12d66b9 into elastic:master Feb 27, 2020
@vigneshshanmugam vigneshshanmugam deleted the fix-workflow branch February 27, 2020 17:17
@kuisathaverat
Copy link
Contributor

BTW we have right now a Github check that makes exactly the same if you want a comment with the result of the test we have also this implemented for other stuff, so it is also implemented.

@vigneshshanmugam
Copy link
Member Author

@kuisathaverat Thanks Ivan, can you link me to the docs or how to do it? Happy to replace with our own solution.

@kuisathaverat
Copy link
Contributor

I've opened an issue to implement it #667

v1v pushed a commit to v1v/apm-agent-rum-js that referenced this pull request Apr 6, 2020
* chore(workflow): fix script command to bundlesize

* use build and enable stream

fix build
David-Development pushed a commit to David-Development/apm-agent-rum-js that referenced this pull request Oct 20, 2021
* chore(workflow): fix script command to bundlesize

* use build and enable stream

fix build
devcorpio pushed a commit to bmorelli25/apm-agent-rum-js that referenced this pull request Jan 25, 2022
* chore(workflow): fix script command to bundlesize

* use build and enable stream

fix build
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