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
What happened:
When a stage job has stage itself in the requires, the workflow graph is generated and persisted that contains an invalid node.
When user visits the pipeline landing page, endpoints to get pipeline (/v4/pipelines/14178) and recent events (v4/pipelines/14178/events?count=5&page=1) returns http error 500. UI redirects the user to 404 page.
P.S.
Even after the screwdriver.yaml has been fixed, the endpoint to fetch events continue to return error 500 as long as the event with invalid node is part of the response.
What you expected to happen:
Config parser should validate the config and capture the error. API should never persist the workflow graph with invalid node in pipelines or events table in DB.
What happened:
When a stage job has stage itself in the
requires
, the workflow graph is generated and persisted that contains an invalid node.When user visits the pipeline landing page, endpoints to get
pipeline
(/v4/pipelines/14178
) and recentevents
(v4/pipelines/14178/events?count=5&page=1
) returns http error 500. UI redirects the user to 404 page.P.S.
Even after the
screwdriver.yaml
has been fixed, the endpoint to fetchevents
continue to return error500
as long as the event with invalid node is part of the response.Sample pipeline --> https://cd.screwdriver.cd/pipelines/14178 has below invalid node in the worflowgraph
What you expected to happen:
Config parser should validate the config and capture the error. API should never persist the workflow graph with invalid node in
pipelines
orevents
table in DB.How to reproduce it:
Sample pipeline --> https://cd.screwdriver.cd/pipelines/14178
screwdriver.yaml
The text was updated successfully, but these errors were encountered: