Skip to content

UI errors when filtering workflows with MariaDB #15413

@matpen

Description

@matpen

Pre-requisites

  • I have double-checked my configuration
  • I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
  • I have searched existing issues and could not find a match for this bug
  • I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?

I have just upgraded to v3.7.8 (from v3.6.4) and immediately started experiencing the following error in the UI:

Image

Things I noticed, and could help pinpoint the problem:

  1. As you can see in the screenshot, the UI code seems to crash and workflows are not loaded.
  2. This seems to happen when a filter is applied in the left sidebar: right now I have entered a namespace and selected Phases as Error (it happens with other combinations, too). When the filter is cleared, and the page reloaded, everything works again.
  3. The error message in the screenshot shows a MariaDB error, seemingly complaining about the --> operator in combination with a JSON query on labels and annotations.
  4. This does not seem to affect running workflows, nor queries made via CLI: only UI.

Given the above, I would guess that this is a regression of #13202. However, I have no experience with the Argo codebase to trace the problem, so I might be wrong.

Version(s)

v3.7.8 (Helm chart 0.47.1)

Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.

n/a

Logs from the workflow controller

n/a

Logs from in your workflow's wait container

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/regressionRegression from previous behavior (a specific type of bug)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions