-
Notifications
You must be signed in to change notification settings - Fork 8
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
fail-fast input setting #87
base: main
Are you sure you want to change the base?
Conversation
You want to enforce this in fastify org? Or do you use our workflows for your repos, too? |
I'm trying to fix CI on fastify-cli and an its really hard to tell which issue is a test problem and which is an environment problem since they keep failing in different orders. If they all ran to completion, it would be easier to determine this. Perhaps this could be at a minimum, an input to the workflow so I could turn it on while debugging if fail-fast is actually the desired default. |
Yes an input variable would be desired. |
Ok added a fail-fast input consistently across workflows that accept inputs. |
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.
LGTM
@Fdawgs wdyt?
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.
lgtm
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.
Thanks for the PR!
Could you please fix the misspelling of 'strategy' in the descriptions added, and add the setting to the inputs table in the readme (alphabetically sorted)?
Done. |
Is the workflow validation a false positive? |
Looks like its a boolean/string type coersion issue? Any advice? I tried following a similar pattern I saw elsewhere but I think if statements are special cases in actions. |
05f967d
to
126c78a
Compare
I dont understand, is it because the input is getting passed in as an expression that the validator is treating it not as a boolean? Is there a way to tell the validator that it's definitely a boolean? |
Sorry I had to drop off this yak shave the other week. Since it looks like there is a strange incompatibility between input type coercion and the validator tool here (happy to try and track that down and bring upstream if you want, please let me know if you do!), and I was able to isolate out the issues in the issues that prompted this PR, I have the following proposal: Can anyone name a scenario where If folks agree, can we change it to that now, while we work through the upstream validator bugs? |
I agree that in most cases |
I'll rebase the next time I'm at the keys. |
I wonder why we dont have here the option to simply merge the default branch into this PR, as we can do it in fastify core repo. |
When trying to debug CI errors in the matrix, its really frustrating to have to uncover them randomly one at a time. Can we change this so that all environments run to completion so its easier to find where problems live?
Rebased. |
When trying to debug CI errors in the matrix, its really frustrating to have to uncover them randomly one at a time. Can we change this so that all environments run to completion so its easier to find where problems live?
Checklist
npm run test
andnpm run benchmark
and the Code of conduct