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
21 changes: 21 additions & 0 deletions COMPATIBILITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Compatibility Contract

## Server v1.6.606 component update

Web Console **1.6.242** shares a parsed-image update candidate between Stack
rows, service details and direct update URLs. It requires the native resource
action, preserves custom repositories/tags and digest pins, and does not use
substring inclusion as image identity. The native image-only action and
primary/secondary rollback configuration from 1.6.241 are retained.

The Settings API is permission-filtered. `lb.instance.image` is public;
`lb.instance.image.uuid` requires the corresponding administrator policy.
An internal-setting 404 from a less privileged key is not a failed runtime
value. Missing source metadata remains unknown. Existing defaults need no
database row; authorized changes use the existing Setting API and effective
readback. See the [settings procedure](docs/upgrades/README.md#managed-load-balancer-image-settings).

Source tests and release Catalog reads do not establish workload UI acceptance.
In particular, the earlier maintained-runtime Cron fixture does not qualify
original v0.5.0 execution. The [release note](docs/releases/server-1.6.606.md)
keeps those scopes explicit. Engine, Catalog, scheduler and LB binary identities
are unchanged by this UI patch.

## Server v1.6.605 published

Immutable image `ghcr.io/pasturestack/server:v1.6.605@sha256:b8ee185b9479e43b746b97d178aef883e3e5b26b4ecde811bbbc35fa86523266`.
Expand Down
53 changes: 53 additions & 0 deletions docs/releases/server-1.6.606.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Server v1.6.606

This release packages Web Console 1.6.242, whose managed LB update entries use
parsed image identities and the same candidate in Stack rows, service details
and direct image-update URLs. It preserves custom repositories/tags, digest pins
and digest-only selections, and requires the resource's native upgrade action.
The existing native image-only upgrade and previous-launch-config rollback
behavior remain unchanged.

## Verified component inputs

Web Console 1.6.242 producer: `948fa3833797ebdac75d8eb89026b354613f23de`.
Archive SHA-256: `61545513d850cc5a69b110d49b51c087a6e1327a95c4d83548839e9144351f21`.
Runtime SBOM SHA-256: `00d5cd731e71595a32d80a541ed2977eabdfddee1e9d40106c3dde09ae916cb7`.
Dependency lock SHA-256: `4d30635e6f84d10dfeb83b301c5159ccbe20608660b34a70e307712d08da3eda`.
The full source qualification passed 1174 tests and required CodeQL. The exact
main producer uses an identical Git tree; it does not claim another full test run.
The unchanged Server consumer verified the original archive/SBOM identity and
enabled/off WebMCP profile. Provenance and CycloneDX attestations bind that same
archive and exact main source. Browser SBOM inventory coverage remains incomplete.

Engine 0.183.395, Catalog Service 0.20.20, Agent 1.2.36, Catalog pin
`8c1c28318580d5ec18c14a13b224ce0e02e40bf8` and LB Service 0.9.35 / HAProxy 3.4.8
retain their existing component identities. There is no scheduler, firewall,
authentication or load-balancer binary change in this Server patch.

## Settings visibility and update contract

The public `lb.instance.image` setting and internal `lb.instance.image.uuid`
have different visibility. A token receiving a 404 for the latter does not
establish an invalid Engine value. Use an authorized administrator and the
resolved fields actually returned by the Settings API; missing `source` is
unknown, not evidence of a database override. Do not insert a database row to
make a read return 200. See the [supported procedure](../upgrades/README.md#managed-load-balancer-image-settings).

## Acceptance boundaries

Publication checks, exact Catalog reads, real browser submissions and workload
runtime behavior are separate evidence. The earlier legacy-Catalog UI fixture
used a maintained 0.6.1 runtime: that result does not establish an original
0.5.0-to-0.6.2 scheduler migration. Its historical files and unrelated passing
results remain retained. Existing operators still use native upgrade, rollback
and finish transactions; updating the Server alone does not replace running
Cron or LB containers.

## Upgrade and recovery

Keep the existing volumes, environment overrides, HTTPS origin, AppArmor and
restart policy. Preserve the previous Server image/container and a verified
database backup before replacing the Server. Explicit custom Catalog pins are
retained; an inherited image default follows the new image. Workload image
rollback retains the previous primary and secondary launch configurations until
Finish Upgrade. Separately persisted service metadata keeps its own semantics.
45 changes: 34 additions & 11 deletions docs/upgrades/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,38 @@ the retained settings pass. Finishing consumes the native rollback point.

## Managed load-balancer image settings

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:
Server v1.6.606 selects Load Balancer Service v0.9.35 for new load balancers.
Read settings with an authorized administrator, using the console's API View
or the same authenticated Settings API. Keep each request's status and the
fields actually returned (`value`, `activeValue`, `inDb`, and optional `source`).

| Setting | Selected v1.6.605 component |
| Setting | Selected 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` |

The image and image UUID must identify the same selected component. If an
existing database setting is intentionally being advanced, explicitly update
both keys through the standard settings interface or Setting API and read back
their effective values and sources. Updating only `lb.instance.image` can leave
an older UUID active. Keep deliberate custom image selections unchanged.
`lb.instance.image` is in the public-setting allowlist. The internal image UUID
requires a policy allowed to list all settings; a System Service or scoped API
key need not have that policy. Its 404 or omission from a collection does not
prove that the internal value is missing or incorrect. A missing `source` field
is unknown, not a database diagnosis. Do not add a database row, relax the
allowlist or change permissions merely to make that read return 200.

The image and image UUID must resolve to the same selected component. Check
explicit overrides separately from the image's `DEFAULT_CATTLE_*` values and
the Engine's derived `docker:${lb.instance.image}` default. When defaults
already resolve correctly and `inDb` is false, leave them inherited; no new
database setting is needed. If a deliberately retained override is being
advanced, preserve its original value/source and use the existing authorized
Setting API `PUT` on its self link with `{"value":"..."}`. Read back the
effective values afterward. An independent older UUID override must be handled
explicitly; changing only the public image value does not remove it. Keep
deliberate custom image selections unchanged.

Two separate setting updates are not an atomic transaction. If a required
second update fails, restore the first through the same supported interface
and verify the previous effective pair. Updating a setting and upgrading an
already running service are separate operations; do not use direct SQL.

This setting change controls new creation; existing load-balancer services need
their normal service upgrade, HTTP and certificate-verified HTTPS acceptance,
Expand All @@ -100,7 +118,7 @@ setting changes when its image is replaced.

### Native load-balancer upgrade and rollback

Server v1.6.605 packages Web Console 1.6.241 with the native load-balancer
Server v1.6.606 packages Web Console 1.6.242 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
Expand All @@ -118,7 +136,12 @@ 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
Both Stack rows and service details expose the same explicit image candidate,
including the old and new tags. The managed update entry preserves custom
repositories/tags and explicit digest pins; a tag string alone cannot establish
a digest identity. Ordinary editing does not select a different image. The
direct image-update URL rechecks the resource action and candidate as well.
See the [release note](../releases/server-1.6.606.md) for the exact publication
identity and scoped acceptance status.

## Catalog infrastructure-stack upgrades
Expand Down
46 changes: 23 additions & 23 deletions scripts/check-server-api-explorer-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ require_marker "$release_dockerfile" \
SERVER_INCREMENTAL_RELEASE_BASE_MISSING
for web_sbom_release_marker in \
'COPY --chmod=0755 artifacts/verify-web-console-sbom.py /usr/local/bin/verify-web-console-sbom' \
'ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.241-runtime.cdx.json' \
'ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.242-runtime.cdx.json' \
'"${WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT}" "${WEB_CONSOLE_RUNTIME_SBOM_SHA256}" "${web_sbom}";' \
'--lock-sha256 "${WEB_CONSOLE_LOCK_SHA256}" --archive "${web_archive}"' \
'--webmcp-ceiling enabled;' \
Expand Down Expand Up @@ -573,7 +573,7 @@ python3 scripts/test-web-console-sbom.py
python3 server/security/test_web_console_sbom_scan.py

require_marker "$release_dockerfile" \
'ARG SERVER_RELEASE_TAG=v1.6.605' \
'ARG SERVER_RELEASE_TAG=v1.6.606' \
SERVER_INCREMENTAL_RELEASE_DEFAULT_MISSING
require_marker "$release_dockerfile" \
'org.opencontainers.image.version="${SERVER_RELEASE_TAG}"' \
Expand Down Expand Up @@ -631,22 +631,22 @@ require_marker "$publish_workflow" \
'bash source/server/artifacts/verify-host-api-package.sh' \
SERVER_HOST_API_PRODUCER_RELEASE_CHECK_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_RELEASE_TAG=1.6.241' \
'ARG WEB_CONSOLE_RELEASE_TAG=1.6.242' \
SERVER_INCREMENTAL_WEB_CONSOLE_VERSION_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.241.tar.gz' \
'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.242.tar.gz' \
SERVER_INCREMENTAL_WEB_CONSOLE_ARTIFACT_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_ARTIFACT_SHA256=ef9cc7c4b8828307c695d6d91d54356f0086bde354b0ec24d0b7f2a1d36b3ab8' \
'ARG WEB_CONSOLE_ARTIFACT_SHA256=61545513d850cc5a69b110d49b51c087a6e1327a95c4d83548839e9144351f21' \
SERVER_INCREMENTAL_WEB_CONSOLE_HASH_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_COMMIT=731f79004714150786b6e5e12d06683927a9d14e' \
'ARG WEB_CONSOLE_COMMIT=948fa3833797ebdac75d8eb89026b354613f23de' \
SERVER_INCREMENTAL_WEB_CONSOLE_COMMIT_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_LOCK_SHA256=78113228da4436f01ad6c0f4561823dc76d1add75d0991bc2e1317622d63a9ff' \
'ARG WEB_CONSOLE_LOCK_SHA256=4d30635e6f84d10dfeb83b301c5159ccbe20608660b34a70e307712d08da3eda' \
SERVER_INCREMENTAL_WEB_CONSOLE_LOCK_HASH_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=35e7d656ca97e100a03eeea7eb6af9ad7c2e4adb6ecd78e553eb4305f8d1a08c' \
'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=00d5cd731e71595a32d80a541ed2977eabdfddee1e9d40106c3dde09ae916cb7' \
SERVER_INCREMENTAL_WEB_CONSOLE_SBOM_HASH_MISSING
require_marker "$release_dockerfile" \
"grep -aF 'hostsPage.permissionDenied'" \
Expand All @@ -655,22 +655,22 @@ require_marker "$release_dockerfile" \
'"hostsPage.permissionDenied":"您沒有權限在此環境中新增主機。"' \
SERVER_INCREMENTAL_WEB_CONSOLE_ZH_TW_PERMISSION_MESSAGE_MISSING
require_marker "$build_script" \
'web_console_commit=${WEB_CONSOLE_COMMIT:-731f79004714150786b6e5e12d06683927a9d14e}' \
'web_console_commit=${WEB_CONSOLE_COMMIT:-948fa3833797ebdac75d8eb89026b354613f23de}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_COMMIT_MISSING
require_marker "$build_script" \
'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.241}' \
'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.242}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_VERSION_MISSING
require_marker "$build_script" \
'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.241.tar.gz}' \
'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.242.tar.gz}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_ARTIFACT_MISSING
require_marker "$build_script" \
'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-ef9cc7c4b8828307c695d6d91d54356f0086bde354b0ec24d0b7f2a1d36b3ab8}' \
'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-61545513d850cc5a69b110d49b51c087a6e1327a95c4d83548839e9144351f21}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_HASH_MISSING
require_marker "$build_script" \
'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-78113228da4436f01ad6c0f4561823dc76d1add75d0991bc2e1317622d63a9ff}' \
'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-4d30635e6f84d10dfeb83b301c5159ccbe20608660b34a70e307712d08da3eda}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_LOCK_HASH_MISSING
require_marker "$build_script" \
'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-35e7d656ca97e100a03eeea7eb6af9ad7c2e4adb6ecd78e553eb4305f8d1a08c}' \
'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-00d5cd731e71595a32d80a541ed2977eabdfddee1e9d40106c3dde09ae916cb7}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_SBOM_HASH_MISSING
require_marker "$release_dockerfile" \
'ARG CATALOG_SERVICE_VERSION=0.20.20' \
Expand Down Expand Up @@ -1141,10 +1141,10 @@ require_marker "$build_script" \
'--file server/Dockerfile.web-compose-release' \
SERVER_INCREMENTAL_RELEASE_BUILD_PATH_MISSING
require_marker "$build_script" \
'image=${IMAGE:-pasturestack-validation/server:v1.6.605}' \
'image=${IMAGE:-pasturestack-validation/server:v1.6.606}' \
SERVER_INCREMENTAL_RELEASE_BUILD_VERSION_MISSING
require_marker "$build_script" \
'server_release_tag=${SERVER_RELEASE_TAG:-v1.6.605}' \
'server_release_tag=${SERVER_RELEASE_TAG:-v1.6.606}' \
SERVER_INCREMENTAL_RELEASE_BUILD_DEFAULT_MISSING
require_marker "$build_script" \
'CATTLE_RANCHER_SERVER_VERSION="${server_release_tag}"' \
Expand Down Expand Up @@ -1701,10 +1701,10 @@ fi
if grep -Fxq '## Current source candidate' README.md; then
for candidate_readme_marker in \
'<a id="current-release"></a>' \
'Server `v1.6.605` is a prepared source candidate, not a published image.' \
'Server `v1.6.606` is a prepared source candidate, not a published image.' \
'run them only after its official release' \
'This candidate is not yet available' \
'ghcr.io/pasturestack/server:v1.6.605'; do
'ghcr.io/pasturestack/server:v1.6.606'; do
require_marker README.md "$candidate_readme_marker" \
SERVER_CURRENT_CANDIDATE_README_MISSING
done
Expand Down Expand Up @@ -2318,7 +2318,7 @@ done
jq -e '
["CVE-2026-107928","CVE-2026-107929","CVE-2026-86409","CVE-2026-86410","CVE-2026-86412","CVE-2026-86414","CVE-2026-87862","CVE-2026-87863","CVE-2026-87864","CVE-2026-87865","CVE-2026-92386","CVE-2026-92387","CVE-2026-92388","CVE-2026-92389","CVE-2026-92390","CVE-2026-92391","CVE-2026-92392","CVE-2026-94266"] as $curl_fixed_cves
| .["@context"] == "https://openvex.dev/ns/v0.2.0"
and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.605"
and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.606"
and (.statements | length) == 59
and ([.statements[] | select(.vulnerability.name == "CVE-2026-82560")] | length) == 1
and any(.statements[];
Expand Down Expand Up @@ -2391,7 +2391,7 @@ jq -r '
| @tsv
' "$runtime_vendor_pending" | LC_ALL=C sort -u >"$vendor_pending_fixture"
bash "$vendor_pending_validator" "$runtime_vendor_pending" \
"$vendor_pending_fixture" v1.6.605 >/dev/null
"$vendor_pending_fixture" v1.6.606 >/dev/null
bash scripts/test-vendor-pending-findings.sh >/dev/null
rm -f "$vendor_pending_fixture"
trap - EXIT
Expand Down Expand Up @@ -2483,8 +2483,8 @@ done
for native_asset_marker in \
'ARG ORCHESTRATION_ENGINE_ASSET_API_URL=https://api.github.com/repos/PastureStack/orchestration-engine/releases/assets/733683735' \
'ARG COMPOSE_EXECUTOR_ASSET_API_URL=https://api.github.com/repos/PastureStack/compose-cli/releases/assets/741756962' \
'ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/785372449' \
'ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/785372423'; do
'ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/786154046' \
'ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/786154048'; do
require_marker "$release_dockerfile" "$native_asset_marker" SERVER_OFFICIAL_ASSET_API_COORDINATE_MISSING
done
require_marker server/artifacts/fetch-server-component.sh "--header 'Accept: application/octet-stream' --header 'Range: bytes=0-'" SERVER_OFFICIAL_ASSET_API_HEADERS_MISSING
Expand All @@ -2495,4 +2495,4 @@ require_marker server/artifacts/fetch-server-component.sh 'Component response mu
# Execute the shared archive verifier controls before starting an image build.
python3 -B "$repo_root/scripts/test-engine-archive-contract.py"

printf 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.605 base=v1.6.460 engine=0.183.395 web_console=1.6.241 catalog_service=0.20.20 webhook_automation_service=0.10.6 authentication_service=0.4.47 curl=8.18.0-1ubuntu2.8 freemarker=2.3.35 artifact_scan=required vendor_pending=exact-set role_matrix=qa-required locale_layout=qa-required\n'
printf 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.606 base=v1.6.460 engine=0.183.395 web_console=1.6.242 catalog_service=0.20.20 webhook_automation_service=0.10.6 authentication_service=0.4.47 curl=8.18.0-1ubuntu2.8 freemarker=2.3.35 artifact_scan=required vendor_pending=exact-set role_matrix=qa-required locale_layout=qa-required\n'
Loading