From 84565bc13beefeb17e3bc6e44efd9fae45ad9864 Mon Sep 17 00:00:00 2001 From: joshsiv-mulga Date: Tue, 8 Sep 2026 07:46:00 +1000 Subject: [PATCH] fix: set ci.run_id on bare-metal dispatch runs A dispatch has no otel-attrs input, so the cell's telemetry reached the sink with no run id and could only be found by guessing a time window. --- .github/workflows/e2e-baremetal.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-baremetal.yml b/.github/workflows/e2e-baremetal.yml index d3653ae26..3d35fb77b 100644 --- a/.github/workflows/e2e-baremetal.yml +++ b/.github/workflows/e2e-baremetal.yml @@ -72,9 +72,10 @@ jobs: BM_ISO_CACHE: /var/cache/spinifex-iso-builder BM_CELL: ${{ inputs.cell || '20' }} ARTIFACT_DIR: /tmp/spinifex-e2e-nightly-cell-${{ inputs.cell || '20' }}-${{ github.run_id }} - # Caller-supplied (workflow_call input); empty for a manual - # workflow_dispatch run, which bm-bootstrap.sh treats as "no attrs". - SPINIFEX_OTEL_ATTRS: ${{ inputs.otel-attrs }} + # Caller-supplied on workflow_call. A dispatch run has no such input, and + # leaving it empty cost this cell its ci.run_id: its telemetry reached the + # sink but could not be found by run, only by guessing a time window. + SPINIFEX_OTEL_ATTRS: ${{ inputs.otel-attrs || format('ci.run_id={0},ci.workflow={1},ci.cell={2},ci.matrix=baremetal/pxe/real-hw', github.run_id, github.workflow, inputs.cell || '20') }} steps: - name: Clean Workspace run: |