argo-workflows icon indicating copy to clipboard operation
argo-workflows copied to clipboard

Argo workflow UI doesn't display the name of node name after adding the annotation

Open afzal442 opened this issue 9 months ago • 3 comments

Pre-requisites

  • [x] I have double-checked my configuration
  • [x] 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.
  • [x] I have searched existing issues and could not find a match for this bug
  • [x] I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?

While adding the annotation to the template, in the UI I am not able to find the node name being displayed except the existing one. This should display the node name.

Version(s)

v3.5.6

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

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  name: my-wf
  annotations: 
     workflows.argoproj.io/display-name: "my-wf"

Logs from the workflow controller

time="2025-04-14T18:56:49.486Z" level=info msg="Processing workflow" Phase= ResourceVersion=124370 namespace=argo workflow=nginx-step-kpr7p
time="2025-04-14T18:56:49.491Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=nginx-step-kpr7p
time="2025-04-14T18:56:49.492Z" level=info msg="Updated phase  -> Running" namespace=argo workflow=nginx-step-kpr7p
time="2025-04-14T18:56:49.492Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=argo workflow=nginx-step-kpr7p
time="2025-04-14T18:56:49.492Z" level=info msg="was unable to obtain node for , letting display name to be nodeName" namespace=argo workflow=nginx-step-kpr7p
time="2025-04-14T18:56:49.492Z" level=info msg="Steps node nginx-step-kpr7p initialized Running" namespace=argo workflow=nginx-step-kpr7p
.
.
.

Logs from in your workflow's wait container

N/A

afzal442 avatar Apr 13 '25 18:04 afzal442

Hi, this feature is not yet released, you might be looking at the latest docs, which include documentation for features not yet released.

MenD32 avatar May 01 '25 21:05 MenD32

I see. Thanks. Can you point me to a proposal if there is any?

afzal442 avatar May 05 '25 08:05 afzal442

this is the PR that added that feature - https://github.com/argoproj/argo-workflows/pull/14077

you use the linux-latest image tag, but that might not be the most stable.

I don't think there is an active branch for argo v3.7 yet

MenD32 avatar May 05 '25 09:05 MenD32

Hello. Was this feature added to v3.7 (released yesterday)? I checked the stable docs and do not see the Annotations page there...

benjaminkaplanphd avatar Jul 24 '25 14:07 benjaminkaplanphd

Hello. Was this feature added to v3.7 (released yesterday)? I checked the stable docs and do not see the Annotations page there...

Checking in on this again. We are eagerly awaiting this feature and would like to know if was included in 3.7 as was planned. Thank you!!

benjaminkaplanphd avatar Aug 05 '25 18:08 benjaminkaplanphd

The feature is in 1.7.x but there are a couple of problems with your Workflow

The first is that the annotation is a workflow node level value not a workflow level value. You need to move it to the step/task level or at the template level.

The second is that you have annotations under metadata (what I would have considered the expected location at least) rather than where it is needed at the same level

martynd avatar Oct 08 '25 02:10 martynd