Files
Pulse/.github/workflows/root-pair-diagnostic.yml
rcourtman 02e53bc777 build: move to Go 1.26.10 and Vite 6.4.5 for October advisories
Go 1.26.10 (20 October) distrusts the compromised eMudhra intermediate
CAs in crypto/x509 (CVE-2026-111943). Binaries built with 1.26.9 still
accept chains through them, so every verified outbound TLS connection
Pulse makes (licence, updates, webhooks, AI providers) stays open to
interception by a holder of those keys. govulncheck does not flag a
trust-store change as a called symbol, so the scheduled scan stayed
green while the gap existed.

Advance the governed toolchain floor and every pin together: go.mod,
the toolchain installer and release-script guards, the source-built
container stages (manifest-list digests for golang:1.26.10-alpine and
the Debian dev container image), the root-pair diagnostic, and their
tests.

Vite 6.4.3 bundles a launch-editor with three advisories
(GHSA-587h-7wmj-h5pm, GHSA-r825-w8mm-5pxw, GHSA-698v-4r3x-3vcv) that
failed the daily advisory watch. 6.4.4 bundles the fixed launch-editor
and 6.4.5 adds the dev-server server.fs query check. Both reach only
the local dev server, not the built product. The lockfile changes only
the vite entry, and dependencySecurity.test.ts now pins the floor.
2026-10-21 15:19:02 +01:00

50 lines
1.6 KiB
YAML

name: Root pair diagnostic (not qualification)
on:
workflow_dispatch:
inputs:
expected_workflow_sha:
description: Full reviewed main SHA containing this diagnostic
required: true
type: string
permissions:
contents: read
concurrency:
group: root-pair-diagnostic
cancel-in-progress: false
jobs:
diagnostic:
if: github.repository == 'rcourtman/Pulse' && github.ref == 'refs/heads/main'
runs-on: ubuntu-24.04
timeout-minutes: 45
steps:
- name: Bind execution to reviewed workflow source
env:
EXPECTED_SHA: ${{ inputs.expected_workflow_sha }}
run: |
set -euo pipefail
[[ "$EXPECTED_SHA" =~ ^[0-9a-f]{40}$ ]]
[[ "$GITHUB_SHA" == "$EXPECTED_SHA" ]]
[[ "$GITHUB_RUN_ATTEMPT" == 1 ]]
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: '1.26.10'
cache: false
- name: Collect fixed exact-pair root evidence
run: python3 scripts/diagnose-root-pair.py --output root-pair-evidence
- name: Retain partial or complete diagnostic evidence only
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: root-pair-diagnostic-${{ github.run_id }}-${{ github.run_attempt }}
path: root-pair-evidence/
if-no-files-found: warn
retention-days: 30