Skip to content

The Regular Stage with no verifications generates error logs during promotion #4265

Closed
@boh-dan

Description

@boh-dan

Checklist

  • I've searched the issue queue to verify this is not a duplicate bug report.
  • I've included steps to reproduce the bug.
  • I've pasted the output of kargo version.
  • I've pasted logs, if applicable.

Description

The Regular Stage with no verifications generates error logs during promotion(re-promoting freight).

Steps to Reproduce

  1. Create a Regular Stage without verification steps
  2. Promote/Re-promote a freight to the Stage
  3. Check Kargo Controller logs

Expected behaviour:
no errors

Actual behavior
level=error msg="error triggering re-verification" error="current stage verification info has no ID"

Version

1.5.0

Logs

time="2025-05-28T03:11:15Z" level=error msg="error triggering re-verification" error="current stage verification info has no ID" freight=aef86d6487fd7ab69d41752dd4cb873df3489aac namespace=addon-xxx promotion=stage-name-01jwady6w464rnkz0ppdyp7wq5.aef86d6 stage=stage-name targetFreight=aef86d6487fd7ab69d41752dd4cb873df3489aac

#Investigation

I've checked the verificationHistory of the latest promoted Freight in the Stage status:

"verificationHistory": [
   {
      "finishTime": "2025-05-21T10:28:48Z",
      "phase": "Successful",
      "startTime": "2025-05-21T10:28:48Z"
    }
]

It is created here and doesn't contain ID field.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions