Improve workflow existence check to prevent misleading 404 logs #457
Labels
app: dashboard
Concerns the Dashboard UI
priority: low
Indicates a low priority issue
type: enhancement
New feature or request
weight: 1
An issue that has a very low development impact
Milestone
What would you like to be added:
Explore alternative ways to check workflow existence that do not rely on a 404 response.
Why is this needed:
In the component used for creating or updating a "workflow," a server query is made upon user submission to determine if the workflow already exists. This determines whether to proceed with an update or a creation.
However, when the workflow does not exist (i.e., a creation scenario), the server responds with a 404, which generates a misleading log entry. While the functionality works as intended, the 404 response could be avoided to reduce noise in the logs and improve clarity.
The text was updated successfully, but these errors were encountered: