mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
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:
4
.github/workflows/demo-runtime-native.yml
vendored
4
.github/workflows/demo-runtime-native.yml
vendored
@@ -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:
|
||||
|
||||
7
.github/workflows/recover-demo-server.yml
vendored
7
.github/workflows/recover-demo-server.yml
vendored
@@ -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
|
||||
|
||||
12
.github/workflows/update-demo-server.yml
vendored
12
.github/workflows/update-demo-server.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user