Commit Graph

685 Commits

Author SHA1 Message Date
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
pulse-triage[bot]
b25c22c00f Keep bounded hosted provisioning overhead in chart SLO verdicts
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.

Change-source: pulse-maintainer
2026-10-24 10:48:40 +01:00
dependabot[bot]
a837cd04be Bump actions/create-github-app-token
Bumps the actions-minor-patch group with 1 update: [actions/create-github-app-token](https://github.com/actions/create-github-app-token).


Updates `actions/create-github-app-token` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
- [Commits](bcd2ba4921...64ab729a62)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-24 05:59:53 +00:00
pulse-triage[bot]
8478eac3ef Complete credited chart evidence reporting on current main
Isolate the retained PR3095 completion (7f4ec192 and 93d87118) without importing unrelated history. Keep the exact proposed Python classifier and maintained chart shells, real CLI/workflow controls and dependent contracts. Inconclusive capacity never establishes the 90 ms budget; child, cleanup and malformed-proof failures remain errors.

Source-PR: https://github.com/rcourtman/Pulse/pull/3095
Source-Commit: b31fabd778
Co-authored-by: rcourtman <8825017+rcourtman@users.noreply.github.com>
Change-source: pulse-maintainer
2026-10-24 00:26:11 +01:00
rcourtman
d2ac07bccf Cache browser OS packages so slow apt mirrors stop E2E
Since 22 October the E2E jobs often time out installing browsers before
any test runs: 29 installs failed that day and 30 on 23 October, against
none in the week before. Each job downloads about 119 MB of Ubuntu
packages for Chromium and WebKit from the runner's Azure mirror, and
some GitHub-hosted runners now get tens of kB/s from it
(actions/runner-images#14823 and #15040). The same package set on the
same image versions installed in under a minute before then.

The three browser jobs now restore the newest saved .deb set with
actions/cache/restore and admit it through scripts/browser_os_packages.py.
apt reuses a file already in its archive directory after checking only
its size, so the helper refreshes the index and installs a private copy
of a cached file only when that copy's SHA256 matches a signed index
stanza for the package, version and architecture its filename names.
After a successful install, and before any journey can fail the job,
the helper rebuilds the cache from apt's archives and the job saves it
under a run-unique key only when the set changed, so Ubuntu updates
refresh the cache and an empty or unchanged set is never saved.

The transport bounds and install budgets are unchanged, and the jobs
hold no secrets or write tokens, as the workflow trust contract requires
for caches.
2026-10-23 18:02:39 +01:00
rcourtman
0149b8a85f Stop release CI depending on Microsoft's package server
GitHub's Ubuntu runner image ships an apt source for
packages.microsoft.com. Every job that runs `apt-get update` therefore
fails when that server does. On 22 October it returned 403 Forbidden for
about an hour, failing the required Repo Boundary Audit on the
v6.6.0-rc.6 preparation twice, so the release train abandoned the
candidate and will only retry 12 hours later.

None of these jobs installs anything from that source: the audit needs
ripgrep, the release build zip/unzip, the dry run docker-compose and the
browser qualification jq/curl/ssh plus Playwright's dependencies, all
from Ubuntu. Before refreshing apt, remove only source files that name
packages.microsoft.com. A runner without one is left alone, and a
cleanup failure never fails the step.

Contract-Neutral: CI runner package-source hygiene only; no runtime, release artifact or public contract change.
2026-10-22 17:52:20 +01:00
rcourtman
5d96811f3b test(e2e): run licence activation against the offline issuer
Spec 10 skipped on every run: it issued and revoked real licences through
the production licence server and needed an admin token no workflow had.
Its selectors had also rotted against the current plan page ("Existing
purchases", "Activate Key", "No Pro license is active"), so licence
activation, the path every paying customer takes, had no running browser
coverage.

The in-memory Ed25519 issuer behind the Organization provisioning job now
mints a second ephemeral key whose grants carry the Pro plan. The spec
pastes that key into the plan page's license recovery field, checks the
Pro state in the UI and the entitlements API, and clears it back to
Community through the UI. The offline CI job runs it with the same
wrapper, so no production credentials or signing material are involved.
Spec 11's plan-panel matcher drops the labels that no longer exist.

Contract-Neutral: Adds a CI step running an existing spec through the existing offline issuer wrapper; E2E image distribution and installability are unchanged.
2026-10-22 12:18:10 +01:00
rcourtman
02e53bc777 build: move to Go 1.26.10 and Vite 6.4.5 for October advisories
Go 1.26.10 (20 October) distrusts the compromised eMudhra intermediate
CAs in crypto/x509 (CVE-2026-111943). Binaries built with 1.26.9 still
accept chains through them, so every verified outbound TLS connection
Pulse makes (licence, updates, webhooks, AI providers) stays open to
interception by a holder of those keys. govulncheck does not flag a
trust-store change as a called symbol, so the scheduled scan stayed
green while the gap existed.

Advance the governed toolchain floor and every pin together: go.mod,
the toolchain installer and release-script guards, the source-built
container stages (manifest-list digests for golang:1.26.10-alpine and
the Debian dev container image), the root-pair diagnostic, and their
tests.

Vite 6.4.3 bundles a launch-editor with three advisories
(GHSA-587h-7wmj-h5pm, GHSA-r825-w8mm-5pxw, GHSA-698v-4r3x-3vcv) that
failed the daily advisory watch. 6.4.4 bundles the fixed launch-editor
and 6.4.5 adds the dev-server server.fs query check. Both reach only
the local dev server, not the built product. The lockfile changes only
the vite entry, and dependencySecurity.test.ts now pins the floor.
2026-10-21 15:19:02 +01:00
rcourtman
44af307878 ci: compare memory with the latest stable release every day
Memory grew release after release with nothing comparing it (#1803):
a 256 MB LXC that ran v5 for a year needed 1 GB by v6.3. The existing
memory test only checks growth within one run.

The daily watch builds the latest stable release and main from source,
runs both for 15 minutes against the same small mock estate, and splits
steady-state resident memory into the Go heap, memory outside Go and
file pages. It fails past both 15% and 16 MiB, uploads both heap
profiles with a per-function growth list, and keeps one issue open
while it fails. It runs on a schedule rather than in the pull request
benchmarks job because a 15-minute whole-server run is too slow and
noisy to gate every PR. Mock fixtures live in the heap, so the summary
says to check internal/mock first.

Checked end to end on pulse-dev: v6.5.0 against this branch measured
123.5 and 117.2 MiB, no regression; a synthetic 40% growth exits 1.

Related to #1803
2026-10-21 14:16:15 +01:00