The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
ci(install-e2e): native per-combo skips via a reusable skip workflow
ethernet5a31a14f953a
diff --git a/.github/workflows/install-e2e-skip.yml b/.github/workflows/install-e2e-skip.ymlnew file mode 100644index 00000000000..7b355b8816b--- /dev/null+++ b/.github/workflows/install-e2e-skip.yml@@ -0,0 +1,33 @@+name: Install & Update E2E — unsupported combo (reusable)++# A declared-but-unimplemented {os, install-method, update-method}+# combination from scripts/sandbox/generate-e2e-matrix.mjs. The caller fans+# out one of these per unsupported combo so every coverage gap is its own+# named, NATIVELY SKIPPED check (grey, conclusion=skipped, no runner) in the+# Checks tab.+#+# `implemented` stays at its false default until the combo has a real+# driver; flipping a combo to implemented happens in the generator (move it+# into IMPLEMENTED and point it at a real reusable workflow), never by+# setting this input.++on:+ workflow_call:+ inputs:+ implemented:+ description: 'Never set this. Combos become implemented by moving into IMPLEMENTED in generate-e2e-matrix.mjs, not by flipping the flag.'+ required: false+ type: boolean+ default: false++permissions:+ contents: read++jobs:+ todo:+ name: not implemented yet+ if: inputs.implemented+ runs-on: ubuntu-latest+ timeout-minutes: 1+ steps:+ - run: 'true'diff --git a/.github/workflows/install-e2e.yml b/.github/workflows/install-e2e.ymlindex 29d169a0057..7b0e1314677 100644--- a/.github/workflows/install-e2e.yml+++ b/.github/workflows/install-e2e.yml@@ -14,8 +14,9 @@ name: Install & Update E2E# .yml): the website's Hermes-Setup.exe clicked by AutoHotkey, then the# update driven through the app itself, Playwright clicking "Update now";# * combinations the spec declares but CI can't drive yet (macOS, the-# remaining windows install/update methods) surface as skipped jobs so-# the coverage gap is enumerable instead of buried in comments.+# remaining windows install/update methods) fan out too, one NATIVELY+# SKIPPED check per combo, so every coverage gap is enumerable from the+# Checks tab.## The linux starting versions are chosen at runtime from the repo's release# tags (scripts/sandbox/pick-release-tags.sh): newest, oldest, and a spread@@ -154,19 +155,17 @@ jobs:route: ${{ matrix.route }}install-ref: ${{ matrix.install_ref }}- # Declared-but-unimplemented combinations. Each shows up as its own skipped- # check so coverage gaps are enumerable from the Checks tab; implementing- # one moves it from here into IMPLEMENTED in the generator.+ # Declared-but-unimplemented combinations: one job per combo, each a+ # NATIVE skip (grey, conclusion=skipped, no runner). Matrix context is not+ # available in job-level `if`, so the native skip lives in the called+ # workflow instead: its inner job is gated on an input that defaults to+ # false and is never passed. Implementing a combo moves it into+ # IMPLEMENTED in the generator.skipped:- name: "skipped: ${{ matrix.os }}: ${{ matrix.install }} -> ${{ matrix.update }}"+ name: "todo: ${{ matrix.os }}: ${{ matrix.install }} -> ${{ matrix.update }}"if: fromJSON(needs.generate-matrix.outputs.skipped).include[0] != nullneeds: generate-matrixstrategy:fail-fast: falsematrix: ${{ fromJSON(needs.generate-matrix.outputs.skipped) }}- runs-on: ubuntu-latest- timeout-minutes: 2- steps:- - run: >-- echo "SKIPPED (${{ matrix.reason }}) -- ${{ matrix.os }} install via- '${{ matrix.install }}', update via '${{ matrix.update }}'"+ uses: ./.github/workflows/install-e2e-skip.yml