Uh oh!
There was an error while loading. Please reload this page.
fail-fast input setting - #87
Conversation
Uzlopak
commented
Jul 6, 2023
You want to enforce this in fastify org? Or do you use our workflows for your repos, too? |
bcomnes
commented
Jul 6, 2023
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. |
Uzlopak
commented
Jul 6, 2023
Yes an input variable would be desired. |
bcomnes
commented
Jul 6, 2023
Ok added a fail-fast input consistently across workflows that accept inputs. |
Uh oh!
There was an error while loading. Please reload this page.
bcomnes
commented
Jul 6, 2023
Done. |
Uzlopak
commented
Jul 6, 2023
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
126c78aComparebcomnes
commented
Jul 6, 2023
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? |
Fdawgs
commented
Jul 15, 2023
voxpelli
commented
Jul 15, 2023
I agree that in most cases |
bcomnes
commented
Jul 15, 2023
I'll rebase the next time I'm at the keys. |
Uzlopak
commented
Jul 15, 2023
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?
bcomnes
commented
Jul 16, 2023
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 testandnpm run benchmarkand the Code of conduct