mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 09:10:58 +01:00
Dependabot #2094, #2095 and #2096 bump actions/setup-go 6.4.0 -> 7.0.0, signpath/github-action-submit-signing-request 2 -> 3.0 and actions/github-script 8.0.0 -> 9.0.0. Each proposal is blocked only by the reviewed pin constants, the workflow-trust allowlist, the release-consumer action manifest and the installer governance assertions that hard-code the previous revisions. Carry all three bumps with those artifacts in one commit so the proposals can be closed as superseded. All three actions keep the node24 runtime and their existing inputs and outputs; no consumer interface, installer behaviour or public contract changes. The deployment-installability and agent-lifecycle workflow references are pin-only. Contract-Neutral: Reviewed action pin refresh with identical node24 consumer interfaces and unchanged inputs/outputs; no public-contract or installer-behaviour delta. Change-source: pulse-maintainer
85 lines
3.3 KiB
YAML
85 lines
3.3 KiB
YAML
name: Patrol Qualification Regression
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/patrol-qualification-regression.yml"
|
|
- "cmd/patrol-qualify/**"
|
|
- "internal/ai/qualification/**"
|
|
- "internal/ai/patrol*.go"
|
|
- "internal/ai/tools/**"
|
|
- "internal/agentcapabilities/**"
|
|
- "internal/api/ai_handlers.go"
|
|
- "internal/api/ai_handlers_patrol_actions_additional_test.go"
|
|
- "tests/qualification/patrol/**"
|
|
- "docs/AI_PATROL_QUALIFICATION.md"
|
|
- "docs/release-control/v6/internal/subsystems/ai-runtime.md"
|
|
- "frontend-modern/public/docs/AI_PATROL_QUALIFICATION.md"
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- ".github/workflows/patrol-qualification-regression.yml"
|
|
- "cmd/patrol-qualify/**"
|
|
- "internal/ai/qualification/**"
|
|
- "internal/ai/patrol*.go"
|
|
- "internal/ai/tools/**"
|
|
- "internal/agentcapabilities/**"
|
|
- "internal/api/ai_handlers.go"
|
|
- "internal/api/ai_handlers_patrol_actions_additional_test.go"
|
|
- "tests/qualification/patrol/**"
|
|
- "docs/AI_PATROL_QUALIFICATION.md"
|
|
- "docs/release-control/v6/internal/subsystems/ai-runtime.md"
|
|
- "frontend-modern/public/docs/AI_PATROL_QUALIFICATION.md"
|
|
schedule:
|
|
- cron: "23 3 * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
deterministic-regression:
|
|
name: Catalog, scorer, and replay regression
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 20
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
|
with:
|
|
go-version-file: go.mod
|
|
|
|
- name: Validate published qualification schema
|
|
run: |
|
|
python3 -m venv "$RUNNER_TEMP/patrol-schema-venv"
|
|
"$RUNNER_TEMP/patrol-schema-venv/bin/python" -m pip install jsonschema==4.26.0
|
|
"$RUNNER_TEMP/patrol-schema-venv/bin/python" tests/qualification/patrol/schema_test.py
|
|
|
|
- name: Validate qualification catalogue
|
|
run: go run ./cmd/patrol-qualify -mode validate -catalog tests/qualification/patrol/scenarios
|
|
|
|
- name: Run deterministic qualification regression
|
|
run: go test ./internal/ai/qualification ./cmd/patrol-qualify -count=1
|
|
|
|
- name: Stub embedded frontend dist so internal/api compiles
|
|
# internal/api/frontend_embed.go has `//go:embed all:frontend-modern/dist`,
|
|
# which fails the build when the directory is absent. These tests exercise
|
|
# Go logic only, so an empty index.html satisfies the embed without paying
|
|
# for a frontend build.
|
|
run: |
|
|
mkdir -p internal/api/frontend-modern/dist
|
|
printf '<!doctype html><html><head><title>Pulse CI stub</title></head><body></body></html>\n' > internal/api/frontend-modern/dist/index.html
|
|
|
|
- name: Prove Patrol lifecycle and permission boundaries
|
|
run: >-
|
|
go test ./internal/ai ./internal/ai/tools ./internal/agentcapabilities ./internal/api
|
|
-run 'Patrol|ExecutionProfile|InvocationPolicy' -count=1
|
|
|
|
# Live fault injection is intentionally excluded. Untrusted repository
|
|
# code must never receive credentials or reach a private canary lab.
|