Skip to content

GitLab dispatch missing RETRO_COMMENT env var #6430

Description

@ggallen

Problem

The GitLab dispatch pipeline does not pass RETRO_COMMENT as an environment variable. The retro harness (retro.yaml) references it in env.sandbox via "${RETRO_COMMENT}", and the fullsend CLI's env validation treats any ${VAR} reference as required — causing the run to fail immediately.

Error: validating env: env.sandbox[RETRO_COMMENT]: host variable RETRO_COMMENT is not set (referenced in "${RETRO_COMMENT}")

RETRO_COMMENT is optional — it's only set when a human types /fs-retro <comment>. Most retro runs are dispatched programmatically without it.

Evidence

Failed pipeline: https://gitlab.cee.redhat.com/gallen/integration-service/-/pipelines/17173747 (job 59195029)

Related

Fix options

  1. Update the GitLab dispatch to pass RETRO_COMMENT="" as a default
  2. Support optional env var references in the harness engine (e.g., treat vars with no value as empty string instead of erroring)

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/retroRetro agentbugready-to-codeTriaged and ready for the code agenttype/bugConfirmed defect in existing behavior

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions