Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions COMPATIBILITY.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
# Compatibility Contract

## Server v1.6.605 prepared, not published
## Server v1.6.605 published

Immutable image `ghcr.io/pasturestack/server:v1.6.605@sha256:b8ee185b9479e43b746b97d178aef883e3e5b26b4ecde811bbbc35fa86523266`.
Producer `339b425bb851fc621dd4988d0df57be6d8d61944`.
[Publication and required checks](https://github.com/PastureStack/server/actions/runs/45314344841)
passed, including native runtime checks and fresh-volume startup/restart with
eighteen exact Catalog API reads per phase.

Web Console **1.6.241** preserves the prior primary and secondary launch
configurations for native load-balancer image rollback. Separately saved
service-level name, description, scale and `lbConfig` edits retain their
existing metadata semantics; image rollback does not make them transactional.
The existing WebMCP build ceiling remains `enabled` with initial mode `off`.

Prepares Web Console **1.6.241** for native load-balancer upgrade and rollback.
Catalog Service **0.20.20**, Load Balancer Service **0.9.35**, Engine
**0.183.395**, persistent data and explicit operator settings retain their
existing contracts. No Server image identity or deployment acceptance is claimed.
See the [candidate note](docs/releases/server-1.6.605.md).
**0.183.395** and the existing package versions retain their identities.
The Ubuntu build downloader uses a fixed signed official snapshot whose 24
selected package identities match v1.6.604; the runtime installer is unchanged.
Isolated existing-installation acceptance passed startup/restart and a
continuous seven-phase LB UI sequence: image-only upgrade, actual prior-image
rollback, then description edit, upgrade, finish and refresh. All eighteen HTTP
and certificate-verified TLS 1.2/1.3 probes passed. Normal fixture cleanup
restored the original Stack/service inventory and retained protected images,
volumes and the previous Server rollback point. No production site was modified.
See the [release note](docs/releases/server-1.6.605.md) and
[upgrade guide](docs/upgrades/README.md).

## Server v1.6.604 published

Expand Down
26 changes: 11 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ upstream history, authorship, licenses, and notices.

## Current release

[Server v1.6.604](https://github.com/PastureStack/server/releases/tag/v1.6.604)
packages Engine `v0.183.395`, Web Console `1.6.239`, optional Bridge `0.2.37`,
[Server v1.6.605](https://github.com/PastureStack/server/releases/tag/v1.6.605)
packages Engine `v0.183.395`, Web Console `1.6.241`, optional Bridge `0.2.37`,
and Compose `0.14.46`. New node registrations use Agent `v1.2.36`.
Host Provisioner `v0.39.12` retires verified legacy registrations on upgrade.

Managed load-balancer image upgrades preserve the previous primary and
secondary launch configurations for native image rollback. Separately saved
service-level metadata keeps its existing semantics; see the
[rollback boundary](docs/upgrades/README.md#native-load-balancer-upgrade-and-rollback).

Catalog Service `v0.20.20` loads the verified default Catalog bundled in the
image. It exposes the read-only legacy Container Crontab revision 3/4 path for
in-place upgrades while retaining the service key, metadata checks and settings.
Expand All @@ -28,21 +33,12 @@ branch, pin and access policy.

An image update preserves an explicit operator Catalog pin. Installations that
retain `CATTLE_CATALOG_URL` must select this release's reviewed pin to load the
new compatibility revisions. Clean installations use the new bundled defaults.
See the [release note](docs/releases/server-1.6.604.md),
these compatibility revisions. Clean installations use the new bundled defaults.
See the [release note](docs/releases/server-1.6.605.md),
[Catalog pin and lifecycle upgrade steps](docs/upgrades/README.md#legacy-container-crontab-migration)
and [compatibility contract](COMPATIBILITY.md). Workload deployment acceptance
remains separate from the publication checks.

## Next source candidate

Server `v1.6.605` prepares Web Console `1.6.241` with the native load-balancer
upgrade action so rollback retains the previous launch configuration. Its
[candidate note](docs/releases/server-1.6.605.md) records the component and
acceptance boundaries. Publication and affected UI acceptance are pending.
Catalog Service `v0.20.20`, Load Balancer Service `v0.9.35` and Engine
`v0.183.395` retain their existing identities.

## Component capabilities

Browser users can select an environment by name and review switching context or
Expand Down Expand Up @@ -103,15 +99,15 @@ docker run -d --name pasturestack-server --restart unless-stopped -p 8080:8080 \
-v pasturestack-cattle:/var/lib/cattle \
-v pasturestack-mysql:/var/lib/mysql \
-v pasturestack-mysqllog:/var/log/mysql \
ghcr.io/pasturestack/server:v1.6.604
ghcr.io/pasturestack/server:v1.6.605
```

For HTTPS termination at a reverse proxy, set the exact public origin:

```yaml
services:
pasturestack-server:
image: ghcr.io/pasturestack/server:v1.6.604
image: ghcr.io/pasturestack/server:v1.6.605
restart: unless-stopped
ports:
- "8080:8080"
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ operator deployment and business-workflow acceptance are recorded separately.

## Release notes

- [Current Server v1.6.604](releases/server-1.6.604.md) — Engine `0.183.395` /
Web Console `1.6.239` / optional Bridge `0.2.37`.
- [Current Server v1.6.605](releases/server-1.6.605.md) — Engine `0.183.395` /
Web Console `1.6.241` / optional Bridge `0.2.37`.

- [Release archive](RELEASE-ARCHIVE.md) — historical published and candidate notes retain
their original evidence, acceptance limits and rollback context; these are not
Expand Down
2 changes: 2 additions & 0 deletions docs/RELEASE-ARCHIVE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ original evidence and rollback limits.

## Historical contracts

- [Server v1.6.604](releases/server-1.6.604.md) — previous published release and scoped Cron/API acceptance.

- [Server v1.6.603](releases/server-1.6.603.md) — previous published release and scoped QA record.

- [Server v1.6.516](releases/server-1.6.516.md) — repair and acceptance record.
Expand Down
6 changes: 3 additions & 3 deletions docs/performance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ The following example is appropriate as a starting point for a dedicated
16-vCPU host with about 32 GiB of RAM. It is not a universal performance
profile; measure the real workload before increasing it further.

The example uses the published Server `v1.6.604`. Deployment and workload
acceptance remain environment-specific. See the [release note](../releases/server-1.6.604.md)
The example uses the published Server `v1.6.605`. Deployment and workload
acceptance remain environment-specific. See the [release note](../releases/server-1.6.605.md)
and the [current release](../../README.md#current-release) for components.
Preserve existing runtime overrides and all three named volumes during an
upgrade or restart.
Expand All @@ -20,7 +20,7 @@ evidence is not a performance benchmark; measure the actual workload.
```yaml
services:
pasturestack-server:
image: ghcr.io/pasturestack/server:v1.6.604
image: ghcr.io/pasturestack/server:v1.6.605
restart: unless-stopped
ports:
- "8080:8080"
Expand Down
103 changes: 77 additions & 26 deletions docs/releases/server-1.6.605.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Server v1.6.605 candidate
# Server v1.6.605

## Candidate boundary
Published image: `ghcr.io/pasturestack/server:v1.6.605@sha256:b8ee185b9479e43b746b97d178aef883e3e5b26b4ecde811bbbc35fa86523266`.

Prepared source only; no Server image or release has been published.
Server build, publication, deployment and affected native/UI workflows remain
pending. The Web Console input below is already officially published.
Source commit: `339b425bb851fc621dd4988d0df57be6d8d61944`.

The release workflow passed its source, security, startup and restart checks before publishing this image. Deployment-specific acceptance is separate and is not claimed by these build results.

## Verified component inputs

Expand Down Expand Up @@ -50,27 +50,30 @@ this build-source correction does not advance the runtime package set.

## Managed load-balancer upgrade and rollback

The Web Console change submits the complete selected primary and secondary
launch configurations through the native service upgrade action. It preserves the active launch configuration as
the previous configuration until the operator chooses **Finish Upgrade** or
**Rollback**. Saving the replacement image to the service before starting its
upgrade would overwrite that rollback state; image-only upgrades no longer
perform that save. Actual name, description, scale and complete load-balancer
configuration edits use an allowlisted partial save without launch configurations
or public endpoints.

Keep the upgraded load balancer unconfirmed until the replacement containers,
actual HAProxy version, HTTP routing, and certificate-verified HTTPS pass.
Rollback must restore the retained previous image and configuration; inspect
both the service and its actual containers. **Finish Upgrade** consumes the
native rollback point.

This behavior applies to a new upgrade submitted with the corrected Web
Console. It does not reconstruct a previous launch configuration already
overwritten by an earlier UI operation. Existing operator pins and the
`lb.instance.image` / `lb.instance.image.uuid` settings retain precedence.
See the [upgrade guide](../upgrades/README.md#managed-load-balancer-image-settings)
for selecting the managed component and retaining its rollback point.
The Web Console submits the complete selected primary and secondary launch
configurations through the native service upgrade action. Their previous
values form the native image rollback point until **Finish Upgrade** or
**Rollback**. Image-only upgrades do not first save the replacement image onto
the active service.

Actual name, description, scale and complete `lbConfig` edits use an
allowlisted partial service save before the image upgrade, without saving
launch configurations or public endpoints. These separately saved
service-level fields retain their existing metadata semantics. This patch
does not make changed port rules, certificates or other service metadata
transactional with native image rollback.

Keep the upgraded load balancer unconfirmed until the actual replacement
image, HAProxy version, HTTP routing and certificate-verified HTTPS pass.
Image rollback must restore the retained previous primary/secondary launch
configurations and image in the service and its actual containers.
**Finish Upgrade** consumes the native rollback point.

The corrected path applies to a new upgrade submitted with this Web Console.
It does not reconstruct previous launch configurations already overwritten by
an earlier UI operation. Existing operator pins and the `lb.instance.image` /
`lb.instance.image.uuid` settings retain precedence.
See the [upgrade guide](../upgrades/README.md#managed-load-balancer-image-settings).

## Validation and rollback boundary

Expand All @@ -83,3 +86,51 @@ recorded artifacts and does not claim this corrected UI sequence has run.
Retain the previous Server container/image and persistent volumes. Server
rollback does not reverse a completed service upgrade; keep the service's own
rollback point until the affected behavior has passed.

## Published security evidence

The [published security summary](https://github.com/PastureStack/server/releases/download/v1.6.605/security-summary.txt)
retains 90 raw scanner findings and 58 vendor-pending findings. Its qualified
gate reports no untracked, critical/high, fixed-available or secret findings.
Browser scan coverage remains `incomplete`; this is not a claim of complete
browser coverage or an absence of all raw findings.

## Isolated load-balancer UI acceptance

The published image passed startup and an explicit restart on an isolated
existing installation. Host configuration, environment, mounts and AppArmor
were preserved, and the previous Server remained stopped and available for
rollback. The new runtime's complete 24-package signed-download manifest is
byte-for-byte identical to v1.6.604, with the manifest SHA-256 recorded above.

Minimal post-restart dependency readbacks retained both effective LB defaults
at v0.9.35, the same Catalog commit and readable exact legacy Container Crontab
revisions 3 and 4. These are readbacks, not repeated Catalog or Cron lifecycles.

One continuous seven-phase UI evidence chain, tied to seven observed browser
actions and the same service, passed. Its actual baseline was Load Balancer
Service v0.9.34 with HAProxy 3.4.7-8872a26. An image-only UI upgrade selected
v0.9.35 with HAProxy 3.4.8-1b15b69 while retaining v0.9.34 as the previous
launch configuration. UI rollback restored v0.9.34 and HAProxy 3.4.7 in both
the native API and actual running container.

The second round edited the description through the UI, upgraded to v0.9.35,
finished the upgrade, then refreshed the page. The description remained saved,
the API was healthy, and the finished container identity remained the same
after refresh. Ports, rules and certificates were unchanged throughout this
fixture. This acceptance covers native image rollback and separately saved
description metadata; it does not establish transactional rollback of changed
port rules, certificates or other service metadata.

All six observed runtime phases passed HTTP, certificate-verified TLS 1.2 and
TLS 1.3: eighteen probes returned success. No browser errors were recorded.
The accepted visible 1035-pixel viewport had no document overflow; visual
acceptance is limited to that visible view.

The temporary fixture Stack, its two services, certificate and test CA were
removed normally, leaving no fixture-owned Docker containers. The original
Stack/service inventory matched its baseline, all three Hosts and their
Agents were active, and protected images, volumes and the previous Server
rollback point were retained. This was isolated QA; no production site was
accessed or modified. Existing Catalog and Cron lifecycle evidence keeps its
original scope and was not replayed by this LB UI acceptance.
33 changes: 20 additions & 13 deletions docs/upgrades/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Bundled default Catalog

Server v1.6.604 includes the complete default Catalog Git source at its
Server v1.6.605 includes the complete default Catalog Git source at its
pinned commit and Catalog Service v0.20.20. On startup and refresh, the service verifies
the bundle SHA-256, complete Git objects and exact pinned commit before indexing
it. This applies only when the configured source URL, branch and pinned commit
Expand Down Expand Up @@ -33,7 +33,7 @@ rollback points until their affected networking and health checks pass.

## Legacy Container Crontab migration

Server v1.6.604 provides a read-only compatibility path for
Server v1.6.605 provides a read-only compatibility path for
`catalog://library:infra*container-crontab:3` to revision `4`. Verify that both
exact versions are readable before upgrading. The hidden compatibility template
retains the existing `container-crontab` service key, the `metrics` and
Expand All @@ -52,7 +52,7 @@ Before the Stack upgrade:
including `CATTLE_CATALOG_URL` and any `RC16_CATALOG_URL`. Keep deliberate
custom sources and pins unchanged.
2. For the built-in PastureStack source being advanced to this release, update
only its `pinnedCommit` to the reviewed commit recorded in the v1.6.604
only its `pinnedCommit` to the reviewed commit recorded in the v1.6.605
release note. Preserve the source name, URL, branch, all other Catalog entries
and unrelated environment values. Recreate the Server with the same volumes
and retained rollback container/image.
Expand All @@ -78,11 +78,11 @@ the retained settings pass. Finishing consumes the native rollback point.

## Managed load-balancer image settings

Server v1.6.604 selects Load Balancer Service v0.9.35 for new load balancers.
Server v1.6.605 selects Load Balancer Service v0.9.35 for new load balancers.
An explicit database or environment setting retains precedence over that image
default. Read the effective `activeValue` and `source` of both settings:

| Setting | Selected v1.6.604 component |
| Setting | Selected v1.6.605 component |
| --- | --- |
| `lb.instance.image` | `ghcr.io/pasturestack/load-balancer-service:v0.9.35` |
| `lb.instance.image.uuid` | `docker:ghcr.io/pasturestack/load-balancer-service:v0.9.35` |
Expand All @@ -100,19 +100,26 @@ setting changes when its image is replaced.

### Native load-balancer upgrade and rollback

Server v1.6.605 prepares Web Console 1.6.241 with a corrected load-balancer
upgrade path; see its [candidate note](../releases/server-1.6.605.md) for
publication and acceptance status. The UI submits the replacement configuration
through the native service upgrade action, preserving the active launch
configuration until **Finish Upgrade** or **Rollback**. Do not save the
replacement image onto the active service before starting the upgrade.
Server v1.6.605 packages Web Console 1.6.241 with the native load-balancer
image-upgrade path. The UI submits the complete primary and secondary launch
configurations through the service upgrade action, retaining their previous
values until **Finish Upgrade** or **Rollback**. It does not first save the
replacement image onto the active service.

Actual edits to service-level name, description, scale or the complete
`lbConfig` are saved separately before the image upgrade. Those fields retain
their existing metadata semantics; native image rollback does not promise to
roll them back transactionally. In particular, this fix does not establish
transactional rollback of changed port rules or certificates.

Before finishing, verify the actual replacement image and HAProxy version,
HTTP routing, certificate-verified HTTPS, rules, certificates and backend
health. A rollback must restore the previous image and retained configuration
in both the service and its actual containers. Finishing consumes that rollback
health. Image rollback restores the retained primary/secondary launch
configurations and previous image. **Finish Upgrade** consumes that rollback
point. The corrected path does not recreate a previous launch configuration
that an earlier UI operation already overwrote.
See the [release note](../releases/server-1.6.605.md) for the exact publication
identity and scoped acceptance status.

## Catalog infrastructure-stack upgrades

Expand Down