Bind demo native proof to the consuming workflow attempt

Stable convergence run 41389692448 refused the demo transaction before mutation because no main-push native proof was available. Make the existing secret-free native workflow an explicit update/recovery prerequisite instead of relying on path-filtered history. Admit only the fixed consumer's exact source, run, attempt and successful native job; keep verification-only non-mutating and preserve the full native watches, cleanup, signed-runtime admission, production lease and retained rollback. Add executable source/attempt/refusal controls and consuming workflow-graph regression checks with the matching contracts.

Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-11-02 05:09:25 +00:00
parent 977719a1fc
commit fefe9eaabe
10 changed files with 261 additions and 91 deletions

View File

@@ -1,5 +1,6 @@
name: Demo transaction native acceptance
on:
workflow_call:
pull_request:
paths:
- '.github/scripts/demo-runtime-transaction.py'
@@ -16,10 +17,11 @@ on:
permissions:
contents: read
concurrency:
group: demo-native-${{ github.event.pull_request.number || github.ref }}
group: demo-native-${{ github.run_id }}-${{ github.run_attempt }}
cancel-in-progress: true
jobs:
native:
name: Native demo systemd/Caddy proof
runs-on: ubuntu-24.04
timeout-minutes: 35
steps:

View File

@@ -14,7 +14,14 @@ concurrency:
cancel-in-progress: false
jobs:
native_acceptance:
name: Prove demo transaction
permissions:
contents: read
uses: ./.github/workflows/demo-runtime-native.yml
recover:
needs: native_acceptance
runs-on: ubuntu-24.04
timeout-minutes: 90
environment: demo-stable

View File

@@ -186,9 +186,17 @@ jobs:
done <<< "$PROFILE_OUTPUT"
printf 'Resolved target-compatible demo runtime profile for %s:\n%s\n' "$TAG" "$PROFILE_OUTPUT"
update-demo:
native_acceptance:
name: Prove demo transaction
needs: resolve
if: needs.resolve.outputs.skip != 'true'
if: inputs.verify_only != true && needs.resolve.outputs.skip != 'true'
permissions:
contents: read
uses: ./.github/workflows/demo-runtime-native.yml
update-demo:
needs: [resolve, native_acceptance]
if: ${{ !cancelled() && needs.resolve.result == 'success' && needs.resolve.outputs.skip != 'true' && (inputs.verify_only == true || needs.native_acceptance.result == 'success') }}
runs-on: ubuntu-24.04
timeout-minutes: 90
environment: ${{ needs.resolve.outputs.environment_name }}