Make meta-data URL accessible from UI

Hello!
It would be nice to have access to metadata directly from the UI by clicking on the button.
Some of our pipelines are heavily dependent on metadata.

At the moment, to get access to such information, we need to open a new tab and use a URL like https://buildkite.com/<pipeline_name>/builds/<build_number>/meta-data

It would perfectly land next to the existing Summary, Steps, and Annotations without the need to open another tab.

Hi @0m1xa
Welcome to the Buildkite community!
I believe we have seen similar requests on this and I will raise this to follow up.
In the meantime, I believe the workaround you can try here is to create a step that fetches all metadata keys and displays them as a build annotation using buildkite-agent annotate, which would then let the Metadata show up in the Annotations tabs without needing a separate browser tab
Something like

---
steps:
  - label: ":label: Set Metadata"
    command: |
      buildkite-agent meta-data set "env" "production"
      buildkite-agent meta-data set "version" "1.2.3"

  - label: ":label: Display Metadata"
    command: |
      {
        echo "## Metadata"
        echo ""
        for key in $$(buildkite-agent meta-data keys); do
          VALUE=$$(buildkite-agent meta-data get "$$key")
          echo "**$$key:** \`$$VALUE\`"
        done
      } | buildkite-agent annotate --style info --context metadata

  - label: ":label: Simple test Annotation"
    command: |
      buildkite-agent annotate "Hello! This is your regular annotation." --style success --context greeting

I also added another annotation(Simple test Annotation) just under the Metadata annotation to show how it can be differentiated as the “Context” for the annotation would be what helps differentiate them. You can also add the metadata step to pipeline templates to re-use with other builds.