Closed KyleTryon closed 1 year ago
Still not working when I tested it with your changes: https://gist.github.com/Xavientois/7ea9388408896f2be515c0140ab22a1a
Patch coverage: 90.00
% and project coverage change: -0.13
:warning:
Comparison is base (
898897c
) 96.16% compared to head (8612849
) 96.04%.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Thank you @Xavientois I believe I understand the issue now, I am going to move to merge this PR for separate reasons but then open a new PR to address your issue more directly. I believe that some somewhat large changes might be needed to how we handle orbs currently. I think it could be improved with some breaking changes. I think one of the major issues we are seeing now is the way the orb manifest gets parsed at runtime, which leaves you with no type information (even though it is static). Sorry for the confusion here, the problem is a bit deeper than I initially realized.
I will make sure your comments here are put back into the original issue for tracking. I will then experiment a little with how maybe we could better work with orbs.
WorkflowJobs no longer have specific properties for
preSteps
orpostSteps
, instead these are now expected to be passed as additional parameters within the parameters object.The new syntax for using pre/postSteps:
This will produce the following output:
Additionally, this PR resolves an issue I came across in testing that does not appear reported. Previously the
when
key for workflows appeared to be required and would output an undefined value. This key will no longer be added if undefined.