Commit Graph

693 Commits

Author SHA1 Message Date
pulse-triage[bot]
dc003a96c0 Compress public frontend CI transfer without changing its identity
Actions artifact quota is still losing operational evidence. The ordinary CI embed is an uncompressed tar of public HTML and JavaScript, so compress its existing ZIP transport at level six instead of storing it verbatim. Exercise that envelope around the actual producer and fail-closed consumer, including content/source/member refusals and partial-rerun identity checks. Private evidence transport and retention are unchanged.

Contract-Neutral: Lossless compression changes only the existing public CI artifact envelope; the tar bytes, digest, immutable artifact identity, same-run selection, safe extraction, source graph and required verification contracts are unchanged.
Change-source: pulse-maintainer
2026-11-03 02:32:23 +00:00
pulse-triage[bot]
fefe9eaabe 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
2026-11-02 05:09:25 +00:00
pulse-triage[bot]
86ae68952e Reuse real-embed backend proof in the smoke verdict
The same workflow already builds and vets Pulse with its verified production frontend. Require that job alongside both complete script smoke shards instead of checking out and compiling a second backend with a placeholder UI. Preserve the protected check name and reject every failed, cancelled, skipped or missing result; exercise the actual verdict and source-bound producer wiring.

Contract-Neutral: Remove only a redundant stub compilation and reuse the same run's existing required real-embed backend build and runtime proof; preserve smoke coverage, the required check name, source admission, audit and product behaviour.
Change-source: pulse-maintainer
2026-11-02 03:29:33 +00:00
pulse-triage[bot]
6bb2a6efd7 Limit completion-only admission to governance-covered branches
Keep the legacy pulse/v6-release target and unknown branches on full runtime CI because they do not have the required Canonical Governance workflow. Bind the actual pull-request base or push branch through the step environment and exercise both covered and excluded targets. Correct the new empty-diff assertion: the existing classifier conservatively keeps runtime checks.

Contract-Neutral: Bound the new completion-helper CI exception to targets covered by required governance; keep existing conservative empty-diff and runtime verdict behaviour, without a product contract or permission change.
Change-source: pulse-maintainer
2026-11-01 23:12:31 +00:00
pulse-triage[bot]
cc22fe84fd Keep isolated completion helpers on required governance CI
Completion guard and history changes already run their full suites and consuming audits in Canonical Governance, yet queue unrelated frontend, backend and smoke runners. Admit only their four exact source/test paths from a complete NUL-delimited diff; mixed, missing and admission-control changes retain runtime CI. Test the actual classifier and required verdicts without changing governance or secret scanning.

Contract-Neutral: Scope application CI only for isolated completion-helper inputs already covered by required Canonical Governance; no product contract, source-proof, browser, audit or permission policy changes.
Change-source: pulse-maintainer
2026-11-01 23:07:58 +00:00
pulse-triage[bot]
1f3538c151 Retain partial frontend unit observations in CI
Write source- and lock-bound module receipts as Vitest completes each file, retaining explicit unobserved work on interruption. Keep the default reporter, full shard inventory and existing failure verdict; retain counts rather than assertion payloads. Register behavioural controls before dependency work and preserve observations with an always-run upload.

Change-source: pulse-maintainer
Contract-Neutral: CI-only diagnostic evidence; no product runtime, dependency, coverage, or required-verdict change.
2026-11-01 19:16:00 +00:00
rcourtman
988ee9fef0 fix(ci): drain native prerequisite version output
Early grep closure can reject valid GNU tools with SIGPIPE under pipefail.
Drain each full version stream while preserving non-GNU and producer-failure
rejection. Keep the existing native tool choices and step-local paths.

Exercise streaming version output and matched producers that fail through
the real fixture and timeout workflow consumers.

Contract-Neutral: CI probe stream consumption changes no agent lifecycle, installer authority, native tool selection or runtime contract.
2026-11-01 16:18:11 +00:00
pulse-triage[bot]
ffa19afac3 Supply GNU checksum semantics to macOS Linux fixtures
Main macOS native CI fails the Linux frontend packet consumer because its native sha256sum rejects --check --strict. Stage the already installed GNU checksum tool only for installer fixture phases. Exercise exact packet transfer and strict checksum failure controls without changing native runtime tools or production admission.

Contract-Neutral: Test-only macOS Linux-fixture tool prerequisite; native agent and Windows lifecycle contracts and production checksum admission are unchanged.
Change-source: pulse-maintainer
2026-11-01 12:25:24 +00:00
pulse-triage[bot]
52c69c2228 Retain producer artifact identity across partial CI retries
Export the upload's immutable artifact ID and consume that same-run identity instead of recomputing a name from the runtime job's run_attempt. Refuse missing identities before admission or download, and retain source/digest/extraction and audit/runtime/shard gates.

Exercise an untouched attempt-one producer with an attempt-two consumer, a full attempt-two rerun with both artifacts present, the rejected name selection, and malformed identity controls through the registered install tests.

Change-source: pulse-maintainer
2026-11-01 09:54:08 +00:00
pulse-triage[bot]
b9c611d521 Run frontend unit and runtime proof as independent required jobs
Preserve the type/build/bundle admission, complete audit and every required result while allowing the four unit shards to overlap backend and native runtime checks. Bind the same validated frontend and embed bytes to this run, source and attempt with a separately verified SHA256 and constrained extraction. Exercise the actual transfer and fail-closed aggregate through the existing smoke and Go install-test commands.

Change-source: pulse-maintainer
2026-11-01 09:24:08 +00:00
pulse-triage[bot]
aa7b6f13a4 Keep early CI admission compatible with frozen classifier tests
The stable patch path copies current workflows and release controls, not scripts/tests. Its unchanged v6.6.0 classifier fixture still uses the older command extraction. Keep the preflight comment within its own step and test the exact frozen extraction against the actual YAML scalar; do not rely only on the main-side fixture repair.

Contract-Neutral: CI control-test compatibility and comment placement only; stable-patch contents, release policy, application, installer and runtime verification contracts are unchanged.
Change-source: pulse-maintainer
2026-10-31 19:34:24 +00:00
pulse-triage[bot]
6dc273d165 Fail fast on backend worker contract drift before CI compilation
The previous candidate reached race compilation and the backend workers before an obsolete deterministic contract assertion stopped runtime execution. Run the existing source-local worker controls in changed-area admission, with a bounded deadline, while preserving independent secret scanning, complete smoke discovery, per-worker validation and required runtime checks. Cover the actual early command and fail-closed dependency shape.

Contract-Neutral: CI scheduling of existing backend worker contract controls only; application, installer, release, access, cache identity and runtime verification contracts are unchanged.
Change-source: pulse-maintainer
2026-10-31 19:05:35 +00:00
pulse-triage[bot]
32db234756 Share source-aware race build objects with backend CI
The compile gate and dependent shards were all restoring the same immutable
setup-go module cache; successful source compilation never refreshed it. Save
the gate's Go build objects under a source key and restore them before the
existing required test commands. Graph/toolchain-scoped fallback and optional
cache transport preserve ordinary cold builds, race execution and fail-closed
admission.

Contract-Neutral: CI build-object caching only; source selection, compilation admission, required test inventories and commands, frontend security audit and application contracts are unchanged.
Change-source: pulse-maintainer
2026-10-31 15:50:46 +00:00
pulse-triage[bot]
1e2cc90ac2 Supply GNU cp to macOS Linux installer fixtures
Both macOS jobs in run 41200676379 failed the server bundle publisher because BSD cp rejects --remove-destination. Bind the existing verified Homebrew coreutils copy only inside the two Linux-server fixture phases, retaining native macOS runtime tools and production symlink-safety flags. Exercise missing/non-GNU cp admission, hostile native fallback, and real replacement bytes with the target intact. Supply the extracted sidecar fixture's error logger too.

Contract-Neutral: CI-only prerequisite and fixture diagnostics; existing native agent lifecycle, Windows and product runtime contracts are unchanged.
Change-source: pulse-maintainer
2026-10-31 12:57:04 +00:00
pulse-triage[bot]
959f92a5a5 Balance complete documentation safety CI with measured suites
Main run 41109701017 spends 225 seconds in one documentation shard while the others need 42 to 58 seconds. Reuse the existing whole-suite selector with complete native timing evidence, preserving discovered coverage, sorted isolated execution, every recipe deadline and the mandatory aggregate check. Cover weighted membership, new and stale hints, incomplete selection, invalid hints and every discovered suite's failure through actual runner and workflow commands.

Contract-Neutral: CI scheduling of the complete existing documentation suites only; product, installer, release, access and verification acceptance contracts are unchanged.
Change-source: pulse-maintainer
2026-10-30 18:57:14 +00:00
pulse-triage[bot]
8c641eadb4 Restore complete rootful installer source binding
Bind the 23 added compiled installer test inputs without changing manifest schema or production exclusions. Run the existing attestation source-closure and reader-hash regressions in canonical CI so future installer splits cannot silently narrow the boundary. No native qualification or installed recovery is claimed.

Change-source: pulse-maintainer
2026-10-30 09:44:22 +00:00
pulse-triage[bot]
1741267025 Reuse verified macOS Python without relinking runner tools
Main native job 123729055242 fails before contract execution when an unconditional Homebrew install collides with the Intel runner framework Python links. Prefer the existing versioned Python 3.13, verify its version, and acquire the formula only when that command is absent. Preserve the isolated binary-only pinned parser and all gating checks.

Cover preinstalled and acquired runtimes, conflicting links, version and preparation failures. These source controls do not claim actual repaired hosted macOS execution.

Contract-Neutral: Only macOS CI prerequisite selection changes; shipped installers, native Windows lifecycle and runtime contracts are unchanged.
Change-source: pulse-maintainer
2026-10-29 21:18:45 +00:00
pulse-triage[bot]
1cdd61c4e2 Select a supported Python for native macOS contract checks
The ARM64 native job cannot obtain the pinned PyYAML wheel with its
unversioned runner Python. Use Homebrew Python 3.13 by its explicit prefix
before creating the existing isolated venv; retain binary-only parser
admission and all tests.

Exercise runtime, prefix, version, venv, package and import failures
without exposing a usable PATH or falling back to ambient Python. Native
macOS execution remains a separate CI result.

Contract-Neutral: Only macOS CI prerequisite selection changes; shipped installers, native Windows lifecycle and runtime contracts are unchanged.
Change-source: pulse-maintainer
2026-10-29 19:46:59 +00:00
pulse-triage[bot]
7a2209a781 Supply the missing YAML parser for native macOS contracts
Both macOS jobs at 0e26d4ab failed the registered frontend workflow proof with ModuleNotFoundError for yaml. Prepare and verify a fixed binary PyYAML distribution in an isolated temporary venv before native contracts; retain every test and interpreter-system boundary. Add actual recipe failure controls and exercise the packaging HTTP consumer's body and signature rejection controls.

Change-source: pulse-maintainer
Contract-Neutral: Test-only macOS Python prerequisite and proof controls; no shipped agent, installer, Windows lifecycle, access or customer contract delta.
2026-10-29 18:05:55 +00:00
pulse-triage[bot]
09299b60e7 Avoid repeated server payloads in Docker image layers
Set large-file ownership and executable metadata before the final runtime copy. Preserve every bundled platform, detached sidecar and native agent alias. Add a read-only, same-payload two-architecture packaging regression to ordinary PR CI; it records layer/rootfs sizes and exercises offline runtime downloads without publishing.

Change-source: pulse-maintainer
2026-10-29 17:54:17 +00:00
pulse-triage[bot]
bd20f7ce54 Partition complete frontend unit proof across isolated CI shards
Keep early build, size, real-embed, native updater and notification gates together. Partition Vitest’s complete file inventory across four ordinary hosted jobs after those gates, while retaining the existing delayed strict audit verdict. Preserve Frontend as a fail-closed aggregate over classification, build/audit/runtime and every shard. Update the deployment contract and its registered proof for the changed orchestration.

Change-source: pulse-maintainer
2026-10-29 16:16:39 +00:00
pulse-triage[bot]
76c8477035 Keep test-only precompilation scoped to changed Go packages
Preserve inert early rejection before backend fan-out while compiling only changed root-module test packages and their imports for a complete exact-head test-only diff. Fall back to the full package set for source, graph, control, missing or ambiguous evidence. Keep every runtime/vet check, race flag, deadline and required-check verdict unchanged.

Contract-Neutral: CI-only inert precompilation scope for exact test-only diffs; product contracts and full runtime verification are unchanged.
Change-source: pulse-maintainer
2026-10-29 15:08:42 +00:00
pulse-triage[bot]
32b338c344 Release completed API capacity to the backend package queue
Beta.3 backend job 123003682684 completed its three API shards in 17 minutes but kept the non-API graph on one slot until the 70-minute hosted cancellation. Reuse each finished shard width for source-listed whole packages, start expensive packages first, isolate their data, and retain CPU lease coverage. Preserve the total CPU budget, all race/vet coverage and existing deadlines. Add actual-runner discovery, capacity, failure and cleanup controls.

Change-source: pulse-maintainer
2026-10-28 19:48:05 +00:00
pulse-triage[bot]
84eac1a3df Keep complete benchmark pairs within isolated package shards
The current paired collector stopped after one of ten rounds at a projected 1709 seconds against its unchanged 1680-second budget. Partition the fixed package inventory across three isolated hosted jobs while retaining each complete same-host comparison, ten alternating samples, executable hashes, budgets and regression thresholds. Preserve a fail-closed Benchmarks verdict and distinct always-retained artifacts; registered collector and workflow controls reject missing packages, malformed shards and incomplete results. No runtime benchmark or release-train behaviour changes.

Change-source: pulse-maintainer
2026-10-28 17:55:54 +00:00
pulse-triage[bot]
598b76804c Supply GNU readlink to macOS Linux installer fixtures
Both macOS native jobs at 37ac098542 stop before removal failure controls: BSD readlink rejects the Linux-only server installer canonicalization flag. Bind the existing verified coreutils readlink only inside the server fixture phases, keeping native agent runtime tools unchanged.

Exercise missing and non-GNU readlink refusal, exact executable binding, hostile native-tool precedence and real symlink/missing-leaf canonicalization in both phases; preserve every removal check and failure result.

Contract-Neutral: CI fixture tooling only; supply the GNU readlink already required by Linux-only server removal, with no installer, lifecycle, permission or runtime contract change
Change-source: pulse-maintainer
2026-10-28 16:33:46 +00:00
pulse-triage[bot]
37ac098542 Fail closed on missing backend CI admission
Admit backend runtime or a deliberate skip only from explicit, consistent classifier and compiler results. Keep every required shard and runtime suite, reject unavailable flags/results, and distinguish an inapplicable API run from executed test success. Exercise both actual matrix gates and the aggregate with adverse-result fixtures.

Change-source: pulse-maintainer
2026-10-28 15:30:38 +00:00
pulse-triage[bot]
95811c800a Release completed backend slice slots to ordinary packages
Keep the same four package slots and two protected rest jobs, but let ordinary packages use slots as slow slices finish. Preserve source-derived exhaustive selection, race/vet and compile gates, stable-shipped workflow command contracts, and fail-closed child draining. Exercise the actual worker recipe, failed discovery, all child failures, slot reuse and the concurrency bound.

Change-source: pulse-maintainer
2026-10-27 22:29:37 +00:00
pulse-triage[bot]
b9bef60186 Keep backend slices within the existing CI and patch control envelope
Retain both protected worker jobs and their stable-shipped compile/Go recipe contracts. Run each worker’s two source-listed halves alongside two ordinary package workers, wait for every child, and retain coverage without adding hosted jobs. Keep the helper and executable controls in the paths copied mechanically from main, without widening stable-patch contents or changing release policy.

Change-source: pulse-maintainer
2026-10-27 20:39:43 +00:00
pulse-triage[bot]
4c8225fbe7 Split slow backend suites without weakening required checks
Monitoring and installer tests now set the serial floor of the existing whole-package CI shards. Run source-listed contiguous halves with exact JSON completion checks, and retain the two protected rest check names as fail-closed aggregate verdicts. Preserve race, vet, test deadlines, frontend coverage and the unchanged API shards.

Change-source: pulse-maintainer
2026-10-27 20:05:51 +00:00
pulse-triage[bot]
26b8e9b69f Keep unattended Windows removal failures recoverable
Return noninteractive installer errors without a desktop dialogue. Exercise saved-only authenticated unregistration against refused and malformed acknowledgements in the existing native lifecycle, preserving recovery bytes and ACLs until exact-ID confirmation and independently checking repeated cleanup.

Change-source: pulse-maintainer
Contract-Neutral: Honour the existing NonInteractive flag and qualify the existing exact-ID retention contract; no change to public installer arguments, enrolment, identity selection, TLS policy or server unregistration semantics.
2026-10-27 17:54:42 +00:00
pulse-triage[bot]
aa30322890 Fence delayed stable patches at reservation and publication
Preserve the returned implementation and correct its six stale lookup expectations. Re-read current stable/source and the minor-anchored cutoff at the final publication boundary, including activation-only recovery, without adding a minor-release gate.

Change-source: pulse-maintainer
2026-10-27 11:21:34 +00:00
pulse-triage[bot]
497c55cfbf Run required governance on stable-patch preparation targets
Keep independent read-only governance on release/v* PRs and pushes, including metadata-only promotions. Regress actual control-plane targets, trigger filters and the required job context without weakening required-check admission.

Change-source: pulse-maintainer
2026-10-27 10:10:04 +00:00
pulse-triage[bot]
16a783ec36 Admit reconstructible stable patches on version-bound release branches
Rebuild selected whole main merge results over the current stable tag, retain only reviewed release controls and release metadata, and reject unrelated source before a payload exists. Preserve reviewed snapshot provenance, existing minor source rules and historical branch mappings. Exercise real Git conflicts, successor patches and drift rejection in canonical CI.

Change-source: pulse-maintainer
2026-10-27 07:59:24 +00:00
pulse-triage[bot]
aaf38867e7 Recover lifecycle discovery from peer stream cancellation
The daily install/recovery rehearsal stopped before installation in run 40343060586 when GitHub cancelled a metadata stream. Retry only that exact transport-only exit, with fixed GET identities, deadlines and a finite budget; discard partial output and stop on refusals, malformed data, signals or unknown errors.

Exercise the actual workflow resolver with synthetic process outcomes and retain the existing signed installation, update and rollback contracts. This changes no release gate or deployment operation.

Change-source: pulse-maintainer
2026-10-26 14:57:25 +00:00
rcourtman
d5604fe3df Confine release credentials to the release environment (#3303)
## What

Every job that reads a release, signing or registry credential now
declares
`environment: release`, and `scripts/check_workflow_trust.py` enforces
it.

- 20 jobs across `create-release`, `build-release-candidate`,
`publish-docker`,
  `promote-floating-tags`, `promote-private-pro-runtime`,
  `recover-release-activation`, `backfill-release-assets`,
  `retry-release-convergence`, `release-signing-preflight`,
  `signpath-test-signing` and `canonical-private-governance` declare
`environment: release`. `qualify-browser-update-release` declares
`infra` for
its tailnet credentials. `PULSE_LICENSE_PUBLIC_KEY` is a public key and
stays
  repository-wide.
- The checker reads job structure with a duplicate-key-rejecting YAML
loader
  and scans both raw text and decoded values for secret expressions
  (case-insensitive, across lines, quote-aware). It requires the literal
release environment for release credentials and a deployment environment
for demo/tailnet credentials (the demo workflow's runtime choice only in
its
own job). It refuses dynamic `secrets[...]` access and workflow-level
secret
env, and requires any push workflow that reads a secret to admit exactly
  `branches: [main]`.

## Why

Release secrets are repository-level today, so any workflow run on any
branch,
including a pushed proposal branch before review, can read them. The
release
train is switching to post-merge `release-dispatch/*` branches that only
the
release dispatcher App can create (ruleset-enforced). A `release`
environment
admitting only `main` and `release-dispatch/*` then keeps these
credentials
away from unmerged code.

## Merge order (draft until then)

Stacked on #3297. Do not merge until:
1. a beta has published through a `release-dispatch/*` dispatch, and
2. the `release` (branches `main`, `release-dispatch/*`) and `infra`
(`main`)
environments exist with branch-typed policies, so the first post-merge
run
   does not auto-create an unprotected environment.

Repository-level secret copies stay until no snapshot without these
declarations can still be dispatched or recovered.

## Validation

- Live tree passes the checker; `test_workflow_trust.py` 50 OK,
including new
cases for every rule and for bypasses found in review (lower-case names,
`}}` inside strings and YAML-escaped quotes, `release#x`, duplicate
keys,
  quoted `tags`/`inherit`, a push key hidden in a description, the demo
  expression outside its job).
- Eleven mutations, one per guard, each fail the tests.
- All 1301 `scripts/tests`, Go `scripts/installtests`, and
`release_promotion_policy_test.py` 74 OK (new proof test pins the
release
jobs' environment). Release-control discovery has 17 failures and 1
error
  that are identical on `main` and on this branch's base.
2026-10-26 14:22:52 +00:00
pulse-triage[bot]
665b18acad Stop container continuity reads at explicit access refusals
The scheduled scan at 41715cf2 retried a refused Docker Hub control-plane read four times, then attempted aliases through a second script. Stop explicit registry or attestation access refusals on the first response, retain the exact target and exit, and run aliases only after exact-container verification succeeds. Keep both registries, every digest and source-bound attestation mandatory; unrelated Helm evidence remains independent.

Contract-Neutral: Fail-closed refusal handling and diagnostic ordering only; public registry, digest, provenance and release activation requirements are unchanged.
Change-source: pulse-maintainer
2026-10-26 06:00:47 +00:00
rcourtman
69354b9d20 Confine release credentials to the release environment
Release, signing and registry secrets are repository-wide, so a workflow run
on any branch can read them, including a pushed proposal branch before any
review. The release train now dispatches on post-merge release-dispatch/*
branches that only the release dispatcher App can create, so these secrets
can move into a `release` environment that admits only main and those
branches.

Every job that reads the update signing key, Apple, SignPath or Windows
signing material, Docker Hub credentials or WORKFLOW_PAT now declares
`environment: release`; the browser update qualification job declares `infra`
for its tailnet credentials. The public license verification key is not a
credential and stays repository-wide.

check_workflow_trust.py enforces this. It reads job structure with a YAML
loader that rejects duplicate keys and scans expressions across lines,
comments and quoted `}}`, matching secret names case-insensitively. Release
credentials need the literal release environment, demo and tailnet
credentials need a deployment environment (the demo workflow's runtime choice
only in its own job), dynamic secrets[...] access and workflow-level secret
env are refused, and a push workflow that reads any secret must admit exactly
`branches: [main]`. A test that asserted an any-branch push workflow could
read WORKFLOW_PAT now asserts the opposite.
2026-10-26 00:30:23 +00:00
rcourtman
c157b921b0 Recover activation for release-train snapshot runs (#3297)
## What

`recover-release-activation.yml` now also admits failed
`create-release.yml`
runs dispatched from release-train snapshot refs
(`release-candidate/<packet>`
or `release-dispatch/<packet>`), not only from `main`.

A snapshot run is admitted only when main's `release_snapshot.py` proves
its
commit is the merged head of exactly one `release-candidate/<packet>`
release
PR. The source run's own `prepare` job ran that branch's code, so it is
not
trusted. Recovery now refuses to run unless dispatched on `main`,
fetches full
history for the ancestry check, and gains `pull-requests: read` for the
PR
lookups.

## Why

The release train has dispatched on `release-candidate/*` branches since
October, and will move to post-merge `release-dispatch/*` branches so
release
secrets can be confined to refs that exist only after merge. A train
release
that failed at activation could not use this recovery path at all.

## Stacking

This branch is built on #3295 (snapshot check accepts
`release-dispatch/*`
refs), whose commit is included here. The two PRs touch different files.

## Validation

- New executable test runs the recovery admission against stubbed GitHub
and
git: `main`, `release-candidate/*` and `release-dispatch/*` runs are
admitted;
lane branches, missing, unmerged or mismatched PRs, a different head
commit,
two matching PRs, malformed refs and a merge missing from main are
rejected.
- Mutations that each fail it: skipping the provenance check, and not
mapping
`release-dispatch/*` to its candidate head. Two more (admitting any
branch in
the run predicate, dropping the head-SHA filter in PR selection) are
caught
  by `release_snapshot.py`'s own checks instead.
- `release_promotion_policy_test.py` 73/73, `check_workflow_trust.py`
and its
  44 tests, `release_snapshot_test.py` 7/7, all on a full checkout.
2026-10-25 23:31:19 +00:00
rcourtman
54fd5f3aa2 Recover activation for release-train snapshot runs
Activation recovery only admitted failed create-release runs dispatched on
main, but the release train dispatches on release-candidate/* snapshot
branches, and will move to post-merge release-dispatch/* branches. A train
release that failed at activation could not use the recovery path.

Recovery now also admits runs from those refs, but only after main's
release_snapshot.py proves the run's commit is the merged head of exactly one
release-candidate/<packet> release PR. The source run's own prepare job ran
that branch's code, so it is not trusted. Recovery refuses to run unless
dispatched on main, fetches full history for the ancestry check, and gains
pull-requests: read for the PR lookups.
2026-10-25 22:36:09 +00:00
rcourtman
b3a27e2dd2 Sync issue labels with GITHUB_TOKEN, not the triage App key
The label sync was the only workflow that read PULSE_TRIAGE_APP_PRIVATE_KEY.
That key belongs to an App installation that can administer the repository,
and as a repository-level Actions secret any workflow run on any branch could
read it. Everything the helper does (read the issue, create, add and remove
labels) is covered by the run's own GITHUB_TOKEN with issues: write, so the
App key can now be deleted from Actions.

The policy test now requires issue-mutating workflows to use the scoped
GITHUB_TOKEN and to reference no secrets, and still requires the parser tests
to run before the label write. Silent labels are applied as
github-actions[bot]; AI_TRANSPARENCY.md says so.
2026-10-25 21:21:54 +00:00
pulse-triage[bot]
e404c2fe07 Keep isolated issue-triage changes on their dedicated CI path
The proposed-source triage suite already exercises the locked parser and silent-mutation consumers. Pure helper edits still queued unrelated application suites for more than twenty minutes. Recognise only the six exact triage inputs from a complete tree diff; mixed, missing and control-path changes retain full application checks. Keep workflow output outside the fixture source tree so real-diff controls do not stage it.

Contract-Neutral: CI admission for isolated issue-event inputs only; locked triage tests, secret scanning, governance and mixed-source runtime checks remain enforced, with no product contract or permission change.
Change-source: pulse-maintainer
2026-10-25 09:04:08 +00:00
rcourtman
8a529ac4e9 Run organization fixture lifecycle controls before browser fanout
Include the organization request-bound, owned-cleanup and native backend diagnostic controls in the existing fixture validation step. These tests must protect future changes in recurring CI as well as the focused native proof.

Contract-Neutral: CI wiring only: execute existing fixture controls in the existing validation job. Source-bound image distribution, fixture behavior and all runtime and test deadlines are unchanged.
2026-10-25 03:04:54 +00:00
rcourtman
2a149603f0 Run native settings scroll regressions in browser CI
Exercise Chromium and WebKit geometry once after browser installation,
before the first shard admits its runtime fixture. Content growth must
complete the new scroll extent and unchanged-extent resets must still fail.
2026-10-25 01:54:59 +01:00
rcourtman
72f6d2cf7d fix(e2e): synchronize editor commits and retain retry diagnostics
Judge consuming panels after their protected document has mounted, and
give the delayed-token regression its own bootstrap page. Leave the whole
Alerts editor before checking for a staged change, including its desktop
focus and card Save contracts. Keep the existing panel timeouts.

Preserve failed-attempt HTML diagnostics when a first retry succeeds and
retain small JUnit results for every completed tier. Upload stable evidence
before probation starts. Integrate the published node disk observation
repair before qualification.
2026-10-25 00:33:48 +01:00
rcourtman
1ffa17a10c Merge remote-tracking branch 'origin/main' into fix/demo-tailnet-ci-deploy-client 2026-10-24 13:28:42 +01:00
pulse-triage[bot]
06475a9d37 Keep bounded hosted provisioning overhead in chart SLO verdicts (#3199)
Retained hosted samples include both an over-budget failure and an
under-budget pass with one provisioning agent occupying about one
logical CPU. Attribute only that bounded Actions overhead; retain raw
CPU and absolute 90 ms latency, and keep other or unattributed CPU,
guest, steal and swap invalidating. Exercise the real CLI and workflow
shells with adverse controls; no timed workload or release acceptance is
claimed.

---
Fleet candidate `20261024T104012Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`fbe410e244f3d44b44de258c6f3db68dabd257da` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-10-24 12:27:42 +00:00
rcourtman
bc39aa5908 Move demo deploys to the tag:ci-deploy Tailscale client
The demo update and recovery workflows still joined the tailnet with
the July 2026 tag:infra OAuth client. That client was revoked on 30
September, when the private repositories moved to narrow clients, and
the public repository was missed. Since then every demo convergence
step has failed with an OAuth 401, so stable releases cannot converge
and the hourly reconcile keeps retrying v6.5.0.

Both workflows now use the TS_CI_DEPLOY_OAUTH_* binding that the
browser update qualification already expects, restricted to
tag:ci-deploy. The tailnet policy already grants that tag SSH to
pulse-relay, the demo host, so no policy change is needed. One narrow
client now serves all three workflows, and the broad tag:infra
identity is gone from this repository.
2026-10-24 13:25:23 +01:00
rcourtman
82df77f2f5 Treat a deleted convergence owner as terminal (#3197)
Treat a deleted convergence owner as terminal

The hourly "Reconcile release convergence debt" job has failed every run
since 13 Oct. The v6.5.0 activation marker names convergence run
37395942598 as its owner, and that run was deleted from Actions with the
rest of the 30 Sep - 8 Oct release history. The immutable marker
outlives
Actions history, so the reconciler and release-convergence.yml both
waited
forever on an owner that can no longer be read, and the permanently red
job hid real failures such as the rc.6 paid-broker miss.

GitHub only deletes a run that has completed or is older than two weeks,
which is beyond every convergence job timeout, so a definite 404 is a
terminal owner. Both the reconciler and the successor's adoption wait
now
proceed from the validated marker in that case. Any other read failure
still waits or fails.

Also remove the workflow_run retry job. Convergence runs are dispatched
with GITHUB_TOKEN, and GitHub does not deliver workflow_run for them:
the
job fired seven times ever, each for a run an operator started by hand,
and never after 29 Aug while dozens of bot-dispatched failures were
recovered by the hourly schedule. The schedule is documented as the
retry
mechanism.

v6.5.0 is served on every surface (Docker aliases at the marker digest,
Helm index entry, paid broker, demo /api/version), but no convergence
run
has proved it. The next scheduled pass dispatches a fresh v6.5.0
convergence; its demo surface will fail until the Tailscale OAuth client
behind TS_OAUTH_CLIENT_ID/TS_OAUTH_SECRET is rotated, as it returns 401.
2026-10-24 12:45:42 +01:00
rcourtman
ca3812e5ed Treat a deleted convergence owner as terminal
The hourly "Reconcile release convergence debt" job has failed every run
since 13 Oct. The v6.5.0 activation marker names convergence run
37395942598 as its owner, and that run was deleted from Actions with the
rest of the 30 Sep - 8 Oct release history. The immutable marker outlives
Actions history, so the reconciler and release-convergence.yml both waited
forever on an owner that can no longer be read, and the permanently red
job hid real failures such as the rc.6 paid-broker miss.

GitHub only deletes a run that has completed or is older than two weeks,
which is beyond every convergence job timeout, so a definite 404 is a
terminal owner. Both the reconciler and the successor's adoption wait now
proceed from the validated marker in that case. Any other read failure
still waits or fails.

Also remove the workflow_run retry job. Convergence runs are dispatched
with GITHUB_TOKEN, and GitHub does not deliver workflow_run for them: the
job fired seven times ever, each for a run an operator started by hand,
and never after 29 Aug while dozens of bot-dispatched failures were
recovered by the hourly schedule. The schedule is documented as the retry
mechanism.

v6.5.0 is served on every surface (Docker aliases at the marker digest,
Helm index entry, paid broker, demo /api/version), but no convergence run
has proved it. The next scheduled pass dispatches a fresh v6.5.0
convergence; its demo surface will fail until the Tailscale OAuth client
behind TS_OAUTH_CLIENT_ID/TS_OAUTH_SECRET is rotated, as it returns 401.
2026-10-24 11:40:23 +01:00
rcourtman
2d498a35d2 Re-dispatch Pro promotion refused by a moved pulse-pro main
pulse-pro gives a promotion run credentials only while that run is
still its current main. Any pulse-pro merge that lands while the run is
queued or validating, roughly 20 minutes, makes the refusal certain.
The convergence caller treated it like any other failure, so the
release stayed off the Pro broker until the hourly reconcile happened
to retry. That race caused five of the last six Pro promotion failures
(12, 17 and 24 October); on 24 October it held v6.6.0-rc.6 back from
Pro installs on the RC channel.

The refusal happens before credentials, so nothing was mutated. The
caller now re-dispatches on the new main when every failed job failed
only the source check and pulse-pro main has moved off the run's head,
up to five attempts in the existing one-hour budget. Every other
failure stays terminal, and only the terminal failure is annotated so
reconciliation still finds exactly one private run URL.
2026-10-24 11:07:44 +01:00