You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
circleci config validate says the config.yml is valid, and it's not.
The problem gets detected only when one tries to actually run the test2 workflow (which, can happen periodically in the background by scheduled triggers). Changing the default for run-job to be test2 and rerunning circleci config validate .circleci/test.yml correctly identifies the problem and fails with - Job 'a' requires 'does_not_exist', which is the name of 0 other jobs in workflow 'j'.
If one has many "non default" workflow parameters defined, they break with such missing dependencies and the periodically triggered workflows fail, often going unnoticed until someone happens to look at CCI UI and see that it failed there. Failure notifications, e.g. on Slack, also do not get sent because the pipeline fails to even start, so there are cases of such issues going unnoticed for days, with multiple tests just not running without realizing it.
Expected behavior:
circleci config validate correctly marks a config.yml file as invalid, if the default parameter differs from an from an expected workflow parameter that would otherwise fail.
When did this begin / Was this previously working?:
Unknown if this was previously working.
The text was updated successfully, but these errors were encountered:
Meta:
CircleCI CLI Version:
0.1.30888+v0.1.30888 (from nix)
Linux and0.1.30995 (homebrew)
MacOperating System:
macOS and Linux
Current behavior:
circleci config validate
says the config.yml is valid, and it's not.The problem gets detected only when one tries to actually run the test2 workflow (which, can happen periodically in the background by scheduled triggers). Changing the default for run-job to be
test2
and rerunningcircleci config validate .circleci/test.yml
correctly identifies the problem and fails with- Job 'a' requires 'does_not_exist', which is the name of 0 other jobs in workflow 'j'
.If one has many "non default" workflow parameters defined, they break with such missing dependencies and the periodically triggered workflows fail, often going unnoticed until someone happens to look at CCI UI and see that it failed there. Failure notifications, e.g. on Slack, also do not get sent because the pipeline fails to even start, so there are cases of such issues going unnoticed for days, with multiple tests just not running without realizing it.
Expected behavior:
circleci config validate
correctly marks a config.yml file as invalid, if the default parameter differs from an from an expected workflow parameter that would otherwise fail.When did this begin / Was this previously working?:
Unknown if this was previously working.
The text was updated successfully, but these errors were encountered: