Skip to content

Remote trigger should not pass metadata implicitly to downstream pipelines #3399

Description

@y-oksaku

What happened:

When using the Remote trigger / Remote join feature in Screwdriver, metadata defined in the upstream pipeline is automatically inherited by the downstream pipeline.
This inherited metadata behaves as if it were defined directly in the downstream pipeline, which can cause confusion.
Especially, downstream event cards display the inherited parameters same as own.

This behavior is inconsistent with the meta-cli functionality, which provides an --external option for explicitly referencing metadata from another pipeline.
Since the current inheritance is implicit, the expected behavior is unclear and may lead to unintended dependencies.

What you expected to happen:

Upstream pipeline metadata should not be implicitly inherited by the downstream pipeline.
Instead, downstream pipelines should explicitly retrieve upstream metadata by using the meta-cli --external option.
If necessary, users can explicitly set inherited values by using meta get --external followed by meta set, making metadata dependencies intentional and predictable.

How to reproduce it:

  1. Configure an upstream pipeline with metadata values (e.g., build parameters).
  2. Trigger a downstream pipeline using Remote trigger / Remote join.
  3. Observe that the downstream pipeline’s metadata includes values from the upstream pipeline.
    • In the UI, event cards display upstream metadata as if it were configured by the downstream pipeline itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions