Accept PATCH in the bounded JSON-stdin method whitelist so the
documented token edit operation can use the same private header and
response files. Keep authentication, TLS, redirect refusal and nonretry
behaviour unchanged. Exercise copied PATCH commands with success,
auth/input failures, redirects, partial responses, proxy defaults and
both header types.
Contract-Neutral: Documentation helper and executable documentation
regressions only. Runtime endpoints, token scope rules and permissions
are unchanged.
---
Fleet candidate `20261106T182020Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`413ca1cf638fab613510fb3b6c90838ff0211596` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
**Explain read-only organization details without requesting wider
roles**
Distinguish the existing session read-only restriction from missing
organization management membership. Preserve current authority checks,
disabled controls and visible organization details; cover current policy
and restored owner use through the production stores and client.
**Wait for rename confirmation before asserting restored owner use**
The display-name draft already contained the requested name, so waiting
for that value did not await the mutation. Wait for the actual success
notice and assert the saved read after the policy and principal
transitions; runtime source is unchanged.
**Record verified read-only organization detail guidance**
Bind comparable desktop and narrow light/dark pixels and real-panel
policy/rename interactions to the exact tested source. Retain viewer
role guidance, original application limits and adverse intermediate
observations.
---
Fleet candidate `20261106T180024Z-web-product` from the `web-product`
lane. Reviewed tip `ba16b8afd2c954f1017a0527b375b0d62af1aeb7` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Accept PATCH in the bounded JSON-stdin method whitelist so the documented token edit operation can use the same private header and response files. Keep authentication, TLS, redirect refusal and nonretry behaviour unchanged. Exercise copied PATCH commands with success, auth/input failures, redirects, partial responses, proxy defaults and both header types.
Contract-Neutral: Documentation helper and executable documentation regressions only. Runtime endpoints, token scope rules and permissions are unchanged.
Change-source: pulse-maintainer
The reference tried to create the protected built-in operator and
described PUT like a partial edit. Use alert-manager consistently and
link the complete-policy preservation instructions without pushing
existing controls out of view.
Contract-Neutral: Documentation and executable documentation regressions
only. Runtime routes, policy semantics and permissions are unchanged.
---
Fleet candidate `20261106T172005Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`91eceaef68705fc0ebcc6552bce74547cfdfa060` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Distinguish the existing session read-only restriction from missing organization management membership. Preserve current authority checks, disabled controls and visible organization details; cover current policy and restored owner use through the production stores and client.
Change-source: pulse-maintainer
**Retain pending organization renames across equal-reader refreshes**
Keep the submitted name and disabled Saving form until its result is
known. Equal security policy, capability and directory refreshes cannot
replace the mutation lifetime; actual reader or authority withdrawal
still cancels. Extend real panel and HTTP-client regression coverage and
the organization settings contract.
**Clarify saved reads after an unconfirmed organization rename**
The error path does not automatically repeat a write. Explicit Reload
and later ordinary directory or policy refreshes may read saved details;
do not describe the existing read path as exclusively manual.
**Use supported role queries in organization rename regressions**
Solid Testing Library role queries match their string names without the
Playwright-only exact option. Keep the same Save controls and withdrawal
assertions while restoring test type-checking.
**Apply locked formatting to supported rename test queries**
Keep test logic and production bytes unchanged while matching Prettier
3.9.10 after the query-type correction.
**Record verified pending organization rename browser outcomes**
Bind desktop and narrow consumer proof to the final unchanged runtime
and own parent. Retain comparable captures, actual HTTP readback,
withdrawal controls and the adverse early WebKit frame with its bounded
follow-up traces.
---
Fleet candidate `20261106T154003Z-web-product` from the `web-product`
lane. Reviewed tip `577065a4dcec5b7085520d0afd0461bb94746e13` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The reference tried to create the protected built-in operator and described PUT like a partial edit. Use alert-manager consistently and link the complete-policy preservation instructions without pushing existing controls out of view.
Contract-Neutral: Documentation and executable documentation regressions only. Runtime routes, policy semantics and permissions are unchanged.
Change-source: pulse-maintainer
The error path does not automatically repeat a write. Explicit Reload and later ordinary directory or policy refreshes may read saved details; do not describe the existing read path as exclusively manual.
Change-source: pulse-maintainer
The summary still said pull and restart even though the maintained procedure requires recreating only Pulse. Link the corrected summary directly to that procedure so an apparent update does not leave the old server running.
Contract-Neutral: Documentation and regression checks only. No runtime, API or subsystem contract change.
Change-source: pulse-maintainer
Keep the submitted name and disabled Saving form until its result is known. Equal security policy, capability and directory refreshes cannot replace the mutation lifetime; actual reader or authority withdrawal still cancels. Extend real panel and HTTP-client regression coverage and the organization settings contract.
Change-source: pulse-maintainer
**Cover pending access and sharing writes during same-reader refreshes**
Exercise successful and uncertain outcomes for all existing mutations,
direct reload and repeat-submit blocking. Preserve immediate principal,
organization, presentation, entitlement and lifetime withdrawal
controls.
Contract-Neutral: registered regression tests only; no production
behavior or contract delta.
**Keep pending access outcomes ahead of same-reader refreshes**
Hold same-reader reloads behind a dispatched Access or Sharing write.
Success obtains a fresh snapshot; uncertain completion retains explicit
read recovery without replay. Preserve actual reader and authority
withdrawal, expected-organization and CSRF binding, no-retry requests
and ownership confirmation.
**Finish current-reader withdrawal regression controls**
Exercise late rejected responses after principal and hidden-surface
withdrawal following a same-reader event. Apply the locked formatter
output from the offline proof without changing production source.
Contract-Neutral: registered regression tests and their formatting only;
the runtime invariant and subsystem contract are unchanged.
**Prove directory refreshes apart from capability withdrawal**
Keep the real runtime capability reset on every org switch, including a
same-ID rebind. Exercise both hooks through the real license store,
session policy, API and HTTP client so unchanged
directory/policy/capability refreshes preserve outcomes while unknown
authority still cancels immediately. Clarify the contract and remove
misleading mock-only org-switch refreshes.
**Keep capability read failures fail-closed during pending changes**
Cover both organization panels with the real runtime-capability store
when a forced read fails, and make the contract precise about observable
withdrawal and silent field changes. No license-store reset or request
authorization is weakened.
**Wait for positive reader admission after capability reloading**
The withdrawn interval correctly has no organization and loading=false.
Require the restored reader and error-free snapshot together before
asserting recovery, instead of mistaking that disabled interval for a
completed read.
Contract-Neutral: registered test observation only; runtime authority
and the subsystem contract are unchanged.
**Record comparable pending-access outcome browser proof**
Bind both final hook blobs to their own-parent source, exact base/final
fixture builds and native desktop/narrow pixels. Retain original failed
attempts and the corrected withdrawal-only tail; no production source
changes in this commit.
Contract-Neutral: evidence-only browser receipt for already committed
runtime and tests; no additional subsystem contract delta.
---
Fleet candidate `20261106T140016Z-web-product` from the `web-product`
lane. Reviewed tip `589b4f41f89f6f1b0da1f58e6d3028f8c1bf7180` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Use the current tenant-store semantics to explain preserving effects,
conditions and role metadata. Keep private and uncertain-outcome
guidance, with all example fields still visible.
Contract-Neutral: Existing RBAC documentation and recipe checks only. No
route, grant, persistence or runtime policy changes.
---
Fleet candidate `20261106T140016Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`407e80c3adb461f8c07bf6501a33f593d2b74445` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
The guide's first paragraph listed users and audit history among what a
client runtime holds. A provider opening a client can't reach either, so
the line read as a feature. It now lists what a provider can use there.
Contract-Neutral: Provider guide wording only; no behaviour or contract change
Cover both organization panels with the real runtime-capability store when a forced read fails, and make the contract precise about observable withdrawal and silent field changes. No license-store reset or request authorization is weakened.
Change-source: pulse-maintainer
Keep the real runtime capability reset on every org switch, including a same-ID rebind. Exercise both hooks through the real license store, session policy, API and HTTP client so unchanged directory/policy/capability refreshes preserve outcomes while unknown authority still cancels immediately. Clarify the contract and remove misleading mock-only org-switch refreshes.
Change-source: pulse-maintainer
Use the current tenant-store semantics to explain preserving effects, conditions and role metadata. Keep private and uncertain-outcome guidance, with all example fields still visible.
Contract-Neutral: Existing RBAC documentation and recipe checks only. No route, grant, persistence or runtime policy changes.
Change-source: pulse-maintainer
Hold same-reader reloads behind a dispatched Access or Sharing write. Success obtains a fresh snapshot; uncertain completion retains explicit read recovery without replay. Preserve actual reader and authority withdrawal, expected-organization and CSRF binding, no-retry requests and ownership confirmation.
Change-source: pulse-maintainer
BenchmarkHistoryReadFilter timed two functions: filterMetricsByTime, which
ships, and legacyHistoryReadFilter, a reference that lives in the test file.
The legacy rows failed the Benchmarks gate on unrelated pull requests, naming
only those rows in 5 of 69 shard 0 comparisons over about 2.5 days, including
PR 4014.
The cause is code layout. A change anywhere earlier in the test binary can move
the function 32 bytes, and its loop then settles on a different speed with
identical instructions. On EPYC 7763 runners the function's address predicted
its timing in all 40 retained binaries. Keeping a row that flips by up to 20%
for a function users never run only teaches people to ignore the gate.
The reference stays as the semantics check. The shipped rows are now named
HistoryReadFilter/<case>, so the first comparison across this change has no
matching rows and sets a new baseline. They are still layout-sensitive, reaching
+9.43% on EPYC 7763, under the 10% gate.
Beta cut from main at 280a08690c. It carries every change merged since stable v6.7.0.
Contract-Neutral: Release-only v6.8.0-beta.2 version, release notes and distribution metadata; no public install or runtime contract changes.
Change-source: pulse-maintainer
Explain that omitted or null create scopes request full access while an empty list is rejected. Keep the monitoring-read example and distinguish rename-only preservation from scope-change authority. Shorten existing edit prose without dropping its identity, expiry, organization or rotation rules.
Contract-Neutral: Clarify existing API token defaults and editing semantics without changing routes, grants or runtime behaviour.
Change-source: pulse-maintainer
A provider opening a client workspace arrives as that organization's
owner. Every destination read answered 403 for them, so
`/alerts/notifications` showed "Unable to load notification settings" on
every provider MSP install, and no client could have an alert route.
This was found by walking a real v6.8.0-beta.1 install.
**Change**
- `/api/notifications/` now admits the request organization's owners and
admins in a session (`RequireOrgManager`). Tokens bound to an
organization stay refused, because responses hold reusable webhook URLs
and bot tokens.
- Apprise CLI stays with instance administrators. A CLI target is a bare
argument run as this server, so `--attach=/etc/passwd` would send a
server file to a destination the owner chose. New CLI targets are
refused on save and inline test, API mode targets cannot be carried
across, and targets starting with a dash are dropped for everyone.
- The queue, DLQ and terminal-failure routes stay instance
administration, since they read one shared queue.
- The destinations page no longer reads instance-only relay settings for
such sessions, which would have failed the whole load on licensed
installs.
**Checked**
- On a beta install, one client runtime on a server built from this
change: before, the page failed and the three reads answered 403. After,
it loads at 1280 and 390 wide, delivery turns on, and a webhook saves
through the form. Owner attempts at CLI targets and `--attach` answer
403, and the sibling client has no webhook file.
- Removing the save gate or the token refusal fails its own test.
Cross-organization reads and the CLI bypass are covered in
`internal/api/notifications_org_authority_test.go`.
**Not checked**
- A real alert delivered to a real destination.
- The relay gate on a licensed install. It has unit tests only, because
relay wasn't licensed on that install.
Replaces #4000, which conflicted with main. The same change is rebuilt
from current main, and the install walk was rerun on that build. Turning
delivery on was only exercised on the earlier build, because delivery
stayed on for this one.
A provider opening a client workspace arrives as that organization's
owner. Since instance administration was split from organization
management, every destination read answered 403, so the alert page showed
"Unable to load notification settings" on every provider MSP install and
no client could have an alert route.
Destinations are per organization, so the route now admits that
organization's managers in a session. Tokens bound to an organization stay
refused, because the responses hold reusable webhook URLs and bot tokens.
Apprise CLI stays with instance administrators. A CLI target is a bare
argument run as this server: --attach=/etc/passwd would send a server file
to a destination the owner chose, which on a shared install crosses the
tenant boundary. New CLI targets are refused on save and inline test, API
mode targets cannot be carried across, and any target starting with a dash
is dropped for everyone.
The page also read instance-only relay settings on licensed installs, which
would have failed the whole load, so it now skips them for such sessions.
Read the current provider list without repeating an uncertain mutation. Preserve administrator access and stop on unexpected absence rather than recreate saved providers. A list or masked field cannot establish secret retention, working sign-in or revocation.
Contract-Neutral: Existing OIDC help and source-consistency checks only. No runtime, endpoint, permission or lifecycle contract changes.
Change-source: pulse-maintainer
Match the existing OIDC callback and RBAC guide: only successful non-empty assignments emit the assignment event, not cleared roles. Add source-consistency controls to the existing documentation suite.
Contract-Neutral: Correct documentation and drift checks only. Preserve all OIDC, role-assignment, audit, session and access-control behaviour.
Change-source: pulse-maintainer
Acknowledged deliveries must preserve cooldown and recovery authority across restart and local storage faults. Persist exact destination generations and accepted facts before final queue settlement, while keeping incomplete inventory in an explicit delivery hold.
Source validation is recorded in the pull request. Shared producer lifecycle/admission and audited inventory disposition remain L6 follow-ups.
The guide told providers to split the UI and agent check-in onto separate
ports and to prove it with a 404 check, but the bundle serves both on one
address and publishes only 80 and 443. It now says so and scopes the split
to installs that have it.
Providers also had no warning that a backup leaves out .env, which holds
the signing key their licence is bound to, or that a client runtime can't
reach the private-address allowlist or Apprise command-line delivery.
Contract-Neutral: Provider guide corrected to match the bundle; no behaviour or contract change
Queue wakeups can hand rows to the background owner before a manual test sweep.
Wait for durable settlement and occurrence disposition, and verify that recovery
delivery cannot be replaced by a stale firing.
Keep migration guidance aligned with all live import components and require
isolation for explicit notification-authority repair restarts.
A forwarder's sign-in is not by itself CSRF protection. Keep browser origin metadata and the exact-origin workaround instead of suggesting header stripping after authentication. Match the shipped guide and protect the advice in the existing documentation suite.
Contract-Neutral: Documentation safety correction only. No runtime authentication, CORS policy or API behavior changes.
Change-source: pulse-maintainer
#3989 refused cross-site writes through a proxy attaching Basic
credentials. A proxy attaching `X-API-Token` or a Bearer token had the
same hole: a form or `no-cors` fetch from another site's page gets the
token added, no session cookie arrives, so `CheckCSRF` skips it and the
page spends the token's scopes.
Writes carrying a token and another origin's browser metadata are now
refused unless that origin has a CORS grant.
| Real server, Chromium | Before | After |
|---|---|---|
| Another site, proxy attaches all-scopes token: form POST creates API
token | created | not created |
| Another site, proxy attaches `settings:write` token: `no-cors` fetch
adds its origin to allowed origins | saved, then the page read the token
list | not saved |
| Same page, proxy attaches Bearer | same as above | not created, not
saved |
| Page sends its own token, no grant | browser refuses at preflight |
browser refuses at preflight |
| Page sends its own token, origin listed or `*` | 200 | 200 |
| Scripts sending a token: Node, curl, Python, through the proxy | 200 |
200 |
| Pulse UI on `?token=`, plain HTTP, `Host` rewritten: save a setting |
200 | 200 |
| Forwarder keeping `Origin` and the page's `Host` | 200 | 200 |
| **Forwarder keeping `Origin`, rewriting `Host`, plain HTTP** | 200 |
**403** |
| The same forwarder, page origin listed or browser headers removed |
200 | 200 |
**Why fix it with no known deployment**
I found no deployment that attaches a token at a proxy: nothing in 1,470
issues, 7,322 issue comments, 301 discussions, the docs, public GitHub
code or a web search. One user asked about sending the API key to skip
the login screen in #327 and was pointed elsewhere. It would also make a
poor login bypass, because a browser behind such a proxy still gets the
login screen at `/`.
I also found no client that breaks. Agents, `pulse-mcp` and install
scripts send no browser metadata, and the relay allowlist drops it for
pulse-mobile. Pulse's own pages are same-origin or carry the web client
marker. Homepage's `customapi` builds its own headers, Grafana's data
source proxy strips `Origin` and `Referer`, and `pulse-ha` only reads
with a `monitoring:read` token.
With neither side evidenced, the two failures aren't equal: one is a
silent takeover at the token's scope, the other a loud 403 fixed by one
setting.
**Decisions**
- `*` admits the write, unlike Basic. A page under `*` may send its own
token, and Pulse cannot tell that apart from one a proxy attached, so
the hole stays open under `*`. Operators who set `*` have chosen to let
any site call the API.
- A forwarder that adds a token for anyone must not strip the browser
headers to get past this, since that reopens the hole.
`TROUBLESHOOTING.md` says so.
- A proxy that forwards only with a `SameSite=Lax` sign-in cookie was
already safe: the cross-site POST never got through it.
**Not changed**
A script that sets a foreign `Origin` or `Referer` itself is judged as a
browser, as under Basic and proxy auth. Reads keep their admission.
**Testing**
`TestBasicAuthenticatedBrowserWritesRequireExactOrigin` gains token and
Bearer cases, and `TestCrossSiteAPITokenWriteIsAudited` is new. On the
unfixed code the new refusal cases and the audit test fail. The
real-server runs used builds from `3426169db9`. The targeted
`internal/api` tests ran on this tree; CI is the first full-package run.
Each Pulse restart lengthened an agent's next command channel reconnect,
up to five minutes, however long the agent had been connected. For that
whole wait its actions read as not connected. Found while verifying
#3988 on a real two-install rig, where one agent reached `failures: 8,
retry_in: 280s`.
`Run` raised its failure count on every error from `connectAndHandle`
and reset it only on a nil return, which `connectAndHandle` can never
make.
## The rule
A session that stays in the message loop for a minute restarts the
backoff when it ends. Everything else still backs off: shorter sessions,
refused or failed registrations, and an action runner Pulse admits but
cannot activate.
**Why a minimum.** Pulse evicts a session when another agent registers
the same identity, so resetting on admission would let two such agents
evict each other every 10 seconds forever, dropping the live session
each time. The minimum has to stay above the 10-second base delay for
that loop to back off. A minute also outlasts the first 30-second
keepalive, so a connection that dies on that ping does not count as
healthy.
**Why not `markAdmitted`.** It stays set for the client's whole life, so
refusals after the first admission would look healthy. The rule reads
the session that just ended.
## Evidence
Real binaries against a real Pulse on `pulse-dev`:
| Four restarts, 70s apart | Seconds to hold a session again |
|---|---|
| Before | 9, 22, 39, 78 |
| After | 10, 10, 10, 9 |
| Two agents sharing one identity | Evictions in 240s |
|---|---|
| Reset on any admission | 23, every 10s throughout |
| After | 9, gaps widening to 73s |
The new tests run the real `Run` loop against a scripted Pulse and read
the `retry_in` values the client logs. They passed 30 repeats under
`-race`, and each of five wrong implementations fails them: never
resetting, resetting on any admission, reading the admission flag, never
measuring uptime, and counting a failed runner activation as a session.
Not exercised on real binaries: a real action runner. That path is
covered only by the test against a scripted Pulse.
This is agent code, so it reaches a machine only when that machine's
agent updates.
Refs #2681
A pull request that reaches no benchmarked package in a shard leaves
that shard's timing files empty by design. Since #3985 made the check
refuse empty comparisons, every such shard fails with "No paired
benchmark comparisons found". That turned Benchmarks red on #3989 and
#3990, neither of which measured a slowdown.
The comparison step now ends with "nothing to compare" only on the
collector's own declaration: `selection=affected`, an empty `packages=`
and both timing files empty. Selected packages with no results, another
selection rule, missing metadata and samples beside the declaration all
still fail, and a measured shard is judged as before.
`test_benchmark_workflow_contract.py` runs the step's real command on
these cases. Against the old step, the empty-shard case fails.
Contract-Neutral: CI comparison admission only; no application runtime
or public contract change.
Replaces #3987, whose commit failed the per-commit governance guard. A
commit on top can't clear that, so this is a fresh branch rather than a
force-push.
Trying the provider bundle needed a domain, a Cloudflare account and an
API token. Setup now works without them.
- **No DNS token:** per-client certificates over HTTP-01.
- **No domain:** `pulse.<ip>.sslip.io`, labelled trial-only. It shares
one Let's Encrypt allowance, and moving to a real domain means
reinstalling agents.
- **Handoff:** waits for the client's certificate instead of landing on
a browser TLS error, and restarts Traefik with a growing backoff if it
stays missing.
- **Setup errors:** port 80 and shared-limit failures are explained in
plain words.
Blank settings keep today's DNS-01 behaviour. `/msp` copy changes only
after a release carries this.
## Proof
Fresh Ubuntu 24.04 droplet, real Let's Encrypt certificates, using a
prospect's steps.
| Result | Build |
|---|---|
| Setup with Enter at the domain prompt: 1m47s, certificate verified
from another network | v6.8.0-beta.1 images, this branch's unsigned
stamped bundle |
| Client certificate served 8s after healthy | same |
| Add then immediate Open held about 7s, then reached the client signed
in with entitlements active | release-tagged control plane from an
earlier build of this branch, on the beta.1 image |
| Real agent from another network reporting Healthy (systemd container,
not a full VM) | same |
| Port 80 blocked: setup explains it, the wait page retries, and the
certificate issues about 10s after unblocking | same |
| An existing client opens through the verifying certificate check,
signed in with entitlements active | release-tagged control plane from
this commit, on the beta.1 image |
## Not proven
- A live Let's Encrypt 429 on the shared name. Sampling admitted every
sslip.io and nip.io order; the 429 paths use fakes.
- A lease past 24 hours. That check is still running on the droplet.
- Add then immediate Open, and the blocked port 80 wait, on the
verifying check. The test licence was at its two-client limit, so these
ran on the earlier build. Unit tests cover the hold and the failed
verification.
- The backoff staying with the client that started it: unit tests only.
- The retry command setup prints after a failure: its `up
--force-recreate` errored on a test-only network clash from running two
stacks on one host. Traefik still restarted and the certificate
verified.
## Tests
`scripts/installtests`, `internal/cloudcp/...` and
`test_msp_portal_readiness.py` ran on this commit. The only failure is
`TestInstallSHNASBootOwnersQuiesceBeforeRecoveryErasure`, which fails
the same way on clean main on `pulse-dev`.
`TestFrontendCIBuildTransferIsSourceBound` failed once in an earlier
full run and passes alone, on this branch and on its parent; it passed
in this run.
The non-required Benchmarks check fails when a shard selects no
benchmarked packages, whatever the change:
`scripts/run-ci-benchmarks.sh` exits with empty files and
`scripts/check-bench-regression.sh` then refuses them.
Use the existing public delivery-log destination ID for receipt projection failures so raw support logs do not expose the internal credential-bearing receiver fingerprint. Preserve delivery identity and queue semantics.
A proxy that adds X-API-Token or a Bearer token to every request also
adds it to a form or no-cors fetch from another site's page. No session
cookie arrives, so CheckCSRF skips the request and the page spends the
token's scopes. On a real server such a page created API tokens and added
its own origin to allowed origins, then read the token list.
A page cannot send its own token without a CORS grant, because the browser
stops it at preflight, so requiring a grant refuses no such page. Any grant
admits the write, including *, where a page may legitimately send a token
and Pulse cannot tell that apart from one a proxy attached.
Clients sending no browser metadata are unaffected. A forwarder that
rewrites Host and passes on the browser's Origin now gets 403, and listing
the page's origin admits it.
Persist destination generations and accepted occurrence facts before final queue settlement. Hold delivery across incomplete restore while alert detection continues. Keep shared producer admission and operator disposition tracked in L6.
A pull request that reaches no benchmarked package in a shard leaves that
shard's timing files empty by design. Since the check began refusing empty
comparisons, every such shard has failed with "No paired benchmark comparisons
found", turning the Benchmarks check red on PRs with no slowdown.
The step now ends with "nothing to compare" only on the collector's own
declaration: an affected selection, an empty package list and two empty timing
files. Every other empty comparison still reaches the check and fails.
Contract-Neutral: CI comparison admission only; no application runtime or public contract change
Every disconnect counted as a failure, and the only reset sat behind a
nil return that connectAndHandle can never make. So each Pulse restart
lengthened that agent's next reconnect, up to five minutes, however long
it had been connected. For that whole wait its actions read as not
connected.
A session that stays in the message loop for a minute now restarts the
backoff when it ends. Refused and failed registrations still back off,
and so does an action runner Pulse admits but cannot activate. The rule
reads the session that just ended, because the client's admission state
stays set for its whole life.
Admission alone would not do. Pulse evicts a session when another agent
registers the same identity, so two such agents would evict each other
every 10 seconds forever, dropping the live session each time. The
minute also outlasts the first 30-second keepalive, so a connection that
dies on that ping does not count as healthy.
Measured with real binaries against a real Pulse:
Four restarts, 70 seconds apart: seconds to hold a session again
before 9, 22, 39, 78
after 10, 10, 10, 9
Two agents sharing one identity: evictions in 240 seconds
reset on any admission 23, every 10 seconds throughout
after 9, gaps widening to 73 seconds
This is agent code, so it reaches a machine only when that machine's
agent updates.
Refs #2681
Trying the provider bundle meant owning a domain, a Cloudflare account
and an API token first, which stopped people evaluating it on a cheap
public server.
With no token, setup now requests per-client certificates over HTTP-01.
With no domain, it uses pulse.<ip>.sslip.io and labels the install
trial-only: that name shares one Let's Encrypt allowance, and agents
hard-code the address, so moving to a real domain means reinstalling
them. Blank settings keep today's DNS-01 behaviour.
Per-client certificates arrive after a client turns healthy, and Traefik
does not retry a failed validation by itself. Handoff therefore holds on
a wait page until the certificate is served, and restarts the ingress
with a growing backoff if it stays missing. Setup now explains port 80
and shared-limit failures in plain words.
The cross-site Basic check's comment and contract note said a browser
resends Basic credentials it has cached for a site. When tested, Chromium
did not send them on a cross-site form or fetch, so neither text should
state it. A proxy adding the credentials remains the confirmed case.
The contract note now also records what a real browser showed: a proxy's
own SameSite=Lax sign-in cookie is not sent on a cross-site POST, so that
proxy stops the request before Pulse sees it. No behaviour changes.
Contract-Neutral: router.go changes only a comment; no runtime or API behaviour changes
A reverse proxy that adds Basic credentials to every request also adds
them to a form another site's page submits. No session cookie arrives, so
CheckCSRF skips the request, and the credentials admit the write. On a
real server behind such a proxy, a page on another site created an API
token and added its own origin to the CORS allow-list. The same request
under secret-header proxy auth was already refused.
Writes carrying Basic credentials now pass the origin check proxy auth
uses. An origin the operator listed exactly stays admitted, and "*" grants
nothing, as with the CORS response. Clients sending no browser metadata,
such as curl and the eval and qualification clients, are untouched.
A browser on plain HTTP sends no Sec-Fetch-Site, and a proxy that rewrites
Host then makes Pulse's own pages look foreign. Without an exception this
fix would have refused every write from such a browser, and proxy auth
already did. The check now accepts the web client's marker on that path,
because no Pulse CORS response allows that header, and a test pins that.
Minting a setup token skipped both checks because it needs no session
CSRF token. The token is a credential, so the origin checks now apply.
Two Proxmox installations that reuse a node name or a VM name could not
both hold a command channel. The command server admitted one session per
hostname per tenant, so the second agent was refused on every retry and its
actions read "not connected". After a Pulse restart, whichever agent came
back first won, which dropped the other node's LXC Docker containers.
That rule came from c41edb65a0. Before it, a hostname lookup took the first
map match, so two same-named sessions meant a random machine. The rule fixed
the tie but not the cause. A hostname still does not name a machine: the
first token to connect held the name and locked the real machine out, and a
lone holder answered for a same-named machine that was offline.
Sessions are now keyed by tenant and agent ID alone. One agent ID from two
hostnames stays refused. The server has no lookup by hostname any more, and
each route that picked a session by name now asks by identity:
- Proxmox guest actions and Patrol probes start from the guest's own record.
A typed lifecycle action carries only a VMID, so a runner chosen by node
name could have changed another machine's guest with the same VMID.
- The legacy Assistant route and its cluster peer lookup took whichever agent
a hostname map held last, and now refuse a tie.
- The connections ledger no longer falls back to the hostname, so a machine
with no session stops reading as connected through its namesake's.
- A name lookup never reads an agent ID as a name, since a token holder picks
its own first ID.
A proven node agent with no session yet now dispatches nothing instead of
counting as a node failure. Those failures opened the node breaker while
agents reconnected after a restart, and the node's LXC containers then left
the Docker page for the backoff window.
Refs #2681
Every request authenticated with Basic credentials created a session,
persisted it and wrote a login audit event. The auth check runs twice on
a routed request, so one call took two of the user's ten session slots.
Anything polling with Basic credentials, such as a script or a dashboard
widget, kept signing its owner's browser out.
An API client's Basic credentials now authenticate one request and issue
nothing, as an API token does. Only Pulse's own web client, which marks
its API calls, still gets a session: a browser behind a proxy that
forwards Basic credentials relies on it, and without it pays for a
password check per call and loses its Settings pages.
A cookie reaching the Basic branch was rejected, and handlers read the
username from the cookie, so it is still retired. A password used only
over Basic must leave a trace, so the first call per organization, user
and address is audited, then once a day. Failures stay audited.
Recovery commands expand the parsed recipe inventory, and native builds now
report their own compiler OS and ARM variant. Keep those expectations explicit
and exclude verifier unit tests from production provider seals while retaining
the verifier itself. Run these controls in the standalone proof as well.
The runtime implementation remains unchanged. These corrections address the
documentation and native qualification failures on the reviewed source head.
Substring version checks admitted stale agents and dependency literals, while
ARMv6 executables could select ARMv7 updates. Share compiler target and exact
release identity admission across producers, downloads and activation, and
keep validated local downloads bound to their open file descriptor.
Cover bounded runtime probes, failure atomicity, canonical executable formats,
ARM emulation and saved-state installer repair boundaries. Retain the installed
ARM fleet and physical-device gap, and leave release qualification open.
Journal admitted facts independently of SQLite, replay them in transaction order, and keep missing-history evidence explicit until administrative acknowledgement. Preserve fail-open callbacks and reconcile active recovery markers with retained lifecycle facts.
The hover outline overrode the chosen bar's blue one, so the bar you had just
clicked turned thin and grey until the pointer moved away. The separator before
View restore points was also left at the end of the line when the link wrapped.
A click on a bar filtered a list that was mostly below the fold, so at common
desktop sizes it hardly read as the table changing, and a failed day never
scrolled at all. With hover the names were already shown, so a click now brings
the rows into view unless enough of the list shows. Without hover a failed day
still stays on the card, now with the rest of its names and the list a button
away.
A day's empty list also blamed the day when a search had hidden its rows. It now
speaks for the day only when no other filter is active.