First-party container release automation¶
Awesome LocalStack consumes application images but does not build another repository's source for release. Each source repository owns its tests, version, Dockerfile, multi-platform build, SBOM, provenance, and registry publication. This repository owns the tested compatibility set, immutable Compose references, profile verification, deployment, and rollback.
Repository ownership¶
| Source repository | Docker Hub image | Release gate owned by the repository |
|---|---|---|
backend-rs |
slawekradzyminski/backend-rs |
Rust tests against Postgres, clippy and container smoke (the golden replay of the Java answers was dropped in 1.0.2) |
vite-react-frontend |
slawekradzyminski/frontend |
unit tests, production build, browser tests, Docker smoke |
ollama-mock-rs |
slawekradzyminski/ollama-mock-rs |
Rust tests, clippy and the container contract script |
jms-email-consumer-rs |
slawekradzyminski/consumer-rs |
Rust tests, clippy and the container smoke script |
warehouse-service-rs |
slawekradzyminski/warehouse-service-rs |
Rust tests against Postgres, clippy and container smoke |
payment-service-rs |
slawekradzyminski/payment-service-rs |
Rust tests against Postgres, clippy and container smoke |
notification-service-rs |
slawekradzyminski/notification-service-rs |
Rust tests against Postgres, clippy and container smoke |
delivery-service-rs |
slawekradzyminski/delivery-service-rs |
Rust tests against Postgres and Artemis, micro-frontend tests, clippy and container smoke |
llm-service-rs |
slawekradzyminski/llm-service-rs |
Rust tests, clippy and container smoke |
Every first-party image except the frontend is a Rust binary. The Java
repositories they replaced (test-secure-backend, warehouse-service,
payment-service, notification-service, ollama-mock,
jms-email-consumer) are retired; their releases below are history.
The same build is also published under the source repository name in GitHub Container Registry. Docker Hub remains the deployment registry during the migration because existing Compose releases already use those names. Do not assume two registries have the same manifest digest; record and pin the digest resolved from the registry used by Compose.
Workflow contract¶
Normal pushes and pull requests run verification without publishing. A semantic version Git tag, or an explicit manual candidate invocation, runs the same release gates before building linux/amd64 and linux/arm64. A release workflow must:
- validate the requested image version against the Cargo or npm project version;
- test the exact tagged source;
- authenticate to GHCR with
GITHUB_TOKEN; - authenticate to Docker Hub with
DOCKERHUB_USERNAMEandDOCKERHUB_TOKENrepository secrets; - publish semantic-version, commit-SHA, and stable
latesttags where appropriate; - attach OCI source/revision labels, SBOM, and provenance;
- report the immutable manifest digest in the workflow summary.
The Docker Hub token should be scoped to repository image writes and stored separately in every source repository. Do not copy a personal password into Actions. GHCR packages intended for anonymous production pulls must be public before Compose switches to them.
GitHub Actions runtime baseline¶
The workflows use action generations whose JavaScript entrypoints target Node.js 24:
actions/[email protected]actions/[email protected](LocalStack CI: the ansible-core virtual environment)actions/[email protected]actions/[email protected](only the retired Java repositories used it)docker/[email protected]docker/[email protected]docker/[email protected]docker/[email protected]docker/[email protected]
Dependabot monitors the github-actions ecosystem in every source repository. Review updates as ordinary supply-chain changes; do not suppress runner deprecation warnings by relying on GitHub's temporary forced runtime migration.
October 2026 JVM and Node security maintenance¶
This section records the state in October 2026, when the application services
were still JVMs. Today the only JVMs are Artemis and the optional Jenkins, and
scripts/verify-java-security.py checks their mounts only.
CVE-2026-91403
concerns compromised intermediate CA certificates. The reviewed mitigation is a
frozen upstream blocked.certs file, not an unsupported claim that the old Java
version has become a patched distribution. See provenance, reproduction and
renewal.
Every JVM in the full, lightweight, server, model-mock and compatibility profiles has a read-only, content-addressed blocklist mount. Missing source files fail; new content changes the bind source path so Compose recreates the JVM and remounts the new inode. Ansible copies the artifact before convergence. The optional Jenkins build and the backend/consumer/model-mock source Dockerfiles copy the same checked artifact into their JVMs. The initial mitigation retained the existing first-party image references. The follow-up image release is recorded below; neither step introduces a schema or encryption key migration.
python3 scripts/verify-java-security.py validates the frozen upstream inputs,
23 JVM mounts, Ansible asset copy and Jenkins coverage. All modified Compose
profiles pass config validation. The existing image-pin and release-set checks
pass.
All three installed Homebrew JVMs (25.0.2, 21.0.12.1 and 25.0.4.1) now reject all 35 certificates in the upstream fixture. Previous files were backed up before replacement, and all existing vendor blocks were preserved. Disposable Temurin 25.0.3 and Red Hat Keycloak 21.0.12 runtimes pass the same check with the mount. Running Java processes must be recreated to reload cached certificate state.
Frontend source now selects Node >=24.22.1 <25, pins the 24.22.1 Alpine build image, and refreshes the vulnerable npm packages. Full and production-only npm audits report zero findings. Lint, TypeScript, all 533 coverage tests and the production build passed, and the built nginx image served login, products, WebMCP and their entry assets. The frontend source-owned release publishes a new immutable image version; existing image tags are not overwritten.
Initial production mitigation verification — 22 October 2026¶
The Ansible rollout completed with 117 successful tasks, 14 changes, zero
failures and zero unreachable hosts. Its encrypted PostgreSQL pre-deployment
backup completed before app convergence. Published application references stayed
unchanged. Both backends, the consumer, model mock and Artemis were recreated
with the content-addressed read-only mount. All five runtime checksums match
2596bb6dda83c66d96c5a252d7b2ae1f24cc1ae3f1890223b4f3591a8d52bf10.
Offline probes inside all five running production services reject all 35 upstream fixture certificates: Java 25.0.4 on both backends and Java 25.0.3 on the other three services. Probe helpers were temporary and removed from the containers. No customer data was needed for these checks. The normal deployment checks passed exact image IDs, heap budgets, PostgreSQL, authentication isolation, direct and proxied GraphQL/gRPC, Artemis/consumer/Mailpit delivery and monitoring. Public login and OpenAPI routes return 200 on both domains; the private Mailpit route remains 404. There was no GitHub Actions dispatch or image publication.
A tagged java_security Ansible verification now checks the frozen blocklist
checksum in each JVM on future deploys and standalone verification runs. The
running local lightweight stack still uses its existing containers: recreating
its in-memory H2 backend resets local demo data, so that action is pending the
owner's choice. The reviewed source configuration is ready, but do not describe
those existing local containers as mitigated until they are recreated.
Private deployment/runtime receipts are stored under
~/.config/awesome-localstack-security/. The mitigation is committed in 36b9f4a; the server received the verified
Compose/configuration artifacts through the normal Ansible copy/convergence
procedure. Follow-up application images use their own source-owned releases.
Additional dependency check from cve.now — 22 October 2026¶
The supplemental check covered 699 unique public npm production package/version pairs across the five website/frontend dependency sets. It matched only the known, unpatched braces 3.0.3 issue (CVE-2026-93687). Awesome Testing declares fast-glob as a production dependency, but the inspected content/store and README synchronization calls use fixed repository glob patterns; no visitor-controlled pattern path was found. Development tooling also retains the same advisory.
The initial Maven runtime inventory (272 unique package/version pairs) matched Jackson 2.21.5 and Tomcat 11.0.24 advisories. Upstream ranges also affect Jackson 3.1.5, although this catalog did not return that coordinate. The Java source releases therefore move together to Spring Boot 4.1.2 / Tomcat 11.0.27 and aligned Jackson 2.21.8 and 3.1.8 BOMs. The resolved replacement runtime inventory has 274 pairs and zero matches in cve.now. Backend local verification passed all 592 tests, and consumer/model-mock verification also passed. Source-owned image publication is recorded below; production rollout has its own verification receipt.
This catalog result is scoped dependency evidence, not an assessment of OS
packages or provider-managed runtimes. In particular, the inspected Convex
services still report Node 24.21.0, below corrected 24.22.1. Private scan receipts
are under ~/.config/awesome-localstack-security/.
Distributed lab release¶
Released on 14 November 2026 as backend 3.21.1, warehouse-service 1.5.1, payment-service 1.3.1, notification-service 1.0.1 and frontend 3.15.0 (the release train below), and deployed to awesome.byst.re and aitesters.byst.re on 15 November 2026 together with the stock-ledger release (backend 3.22.0). The November 2026 distributed-systems lab (DISTRIBUTED_LAB_CONTRACTS.md) planned this set:
| Image | Adds |
|---|---|
| backend 3.21.0 | Reservation expiry, notification.requested, the NOTIFICATION caller, webhook export, webhooks.enabled, tracing, spanId (Flyway V23, V24, maybe V25) |
| warehouse-service 1.5.0 | Warehouse locations and split shipments (Flyway V6), tracing, outbox gauge |
| payment-service 1.3.0 | Reservation guard, tracing, outbox gauge |
| notification-service 1.0.0 | New service (first release, slawekradzyminski/notification-service, default branch master) |
| frontend 3.15.0 | Reservation countdown, parcels, notification-service API snapshot |
LocalStack changes already on the branch:
notification-servicein the lightweight (160 MiB,local-outbox), full (jmsto ActiveMQ) and server profiles, plusaitesters-notification-service(local-outbox); every backend next to one getsNOTIFICATION_SERVICE_TOKEN,NOTIFICATIONS_DELIVERY=feedandWEBHOOKS_ENABLED=false. The l20 compatibility stack (docker-compose.compatibility.yml) is unchanged and backend-only.postgres/service-roles.shprepares thenotificationrole and schema.- Gateways: webhook, webhook-inbox, admin-webhook, notification-email,
local notification outbox and
/notification/v3/api-docslocations to port 4005 on every host;^/api/v1/orders/\d+/shipments$to warehouse-service. - Ansible:
.env.notification,.env.aitesters-notification, eight new Vault keys with asserts, an image gate, role isolation, direct-route, heap, scrape and probe checks, aitesters reset, upgrade stop list and deployment silence (ANSIBLE.md). - Prometheus job
spring_notification_micrometer, public probe of/notification/v3/api-docs,CriticalContainerMissingfor the service. - The chaos and tracing overlays cover notification-service directly
(
docker-compose.chaos-notification.ymlanddocker-compose.tracing-notification.ymlwere folded in).
Until notification-service was first published (as 1.0.1 in the train below)
the server profile carried
slawekradzyminski/notification-service:1.0.0@sha256:PENDING_NOTIFICATION_SERVICE_DIGEST
and the local profiles the bare 1.0.0 tag. scripts/verify-release-images.py,
scripts/verify-image-pins.py and the Ansible image gate failed with an explicit
placeholder message, and CI's runDocker, verifyLightweight and
verifyMonitoringOverlay could not pull the image. scripts/release-train.py pin
treated the placeholder as a first pin: it replaced the placeholder and the bare
tags in every Compose file and the compatibility-set row with the published
tag@sha256, in the same train as backend, warehouse-service, payment-service
and frontend.
Upgrade: new Vault keys first, then scripts/release-train.py deploy --yes
(backend version change: quiesced upgrade with a pre-deploy backup).
notification-service imports the backend's webhook subscriptions and inboxes on
its first start. Rollback: re-pin backend 3.20.1, warehouse-service 1.4.1,
payment-service 1.2.1 and frontend 3.14.0, remove both notification-services
and set the backends back to NOTIFICATIONS_DELIVERY=email and webhooks on;
whether 3.20.1 runs on the V23 to V25 schema is decided in the release review,
so keep the pre-deploy backup. Subscriptions created after the move exist only
in notification-service.
Release train: backend 1.4.0, warehouse-service 1.3.0, payment-service 1.3.0, notification-service 1.3.0, delivery-service 1.2.0 — 4 December 2026¶
Published by scripts/release-train.py. The event feed is the only commerce
event transport
(ADR 12,
superseding ADR 7); ActiveMQ Artemis carries only the outgoing emails.
- backend 1.4.0: the outbox relay to Artemis,
EVENTS_TRANSPORTand theevents_relay_*metrics are gone. No migration;domain_events.published_atstays, unused. Emails over Artemis are unchanged. - warehouse-service 1.3.0, payment-service 1.3.0, notification-service
1.3.0, delivery-service 1.2.0: the broker listeners are gone; each service
polls the feed. An event a service can never handle is parked in its new
parked_eventstable (warehouse V8, payment V5, notification V2, delivery sqlx 0002) with the reason, instead of only being logged; outages and bugs still stop the run and retry on the next poll (EVENT_FEED.md). delivery-service's health JSON no longer hascomponents.broker. - Public REST, GraphQL and gRPC bodies are unchanged.
LocalStack changes: every profile and both production sites on the feed;
docker-compose.broker.yml, artemis/commerce-events.properties,
scripts/broker and scripts/verify-event-broker.sh removed; the chaos lab
keeps only the two email links to Artemis and gets parked-event exercises;
Ansible deletes the retired commerce queues and addresses from the running
broker and stops passing broker credentials to the event consumers.
Upgrade: all five images in one train with
make ansible-deploy-backend-upgrade (service migrations, pre-deploy backup).
The consumers resume the feed from their cursors (they kept them while the
broker delivered) and skip by event id what the broker already handled.
Rollback: re-pin backend-rs 1.3.0, warehouse/payment/notification-service-rs
1.2.0 and delivery-service-rs 1.1.0. Those images default to the feed and do
not read parked_events, so the extra tables are harmless; the broker
transport itself is not restored without reverting the LocalStack change.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.4.0@sha256:e63ee9acdd12aa1dcecf8d76647536de73f8cfcd794410d5867e06927dcd4cff |
PR #13, 73c9af0 |
run |
slawekradzyminski/warehouse-service-rs:1.3.0@sha256:7c750dede6808215f6acde26c5223ce38bd19595b8bc501c1bc7bcd693ccc897 |
PR #9, 213db56 |
run |
slawekradzyminski/payment-service-rs:1.3.0@sha256:b3743db255e2880b1d66d72b907942e825865102bec2091ea01ea764a3e6b2c2 |
PR #6, 907e8ac |
run |
slawekradzyminski/notification-service-rs:1.3.0@sha256:91cbfa95d368007143a9237192e3ec786baef8964915d0b5e128b7e47e422cb5 |
PR #6, c262004 |
run |
slawekradzyminski/delivery-service-rs:1.2.0@sha256:b3004ce88e297afaa27da72d03b366f7e0af6ee2c87b15ea892e98dc269b7d2c |
PR #3, 224e528 |
run |
slawekradzyminski/llm-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.17.0 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: backend 1.3.0, warehouse-service 1.2.0, payment-service 1.2.0, notification-service 1.2.0, llm-service 1.1.0, delivery-service 1.1.0, frontend 3.17.0 — 3 December 2026¶
Published by scripts/release-train.py. TODO: what changes, LocalStack
changes, upgrade order and rollback.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.3.0@sha256:677af800de62e1b364bba2c58cc7bf54bd0454e881e233ca990d966149dd91b9 |
PR #12, fd972fc |
run |
slawekradzyminski/warehouse-service-rs:1.2.0@sha256:bf74873640090963e0bcaa08b28a4dd8b9e7902b3fd2501f5774048682d8dda2 |
PR #8, 2dbcab1 |
run |
slawekradzyminski/payment-service-rs:1.2.0@sha256:702fc48f1ccd1f398cd585205d4dfbec4a261135e5a35232a8d943a2e3094bc7 |
PR #5, cd2c526 |
run |
slawekradzyminski/notification-service-rs:1.2.0@sha256:e3942038c803a150626c734237dbececd8a5b577451dde511e3b616c23c8d540 |
PR #5, f916a88 |
run |
slawekradzyminski/llm-service-rs:1.1.0@sha256:f1963820789c7cc8a6d14e27ab25284819bf6cbce66afdbdd8f911fc2c6fa85d |
PR #5, 50f1589 |
run |
slawekradzyminski/delivery-service-rs:1.1.0@sha256:d88130b82f1e44172dda4bd563defa1f1d83e0b84fbda11d1d178440fd08b371 |
PR #2, 5f8ff6e |
run |
slawekradzyminski/frontend:3.17.0@sha256:1d2d9a5bf40d22164eb686ec4a7758fe5727f6ce0167056ef096ee0f38efa76a |
PR #122, bd64894 |
run |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: warehouse-service 1.1.2 — 3 December 2026¶
Published by scripts/release-train.py. TODO: what changes, LocalStack
changes, upgrade order and rollback.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/warehouse-service-rs:1.1.2@sha256:b22d5408f95039bf6d22768f0ff88c887f3053b5ad3a4bd2f8ff733d22de7e5c |
PR #7, d52ea79 |
run |
slawekradzyminski/backend-rs:1.2.1 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.1 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.1 |
unchanged | unchanged |
slawekradzyminski/llm-service-rs:1.0.1 |
unchanged | unchanged |
slawekradzyminski/delivery-service-rs:1.0.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.16.0 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: backend 1.2.1, warehouse-service 1.1.1, payment-service 1.1.1, notification-service 1.1.1, llm-service 1.0.1 — 3 December 2026¶
Published by scripts/release-train.py. TODO: what changes, LocalStack
changes, upgrade order and rollback.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.2.1@sha256:4531c909d4ae8f67529b1c196a2b7768d66db1f6c1abc3cbf30b2a239f669c09 |
PR #11, 982d4da |
run |
slawekradzyminski/warehouse-service-rs:1.1.1@sha256:f014b22fe02106027da47568b67d29ca8d834913c1f6c042c236e6f989a52865 |
PR #5, d387059 |
run |
slawekradzyminski/payment-service-rs:1.1.1@sha256:a17d8782c7ebebacd687c7b7056774b678c3b30b71f9d99ea133081b3f08e330 |
PR #4, 8d15e93 |
run |
slawekradzyminski/notification-service-rs:1.1.1@sha256:d8a1501c64b89a83e3164df386807ef8e621e74448b96f6e68edc939eef7e166 |
PR #4, 0f65d90 |
run |
slawekradzyminski/llm-service-rs:1.0.1@sha256:6cbfdf7aaab1ed9e36fe6b9ef078979a409557f1f5ca490fca67ce6072ef0969 |
PR #4, c5468b3 |
run |
slawekradzyminski/delivery-service-rs:1.0.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.16.0 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: frontend 3.16.0 — 1 December 2026¶
Published by scripts/release-train.py.
- frontend 3.16.0 (vite-react-frontend#118):
the delivery pages
/orders/:id/deliveryand/deliveries, which load delivery-service's web components from/mfe/delivery/remote.jsat run time, a "Courier delivery status" link on paid orders and a "Deliveries" menu entry for admin and warehouse staff. No other screen changes. - LocalStack changes: the frontend pin only (server, full, lightweight and the course compatibility stack).
- Upgrade order: after delivery-service 1.0.0 and backend 1.2.0 (already pinned). Without delivery-service the new pages show "Delivery tracking is unavailable" and the rest works.
- Rollback: pin frontend 3.15.1 again; nothing else depends on 3.16.0.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/frontend:3.16.0@sha256:b8c423471e1cceaf2c2096cfa142bdc3358060771eedfbc79213de872b213699 |
PR #119, d367626 |
run |
slawekradzyminski/backend-rs:1.2.0 |
unchanged | unchanged |
slawekradzyminski/warehouse-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/llm-service-rs:1.0.0 |
unchanged | unchanged |
slawekradzyminski/delivery-service-rs:1.0.0 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: backend 1.2.0, delivery-service 1.0.0 — 1 December 2026¶
Published by scripts/release-train.py.
- backend-rs 1.2.0 (backend-rs#6) adds
the internal caller
Delivery(DELIVERY_SERVICE_TOKEN, accepted on the JWKS, the event feed and order snapshots) and the Swagger UI definition "Delivery service". Nothing else changes for existing clients. - delivery-service-rs 1.0.0 (first release): last-mile deliveries and the tracking micro-frontend,
added to every profile (DELIVERY_SERVICE_CONTRACT.md). New Vault
values
delivery_service_token,delivery_postgres_passwordand theiraitesters_twins; a new queue per site inartemis/commerce-events.properties(loaded on the broker's next start). - Upgrade order: one deploy. The backend must run 1.2.0 before delivery-service can verify tokens; until then delivery-service answers authenticated calls with 503 but keeps booking deliveries from the broker.
- Rollback: pin backend-rs 1.1.0 again (delivery-service then answers 503 on authenticated calls),
or remove both delivery-service services; their
deliveryschema can stay.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.2.0@sha256:b8d8c292f494495e9173e9d2b3551178404631ea62dd8bfeb1c44870fe5ea512 |
056f8bf |
run |
slawekradzyminski/warehouse-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/llm-service-rs:1.0.0 |
unchanged | unchanged |
slawekradzyminski/delivery-service-rs:1.0.0@sha256:69270d04c6a438449c092f6daf1887d6ff15b8c2338f6adcd6286c51d309e26b |
v1.0.0, fec3d4e |
run |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: backend 1.1.0, llm-service 1.0.0 — 1 December 2026¶
Published by scripts/release-train.py.
- llm-service-rs 1.0.0 (first release): the four Ollama endpoints
(
/api/v1/ollama/generate,/chat,/chat/tools,/chat/tools/definitions), split out of the backend with no visible change (LLM_SERVICE_CONTRACT.md). - backend-rs 1.1.0 adds the LLM internal API (token introspection, system
prompts, product reads, traffic records) for the caller with
LLM_SERVICE_TOKEN. Its own Ollama handlers stay, so other/api/v1/ollama/...paths answer as before. - LocalStack changes:
llm-servicein the lightweight, full and model-mock profiles,llm-serviceandaitesters-llm-serviceon the server (64 MiB each); exact gateway locations for the four paths; a pass-through router on 14001/14002 for the course stack; new Vault valuesllm_service_tokenandaitesters_llm_service_token(.env.llm,.env.aitesters-llm). - Upgrade order: Vault keys first, then one deploy with
make ansible-deploy-backend-upgrade. - Rollback: revert the four gateway locations (the backend still serves the Ollama API), then re-pin backend-rs 1.0.2 and remove both llm-services.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.1.0@sha256:fd82bb2ac464ae544a96233bc9c8f12a581c0ef537ec20b6c113bf7f2b6cf759 |
092a1c1 |
run |
slawekradzyminski/llm-service-rs:1.0.0@sha256:79398a1b75e84e3c52a2b13d6b2d8bc897c9b3bdb2a9be978f56594862a5a5d3 |
PR #1, 803bb99 |
run |
slawekradzyminski/warehouse-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: backend 1.0.2 — 1 December 2026¶
Published by scripts/release-train.py. Swagger UI's definition dropdown now
reads "Backend", "Payment service", "Warehouse service" and "Notification
service": the backend's entry was "OpenAPI JSON", and the "OpenAPI YAML" entry
is gone (/v3/api-docs.yaml is still served). The REST, GraphQL and gRPC APIs
are unchanged. backend-rs also dropped its golden replay of the Java answers; its
own unit and integration tests are the baseline.
Upgrade: make ansible-deploy-backend-upgrade. Rollback: re-pin 1.0.1.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.0.2@sha256:1bb0cb6060598d5beb8d0013d3553adbf20ef6334eaaad7b79f461f7ad376029 |
e7316b5 |
run |
slawekradzyminski/warehouse-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Release train: backend 1.0.1 — 1 December 2026¶
Published by scripts/release-train.py. Swagger UI's definition dropdown
lists "Notification service" (/notification/v3/api-docs, already routed by
the gateway) next to the backend, warehouse and payment documents; nothing
else changes (no migration, same configuration). LocalStack changes: the pin
and the docs that list the Swagger definitions. Deploy with
make ansible-deploy-backend-upgrade; roll back by re-pinning
backend-rs:1.0.0@sha256:bd9315670dac5af81dff01c7a155cbb744ed565d743c74c51dd163925ae01c58.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.0.1@sha256:4485d6fa3e04821b8a9b7250901cc56e9a5ce1e2808e1ba86682bd24681dbbdb |
6e900d3 |
run |
slawekradzyminski/warehouse-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
slawekradzyminski/consumer-rs:1.0.0 |
unchanged | unchanged |
Ollama mock healthcheck: ollama-mock-rs 1.2.0 — 1 December 2026¶
ollama-mock-rs 1.2.0 adds a healthcheck subcommand and an image
HEALTHCHECK: the binary sends GET /api/version to its own port and exits 0
on 200. The distroless image has no shell or curl, so like the consumer it runs
itself as the probe. The server and lightweight Compose files now declare the
healthcheck, so every long-running service in production reports a health
state. The API and its answers are unchanged from 1.1.0.
Verified before pinning: the release workflow's tests and container contract, and the published image turning healthy with the probe exiting 0.
Upgrade: a plain deploy. Rollback: re-pin slawekradzyminski/ollama-mock-rs:1.1.0@sha256:ee7f04672ea8c4f37b871979e8647e074cdc2517152cff76cdc7fd0037135fc6 and remove the healthcheck.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/ollama-mock-rs:1.2.0@sha256:273ad49dd2e0af3a095b99dbf09c6c0dcdd4f92ff5879780e86d4be2ebf03e7e |
v1.2.0, cc91785 |
run |
| other images | unchanged | unchanged |
Rust consumer: consumer-rs 1.0.0 — 1 December 2026¶
The JMS email consumer now runs its Rust port, consumer-rs
(jms-email-consumer-rs),
ported from consumer 3.6.0. With this release no Java service is left in the
application stack; Artemis and the optional Jenkins remain JVMs.
The port reads the same email queue on the same broker and delivers the
backend's and notification-service's subject and text unchanged over SMTP to
Mailpit, with the same environment variables and port 4002 (/actuator/health
answers 503 while the broker listener or SMTP is down).
Verified before pinning: - against consumer 3.6.0 on one broker, 21 edge cases: the same 13 emails delivered, and the same 12 messages dead-lettered after 7 deliveries 1 s apart; - the full profile with backend-rs and notification-service: 9 of 9 emails delivered; - a backlog drained after a restart; - a Mailpit outage gave health 503 and redelivery; - an Artemis restart led to a reconnect.
It uses about 3 MiB instead of about 70 MiB, and the image is 57 MB.
Differences that operators see:
- Healthcheck: the distroless image runs its own probe
(/jms-email-consumer-rs healthcheck), so the host watchdog's HTTP probe of
the consumer is gone.
- JVM options: none. The server limit drops from 160m to 64m.
- Broker protocol: AMQP 1.0 on the same acceptor, instead of OpenWire.
Upgrade: a plain deploy. Rollback: re-pin slawekradzyminski/consumer:3.6.0@sha256:6975c932304eaba294b5cba87b14e3d8722ed6e6029031c0455524e0307b8775 with command: ["-Xmx64m"],
160m and no healthcheck, and restore the watchdog's consumer probe.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/consumer-rs:1.0.0@sha256:4b6cd17bbecf25b13cbfec0e6db0d0cb524fafcad589bafeb06309107db85438 |
v1.0.0, bbd1bda |
run |
slawekradzyminski/backend-rs:1.0.0 |
unchanged | unchanged |
slawekradzyminski/warehouse-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/ollama-mock-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
Rust backend: backend-rs 1.0.0 — 1 December 2026¶
The backend now runs its Rust port, backend-rs, on every profile. With this
release, every first-party service except the frontend and the optional consumer
runs on Rust. The port keeps the Java backend's:
- REST, GraphQL and gRPC APIs;
- database schema and Flyway history;
- JWT signing keys, refresh tokens and MFA secrets;
- service tokens, environment variables, event feed and broker queues.
So it takes over the existing databases as they are.
Verified before pinning, against the Java backend 3.25.2 and on an isolated
lightweight stack:
- the parity harness, about 5,070 checks over seven Spring profiles;
- the full awesome-localstack-e2e-tests suite (827/827);
- the l20 course gate (190/190);
- the broker check;
- the Java image's container smoke script.
Measured on that stack, all five services together use about 39 MiB instead of about 555 MiB. The e2e suite runs in 3.4 instead of 4.4 minutes.
Differences that operators see:
- No JVM options: the server's -Xmx384m/-Xmx256m arguments are gone, and both
backends get a 256m limit instead of 640m and 448m.
- Same healthcheck: the image keeps bash for the Compose /dev/tcp check.
- Metrics: no jvm_*, Hikari, Tomcat or Logback series. The HTTP, outbox and
relay metrics keep their names.
- Administrator actuator endpoints: those that describe the JVM (env, beans,
threaddump, …) answer 404.
See backend-rs/PORTING.md for every intended difference.
Upgrade: make ansible-deploy-backend-upgrade (quiesce, back up, start). There is
no new migration, because backend-rs validates the existing Flyway history.
Rollback: re-pin slawekradzyminski/backend:3.25.2@sha256:bc90224a5839472ac6a8ae4daa90fb7dbca985d8afcb8285162a6e8208ac1014 with its -Xmx arguments and memory limits.
The schema is the same, so no restore is needed.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend-rs:1.0.0@sha256:bd9315670dac5af81dff01c7a155cbb744ed565d743c74c51dd163925ae01c58 |
v1.0.0, 715db82 |
run |
slawekradzyminski/warehouse-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/payment-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/notification-service-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/ollama-mock-rs:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: warehouse-service 1.1.0, payment-service 1.1.0, notification-service 1.1.0, ollama-mock 1.1.0 — 30 November 2026¶
Robustness fixes from a code review of the four Rust ports. APIs, JSON, database
schemas and broker messages are unchanged; each repository's PORTING.md (or
LESSONS.md for the mock) lists the deliberate differences.
- All four: a panicking handler answers the usual 500 instead of dropping the
connection, panics are logged, and background workers, schedulers and broker
listeners restart after a panic (1 s backoff doubling to 60 s) instead of
dying while
/actuator/healthstays UP. ConfigDebugoutput redacts secrets. Non-standard HTTP methods are labelledOTHERin metrics. - warehouse-service: no backend HTTP call while a database transaction is held
(release, pick/pack/ship/deliver, cancel, return refund, purchase-order
lookup), so slow backend calls can no longer exhaust the 3-connection pool
and turn the checkout stock API into 503s. Release now moves the backend
order to AWAITING_PICK before creating parcels (the reconciler adopts it
after 2 minutes if parcel creation fails). A database outage no longer
dead-letters broker messages; they are retried and released. Tokens without
expget 401. - payment-service: a feed event without an
idis skipped instead of stalling the feed; one failing payment no longer aborts a settlement run; one failed JWKS fetch no longer causes 401s until the refresh interval ends; backend calls are capped at 12 s. Tokens withoutexpget 401. - notification-service: a webhook receiver can no longer crash a delivery worker with an overflowing chunk size; an undecryptable signing secret backs off and ends FAILED instead of starving the retry queue; DNS lookups share the delivery deadline (5 s cap), so a slow resolver cannot cause a duplicate send.
- ollama-mock: an oversized body gets 413; the prompt text is logged only at debug.
Verified before pinning: each repository's fmt, clippy (pedantic) and tests;
the Java-vs-Rust parity checks for payment-service (114/115, the difference is
the exp rule) and notification-service (feed and broker modes OK); then
all four together on an isolated lightweight stack with backend 3.25.2: the
full awesome-localstack-e2e-tests suite passed (827/827), the broker
verification passed 70/70 and the l20 course gate passed 190/190.
Rollback: re-pin the 1.0.0 images listed in the 29 November section below;
no schema change.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/warehouse-service-rs:1.1.0@sha256:fb09157257e94bd22ad0973b3e25d1fa9637cf70d735b697444ba734bf57a6d4 |
0458fbf |
run |
slawekradzyminski/payment-service-rs:1.1.0@sha256:ef195b39e4365e90dd6997aac8d0dea3b8609f6a54afadc9eaf97d3a9684434c |
7824151 |
run |
slawekradzyminski/notification-service-rs:1.1.0@sha256:496a4d8256ac2f80fb7385c5d6be02d7bf555e6a00a263ff227b71245a23b2f6 |
3deff3a |
run |
slawekradzyminski/ollama-mock-rs:1.1.0@sha256:ee7f04672ea8c4f37b871979e8647e074cdc2517152cff76cdc7fd0037135fc6 |
3922f76 |
tag v1.1.0 |
slawekradzyminski/backend:3.25.2 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Rust services: warehouse-service, payment-service, notification-service and ollama-mock — 29 November 2026¶
The three services and the Ollama mock now run their Rust ports. Each port
keeps the Java service's HTTP API, database schema and Flyway history, service
tokens and environment variables, so it takes over the existing database as it
is. The Java repositories (warehouse-service, payment-service,
notification-service, ollama-mock) stay as history and as the rollback.
Verified before pinning: each port's own suite and the Java repository's
container contract script; then all four together on an isolated lightweight
stack with backend 3.25.2's predecessor 3.25.1: the full
awesome-localstack-e2e-tests suite passed (827/827) and the l20 course gate
passed 190/190 with the Rust mock. Measured on that stack, the four services
use about 18–25 MiB together under the e2e load instead of about 430 MiB, and
their images total 257 MB instead of 1.8 GB. The suite's duration did not
change (it is bound by the backend).
Differences that operators see:
- Broker: the services talk to Artemis over AMQP 1.0 on the same port 61616 and queues instead of the core protocol; redelivery and the dead-letter queues behave as before. Artemis's default acceptor accepts both.
- Healthchecks: payment-service and notification-service images have no
shell, so their Compose healthchecks run the binary (
health,healthcheck). warehouse-service keeps the bash check. - Metrics: no
jvm_*, Hikari, Tomcat or Logback series for these services; the HTTP, outbox and stock metrics keep their names. - notification-service in broker mode writes webhook decimals exactly
(
40.00); Java 1.1.1 wrote40.0there, unlike its own feed mode. - ollama-mock streams realistic, Qwen-like tokens (fewer chunks, the same
joined text) and answers 400 bodies as
{"error": ...}; seeollama-mock-rs/LESSONS.mdfor every difference.
LocalStack changes: the four image pins, the two healthchecks, and no JVM options or Java security mounts for these services. No Flyway migration, no new Vault key, no API contract change.
Upgrade: a plain deploy (no backend version change). Rollback: re-pin warehouse-service 1.8.1, payment-service 1.4.1, notification-service 1.1.1 and ollama-mock 1.0.13 together with their bash healthchecks; the schema is the same, so no restore is needed.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/warehouse-service-rs:1.0.0@sha256:9d74cd352b48307970728fe29fcebb757b947d020cd7cacfb86d8fb16c82898a |
v1.0.0, 2ad825a |
run |
slawekradzyminski/payment-service-rs:1.0.0@sha256:cd2a71bd2c1385244e350b712ea9d98340e04d549979801fadf5cbd5c7aced09 |
v1.0.0, 768323d |
run |
slawekradzyminski/notification-service-rs:1.0.0@sha256:6f445e5d3389add5040fd9d50008bb646a412c9b36a186b868a142d61be7b8e6 |
v1.0.0, d78a9ff |
run |
slawekradzyminski/ollama-mock-rs:1.0.0@sha256:578f186e58c98905c46668d6bfd33d80391be9e10fde9f7884b2928b7c6c2d14 |
v1.0.0, d1a0015 |
run |
slawekradzyminski/backend:3.25.2 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
Release train: backend 3.25.2 — 27 November 2026¶
Published by scripts/release-train.py. Swagger UI's definition dropdown
lists "Notification service" (/notification/v3/api-docs, already routed by
the gateway) next to the backend, warehouse and payment documents; nothing
else changes (no migration, same configuration). LocalStack changes: the pin
and the docs that list the Swagger definitions. Deploy with
make ansible-deploy-backend-upgrade; roll back by re-pinning
backend-rs:1.0.0@sha256:bd9315670dac5af81dff01c7a155cbb744ed565d743c74c51dd163925ae01c58.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.25.2@sha256:bc90224a5839472ac6a8ae4daa90fb7dbca985d8afcb8285162a6e8208ac1014 |
PR #124, 58470cf |
run |
slawekradzyminski/warehouse-service:1.8.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.4.1 |
unchanged | unchanged |
slawekradzyminski/notification-service:1.1.1 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.1 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.25.1, warehouse-service 1.8.1, payment-service 1.4.1, notification-service 1.1.1, frontend 3.15.1 — 25 November 2026¶
Published by scripts/release-train.py. Fixes the "fix now" findings of the
agentic test pass of 24 November 2026 (unit/static, API and UI floors). The
feature PRs were verified together before merging: the full
awesome-localstack-e2e-tests suite (827 tests) passed against an isolated
lightweight stack built from the fix branches, with native images for all four
Java services.
- payment-service 1.4.1 (PR #14): a 401, 403, 408 or 429 from the backend's payment-result endpoint is retried instead of giving up a CAPTURED result on the first attempt; any other final rejection voids the capture, so a customer is never left charged without a refund. The event feed poller keeps its cursor on database and transaction failures and skips only poison events (bad payload, final backend rejection, integrity violation).
- notification-service 1.1.1 (PR #8) and warehouse-service 1.8.1 (PR #19): the same feed-poller rule, so a dropped database connection no longer loses a webhook, an email or a stock restore. warehouse-service also rejects restore quantities outside 1..2147483647 as a poison event instead of overflowing and stalling the feed.
- backend 3.25.1 (PR #122):
replaying a rotated refresh token now revokes the whole token family (the
revoke was rolled back by
UserService's transaction); concurrent edits of one cart line lock the line and never answer 500 (optimistic and pessimistic locking failures map to 409). - frontend 3.15.1 (PR #114):
only a 401 ends the session (a 503 on
/users/me, a business 403 or a failed refresh no longer sign the user out); error boundaries instead of a white screen; 15 s request timeout; load errors no longer shown as "not found" or "no products"; naive backend timestamps rendered as UTC (they were 1 h off in CET); hashed assets cached as immutable andindex.htmlrevalidated, with a 404 for a missing asset.
LocalStack changes: image pins only (the gateway hardening of
#117 is
already on main). No Flyway migration, no new Vault key, no API contract
change.
Upgrade: scripts/release-train.py deploy --yes (backend version change:
quiesced upgrade with a pre-deploy backup). Rollback: re-pin backend 3.25.0,
warehouse-service 1.8.0, payment-service 1.4.0, notification-service 1.1.0 and
frontend 3.15.0; the schema is unchanged, so no restore is needed.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.25.1@sha256:767f972fc4af0fd272ee8bc33fb8fee8c57ea97413e61917f5525f17913bb582 |
PR #123, e25036e |
run |
slawekradzyminski/warehouse-service:1.8.1@sha256:39d43a8be26a500b1c6dac2bf0e3d9505e4e02c3536c5258a5f08551b5ebae6a |
PR #20, 665bdd7 |
run |
slawekradzyminski/payment-service:1.4.1@sha256:e298c8c101900a287b0c38075d45a5bb95c1aad7c527aa6b5d36b0c3fb2e8bff |
PR #15, bc9b841 |
run |
slawekradzyminski/notification-service:1.1.1@sha256:7a63256f65b9422981d72bd9d6885d9292f92c71b131780e545d2a4777750183 |
PR #9, 239ad03 |
run |
slawekradzyminski/frontend:3.15.1@sha256:2e7c9effb130c568a1acb1c3af6f1224308d4a2c8894cb6cbe7d18bec6cf340a |
PR #115, 649f448 |
run |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.25.0, warehouse-service 1.8.0 — 22 November 2026¶
Published by scripts/release-train.py. Fixes the three findings of the
exploratory chaos session of 21 November 2026
(test-secure-backend PR #119,
warehouse-service PR #15):
- Event feed in commit order (backend, F1). A cancellation that committed
more than 3 s after it inserted its events was overtaken by a later one and
skipped by every feed consumer, so its card refund was never made. Flyway
V29 adds
domain_events.feed_position, assigned to committed rows in commit order at every feed read (lock on the one-rowdomain_event_feed_head); the feed pages by it and the 3 s settle delay (EVENTS_SETTLE_DELAY) is gone. Existing rows keep position = sequence, so consumer cursors stay valid. The broker transport (both production sites) is unchanged. - Timed-out checkout gives the stock back (backend + warehouse-service,
F2). After a reserve with an unknown outcome the backend releases that
reservation id in the background; warehouse-service stores a release of an
unknown id as a
RELEASEDtombstone (200, was 404) and answers a reserve of a released id with 409, so a late reserve deducts nothing. Retries no longer hold stock several times until the reaper. - Database outage answers 503 after 5 s (both, F3). HikariCP
connection-timeout: 5000(was the 30 s default;loginTimeoutstays 30 s) and connection failures answer503 {"message":"Database unavailable"}instead of a generic 500.
Verified before tagging: both repositories' CI, native smoke tests, the private e2e reference suite (827 passed) on an isolated lightweight copy with the fixed images, and the chaos-lab repros of all three findings.
LocalStack changes: pins, plus the docs of PR #113 (EVENT_FEED.md, INVENTORY_OWNERSHIP_CONTRACT.md 2.1/2.3, FAULT_INJECTION_LAB.md).
Upgrade: backend first (make ansible-deploy-backend-upgrade, V29 runs at
start-up), warehouse-service with it. Rollback: backend 3.24.0 starts on the
V29 schema (Hibernate validation ignores the extra column and table; checked
in the lab) and serves the feed by sequence again; events it records get a
position when 3.25.0 returns. warehouse-service 1.7.0 has no schema change.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.25.0@sha256:cb494ca7b1c43c7e0f31bd701718248043bc5a1f9478cbf8ed0f28a0e94f6e27 |
PR #119, e5d8fc4 |
run |
slawekradzyminski/warehouse-service:1.8.0@sha256:52b23e051161e0afd4374bd8115f489ad30536b2aeb92cca606b6bf9e9ffc17b |
PR #15, 41c8400 |
run |
slawekradzyminski/payment-service:1.4.0 |
unchanged | unchanged |
slawekradzyminski/notification-service:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.24.0 — 17 November 2026¶
Published by scripts/release-train.py. The follow-up of ADR 6 (warehouse-service
owns the stock ledger), PR #115:
- Flyway V28 drops the
inventory_movementstable frozen in 3.22.0; the movement history lives in warehouse-service'sstock_movements, imported by every deployment of 3.22.0 or 3.23.0. POST /internal/v1/inventory/receipts(410 Gone since 3.22.0) is removed and answers 404.GET /internal/v1/inventory/exportpages product ids and projected quantities without themovementslist; warehouse-service 1.6.0 and later read a missing list as empty, so fresh stacks import as before.- Public REST, GraphQL and gRPC bodies are unchanged.
LocalStack changes: pins and docs only (INVENTORY_OWNERSHIP_CONTRACT.md sections 6 and 8).
Upgrade: backend only (make ansible-deploy-backend-upgrade). A database still
on 3.21 or older should go through 3.23.0 and let warehouse-service import
first, or it keeps its quantities but loses the old movement history.
Rollback: 3.23.0 does not start on the V28 schema where Hibernate validates it
(ddl-auto: validate in the aitesters, docker and local profiles still
maps the dropped table), so rolling back means restoring the pre-deploy
PostgreSQL backup (make ansible-deploy-backend-upgrade takes one); keep it.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.24.0@sha256:aa1ea75151591cbe4798a2640352d1594d805ce3a00c12020f73726365476c1a |
PR #116, 30f71ab |
run |
slawekradzyminski/warehouse-service:1.7.0 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.4.0 |
unchanged | unchanged |
slawekradzyminski/notification-service:1.1.0 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.23.0, warehouse-service 1.7.0, payment-service 1.4.0, notification-service 1.1.0 — 15 November 2026¶
Published by scripts/release-train.py and deployed to awesome.byst.re and
aitesters.byst.re on 16 November 2026. Commerce events can travel through
ActiveMQ Artemis next to the HTTP feed: the same events, JSON and ids, chosen
per stack with EVENTS_TRANSPORT=feed|broker
(ADR 7;
retired later, see
ADR 12).
- backend 3.23.0: an outbox relay publishes new
domain_eventsrows to the site's multicast address every second in one transacted JMS session (at least once, with broker duplicate detection). Flyway V27 addsdomain_events.published_atand marks everything older than one hour as published, so the first run inbrokermode relays at most the last hour. New gaugeevents_relay_pending. The feed endpoint is served in both modes. - warehouse-service 1.7.0, payment-service 1.4.0, notification-service
1.1.0: a transacted listener on each service's own durable queue, started
only in
brokermode (warehouse-service waits for its stock ledger). Any exception rolls the delivery back; Artemis redelivers it and dead-letters it after five attempts.processed_eventsdeduplicates by event id; the feed cursor does not move inbrokermode. warehouse- and payment-service gained the Artemis client's native reflection hints, and every service starts Netty with the pooled allocator (the 4.2 adaptive allocator made the native Artemis client drop listener sessions at start-up). - Public REST, GraphQL and gRPC bodies are unchanged.
LocalStack changes (PR #107, PR #108):
- Profiles: full and both production sites run
broker(awesome.commerce.events,aitesters.commerce.eventson the shared Artemis); lightweight stays onfeedunlessdocker-compose.broker.ymlis added; the course compatibility stack stays onfeed, so l20 is unchanged. artemis/commerce-events.propertiesdeclares one durable queue per consumer filtered on the event type and one dead-letter queue per consumer queue (five attempts, 1/2/4/8 s backoff); Artemis loads it withartemis run --properties.- Lab: Toxiproxy proxies to the broker, scenarios
broker-down,broker-slowandpartition-broker,scripts/broker(stat, poison, dlq, redrive, purge-dlq), broker exercises in FAULT_INJECTION_LAB.md, the docs-site page Event broker, andscripts/verify-event-broker.shin CI. - Ansible:
artemis/is mirrored and the broker restarted when the topology changes; every consumer getsSPRING_ARTEMIS_USER/_PASSWORDfrom the existingartemis_username/artemis_passwordVault keys (no new secret); the verify role checks that every commerce queue has a consumer and a dead-letter queue (#108 fixed its match for the longest queue name).
Upgrade: all four images in one train with make ansible-deploy-backend-upgrade
(migration V27, pre-deploy backup). The first deployment recreates activemq
and starts relaying; consumers skip the part of the last hour they already
handled through the feed.
Rollback, in order of preference:
- Transport only, no image change: set
EVENTS_TRANSPORT: feedon every backend and service of a site and deploy. The consumers resume the feed from their cursors and skip by event id what the broker delivered. - Images: re-pin backend 3.22.2, warehouse-service 1.6.0, payment-service
1.3.1 and notification-service 1.0.1 and redeploy. These images ignore
EVENTS_TRANSPORTand poll the feed; backend 3.22.2 tolerates the extrapublished_atcolumn of V27 (Hibernate validation does not reject unmapped columns), so the database stays as it is. Rolling back past 3.23.0 means also rolling back any later backend first (3.24.0 drops a table; see its section).
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.23.0@sha256:c7b62a5209a282af5e3eca18bc0becc59f11c16b53082827c04e78be6ab13c49 |
PR #114, 58339c8 |
run |
slawekradzyminski/warehouse-service:1.7.0@sha256:c067fed4b976fe33d28023f263a4810a23e757604edc1b654e248bb44b0a18e6 |
PR #14, a9990b4 |
run |
slawekradzyminski/payment-service:1.4.0@sha256:5eb95f799d845f47c75227a5c83a302886196e6d7d23e7bd180df629916ba765 |
PR #9, 99804a1 |
run |
slawekradzyminski/notification-service:1.1.0@sha256:c47d7db3568abf66468dda37135900acaf8c582a4974aafaa073711173eb3eeb |
PR #4, d4b693d |
run |
slawekradzyminski/frontend:3.15.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.22.2 — 15 November 2026¶
Published by scripts/release-train.py. Fixes a race between checkout and
warehouse-service's reservation reaper. When saving an order took longer than
the reaper's confirm timeout (2 min; for example a stalled database), the
reaper's lookup GET /internal/v1/orders/by-reservation/{id} answered 404, the
reaper released the stock, and the order was stored anyway with no stock
deducted. Both now write the reservation id into a new table,
stock_reservation_claims (V26), so the database orders them. A lookup during
the save waits and finds the order; a save that finishes after a lookup found
nothing answers 409 Stock reservation expired during checkout; please try
again and keeps the cart. No API body or configuration change.
LocalStack changes: the backend pin, and section 4.1 of
INVENTORY_OWNERSHIP_CONTRACT.md. Upgrade:
scripts/release-train.py deploy --yes (quiesced backend upgrade, Flyway
applies V26). Rollback: re-pin backend 3.22.1; the extra table is ignored.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.22.2@sha256:2942b64511d461a1b45e3d210386999eca3eaca534ca8b98ef597228a966a266 |
PR #113, 2c95d28 |
run |
slawekradzyminski/warehouse-service:1.6.0 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.3.1 |
unchanged | unchanged |
slawekradzyminski/notification-service:1.0.1 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.22.1 — 15 November 2026¶
Published by scripts/release-train.py. Fixes a startup race of 3.22.0: the
backend calls warehouse-service as soon as it starts (initial stock and the
stock-command retry every 5 s), before warehouse-service's container exists,
and the native image cached each failed DNS lookup for 10 s. Checkout then
answered 503 Inventory service unavailable for a few seconds after
warehouse-service was ready (intermittent verifyLightweight failures, and
briefly after each deploy). The native image fixes security properties at build
time, so runtime flags could not change this; 3.22.1 is built with
networkaddress.cache.negative.ttl=0. No API, schema or configuration change.
LocalStack changes: the backend pin only. Upgrade: scripts/release-train.py
deploy --yes (quiesced backend upgrade). Rollback: re-pin backend 3.22.0.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.22.1@sha256:eaa41570307a70107a894fdb89c8cc63a39bb16675738ec707d979cb8a2aba97 |
PR #112, 3b6a86b |
run |
slawekradzyminski/warehouse-service:1.6.0 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.3.1 |
unchanged | unchanged |
slawekradzyminski/notification-service:1.0.1 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.22.0, warehouse-service 1.6.0 — 15 November 2026¶
Published by scripts/release-train.py; deployed to awesome.byst.re and
aitesters.byst.re on 15 November 2026 (one quiesced backend upgrade that also
brought the distributed-lab release).
What changes (ADR 6, INVENTORY_OWNERSHIP_CONTRACT.md):
- warehouse-service owns the stock ledger (quantities, movements, reservations).
The backend keeps
products.stock_quantityas a projection that warehouse pushes to it, applied only when itsledgerVersionis newer. - Checkout reserves stock in warehouse-service, saves the order, then confirms
the reservation; a failed save releases it, and warehouse reaps reservations no
order confirmed within two minutes. Admin adjustments, initial stock and product
deletes are synchronous calls too. When warehouse-service is unreachable these
answer
503 {"message":"Inventory service unavailable"}; reads, search and the cart keep working from the projection. - Stock comes back after a cancel asynchronously, through the internal
stock.restore-requestedfeed event (a few seconds). Theorder.cancelledpayload and webhooks are unchanged. Purchase receipts and return restocks are local warehouse ledger writes; the backend'sPOST /internal/v1/inventory/receiptsanswers410 Gone. - On its first start warehouse-service 1.6.0 imports quantities and movement
history from the backend's
GET /internal/v1/inventory/export; its readiness stays down until the import finishes. The backend'sinventory_movementstable is frozen and is dropped in a later release. - Flyway: backend V25, warehouse-service V7.
LocalStack changes:
WAREHOUSE_URLandBACKEND_SERVICE_TOKENfor every backend, andBACKEND_SERVICE_TOKENfor every warehouse-service (Compose profiles and Ansible); two new Vault keys,backend_service_tokenandaitesters_backend_service_token.- warehouse-service healthchecks use
/actuator/health/readiness, soup --waitand the deploy wait for the ledger import. - The course compatibility stack runs a warehouse-service per backend
(
COMPAT_WAREHOUSE_IMAGE). - Chaos lab: proxy
backend-to-warehouseontoxiproxy:14005, scenarioswarehouse-downandwarehouse-slow. - The l20 course specs on
masterandgraphqlpoll for the restored stock after a cancel (merged in the course repository before the deploy).
Upgrade: new Vault keys first, then scripts/release-train.py deploy --yes
(quiesced upgrade with a pre-deploy backup). Rollback: re-pin backend 3.21.1 and
warehouse-service 1.5.1 and restore the pre-deploy backup. Without the restore,
3.21.1 would start from the projection's quantities, and movements recorded in
warehouse-service after the move would be missing from the backend's history;
whether 3.21.1 runs on the V25 schema is decided in the release review.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.22.0@sha256:f16bbc2d585f663b2fd7f7f6892d65fe17ae2c1ceb349a4a4d20929e82390399 |
PR #111, ae89db5 |
run |
slawekradzyminski/warehouse-service:1.6.0@sha256:8cb354517b9408600cca55a1e23e0ff83ada2ade9a0507e8270ff23fc0482ead |
PR #13, 18a05ba |
run |
slawekradzyminski/payment-service:1.3.1 |
unchanged | unchanged |
slawekradzyminski/notification-service:1.0.1 |
unchanged | unchanged |
slawekradzyminski/frontend:3.15.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: frontend 3.15.0 — 14 November 2026¶
Published by scripts/release-train.py; deployed on 15 November 2026. The
frontend side of the distributed lab (reservation countdown, parcels,
notification-service API snapshot); see Distributed lab release.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/frontend:3.15.0@sha256:7640d1625b460b1ad5d19a9a6176444c8d8765a527699140fa6fa81eeac0e325 |
PR #107, f8ba7fb |
run |
slawekradzyminski/backend:3.21.1 |
unchanged | unchanged |
slawekradzyminski/warehouse-service:1.5.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.3.1 |
unchanged | unchanged |
slawekradzyminski/notification-service:1.0.1 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.21.1, warehouse-service 1.5.1, payment-service 1.3.1, notification-service 1.0.1 — 14 November 2026¶
Published by scripts/release-train.py; deployed to awesome.byst.re and
aitesters.byst.re on 15 November 2026. What changes, the LocalStack changes,
upgrade order and rollback are in Distributed lab release.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.21.1@sha256:872f6c143a7165d87b17da599a9ae9a31ffe7a6a2b1fb9b3124cb1db3bc78d73 |
PR #110, 6e49088 |
run |
slawekradzyminski/warehouse-service:1.5.1@sha256:17adbb3cc45ed71bb522cae280e442f4af3690cb48a20627c6f04efdb6371a7e |
PR #12, 65c1f71 |
run |
slawekradzyminski/payment-service:1.3.1@sha256:a82b2da62b18514a27039c716ac6d6b49a6ed804f58a739a8812f49cd91bc5b8 |
PR #8, fd5cd1f |
run |
slawekradzyminski/notification-service:1.0.1@sha256:1a051e8aa54e90f5e9dd9d8dbd1aacd94b1af6f886ea571a0f4d7cac23019c52 |
PR #3, 4fe4cb6 |
run |
slawekradzyminski/frontend:3.14.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.20.1 — 13 November 2026¶
Restores the public traffic endpoints on awesome.byst.re for the AI Testers API course (owner's decision: this is a
training app with fake data). With legacy public access on (server profile), anonymous callers read traffic as before
3.19.0: with X-Client-Session-Id that session's records (list and detail); without it every record. The global
/topic/traffic WebSocket feed is back. Secrets stay masked. Authenticated callers and profiles with legacy access off
(local, aitesters) keep the 3.19 rules. awesome-localstack #99 removed the configuration override that had closed access.
LocalStack changes: image pin only. Upgrade: scripts/release-train.py deploy --yes. Rollback: re-pin backend 3.20.0.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.20.1@sha256:a47d14898c727aa64374efeb405ac1aea95fe0d047cfbf3b160ea89f46a4de52 |
PR #105, 134f256 |
run |
slawekradzyminski/warehouse-service:1.4.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.2.1 |
unchanged | unchanged |
slawekradzyminski/frontend:3.14.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.20.0, ollama-mock 1.0.13 — 13 November 2026¶
The remaining fixes from the owner's exploratory session of 2026-11-07.
- backend 3.20.0:
- X-08, token revocation: logout and password reset revoke every access and refresh token of the user. Access tokens carry the user's token version (
ver, V22), which the backend checks on HTTP, the traffic WebSocket and gRPC. warehouse-service and payment-service verify tokens offline, so a revoked access token keeps working there until it expires (1 h at most), but it can no longer be refreshed. Enabling or disabling 2FA still revokes only refresh tokens, because l20 keeps using the access token afterwards. - X-12, masked emails: non-admins see other users' emails masked (
b***@google.com); your own account and admins see full addresses. - X-05, email templates: clients may only send the GENERIC template; admins may use any.
- X-23, authorization before validation: admin URLs (
/api/v1/admin/**, product writes, order status, admin order list, user deletion) andPUT /users/{username}are checked by role before the body is read, so clients get 403 instead of the admin validation rules. - ollama-mock 1.0.13, X-26:
- Unknown models: they return 404 like real Ollama.
- Tool answers: final answers are built from the tool output for every scenario except "beauty", whose canned answer the AI Testers API course asserts word for word.
LocalStack changes: image pins, including the ollama-mock pin in scripts/verify-ollama-config.sh. Upgrade:
scripts/release-train.py deploy --yes (backend upgrade; migration V22 adds app_user.token_version).
Rollback: re-pin backend 3.19.0 and ollama-mock 1.0.12; V22 only adds a column with a default.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.20.0@sha256:2fc90af8dcbffc81ff1bd8a5c83a0dc7f8356bfcff320b9a595bfffe2618aa69 |
PR #104, 998ed3d |
run |
slawekradzyminski/warehouse-service:1.4.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.2.1 |
unchanged | unchanged |
slawekradzyminski/frontend:3.14.0 |
unchanged | unchanged |
slawekradzyminski/ollama-mock:1.0.13@sha256:7e3ea7b3c6774c38e81726e64e47323159cea53ce5777ab35754a0e5a9b4ef5e |
PR #33 | tag v1.0.13 |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.19.0, frontend 3.14.0 — 13 November 2026¶
Fixes from the owner's exploratory session of 2026-11-07 (triage: 40 findings, 16 still reproduced).
- backend 3.19.0:
- X-03, traffic logs (security):
- Masking: secrets are masked by name pattern in every profile, including
newPassword,confirmPassword,giftCardCode, tokens and codes. - Scoping: reads are bound to the session and its user. Anonymous reads under legacy public access get an empty page, which is the l20 page shape.
- Stored data: V20 and the startup
TrafficHistoryMaskerre-mask the stored history. - Safety: a long JSON string can no longer overflow the stack in the masking regex.
- Masking: secrets are masked by name pattern in every profile, including
- X-01: the seeding profiles no longer crash-loop on products with a null
imageUrl. V19 stores them as''and makes the column NOT NULL. - X-04: a 2FA sign-in challenge is consumed after 5 wrong codes (V21).
- X-06: right to be forgotten cancels open orders, with stock restored, before erasing the user. The course bug, a repeated request returning 500, is unchanged.
- X-10:
POST /emailwithouttoreturns a 400 field error. - X-18: unknown paths and unsupported methods answer in the ErrorDto shape.
- X-21: QR validation errors are 400 JSON whatever
Acceptsays. - X-24: OpenAPI fixes (zipCode, login example).
- X-02: the service refuses to start with the reset token exposed in shared profiles.
- V19–V21 are guarded for schemas baselined at V1.
- frontend 3.14.0:
- Traffic sessions: a new traffic session id on login and logout.
- Admin only: the user directory and recipient picker.
- Errors: inline checkout and register errors instead of
alert(). - Smaller fixes: a 404 page, the email form resets after sending, a label for the chat input, and honest copy about the local reset token.
The gateway changes merged before this release ship with it: JSON 404 for unknown /api/** paths, and
production forgot-password and MFA limits of 20 per account.
Still open from the triage (next release): X-08 token revocation on logout and password reset, X-12 masked emails for non-admins, X-05 email templates, X-23 authorization before validation, and X-26 mock tool answers.
LocalStack changes: image pins only. Upgrade: scripts/release-train.py deploy --yes (backend upgrade; migrations V19–V21).
Rollback: re-pin backend 3.18.0 and frontend 3.13.1; V19–V21 only add columns, a default and a NOT NULL on
products.image_url, so 3.18.0 runs on the migrated schema.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.19.0@sha256:4891deae0e2f8f2155996db391fd12b3d83d66321dc2f3f71ff0a253f25972f8 |
PR #102, a229ce1 |
run |
slawekradzyminski/frontend:3.14.0@sha256:48ebc560e9fc247fe7b4a43249eba25b61a131f8e98b5da29da883d3baa689ea |
PR #102, 78fcd16 |
run |
slawekradzyminski/warehouse-service:1.4.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.2.1 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: frontend 3.13.1 — 12 November 2026¶
- frontend 3.13.1:
- Cart price notice: a cart line whose product price changed since it was added shows "Price changed: now $X. Your cart keeps $Y until you update this item." It uses the backend 3.18.0 fields
priceChanged,unitPriceandcurrentPrice, and is arole="status"note. REST cart only; the GraphQL cart has no such fields. - API types: the OpenAPI snapshots and generated types follow the 3.18 release set.
- Development pins: the frontend repository's Compose file pins backend 3.18.0 and ollama-mock 1.0.12, and no longer sets
APP_SSO_ENABLED.
LocalStack changes: image pin only. Upgrade: scripts/release-train.py deploy --yes (a plain deploy; it is the
first production run of the hardened play: asset mirror, image builds before any stop, rescue). Rollback:
re-pin frontend 3.13.0.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/frontend:3.13.1@sha256:9151c313ac6ebe91a59fa100fd76348f05f64e4266f9bf2dc412ff1d46d58931 |
PR #101, a9c3cbd |
run |
slawekradzyminski/backend:3.18.0 |
unchanged | unchanged |
slawekradzyminski/warehouse-service:1.4.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.2.1 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.18.0, frontend 3.13.0, ollama-mock 1.0.12 — 12 November 2026¶
This release fixes the defects course groups reported on the playwright-2026 branches (hyr, obi, pio, war):
186 reports, 82 unique defects after triage, 48 reproducible. The course bugs documented in
ai-testers-api (l15–l20 bug-reports/) are deliberately unchanged, and so is every behaviour an l20
test asserts. SSO and Keycloak are removed for good.
- backend 3.18.0:
- Validation:
- Max-length errors no longer say "minimum".
- Empty email, whitespace-only and invisible values, and blank product fields on update are rejected (an empty category still means "unchanged").
- Lengths are limited to fit the database columns (category, image URL, address).
- Image URLs must be real http(s) URLs.
- Wrongly typed JSON values are rejected instead of coerced.
- A field that breaks several rules gets one deterministic message.
- Errors: malformed bodies, bad enums and UUIDs return the normal error format without Java class names (the
?status=body that l20 asserts is kept). Another user's email on profile edit returns 400, and constraint violations return 409 instead of 500. - Identity:
- Usernames are case-insensitive and unique, from
[A-Za-z0-9._-]{4,255}; emails are lower-cased and unique (migration V18 skips an index and logs a warning instead of failing if old data collides). - The new
GET /api/v1/admin/users/identity-issueslists accounts that break the rules. - Passwords are limited to 72 UTF-8 bytes, the BCrypt limit.
PUT /users/{username}answers 403 for other users' names, so it no longer tells clients which usernames exist.- Deleting a user no longer deadlocks with payment results: locks are taken in one order, with one retry.
- Usernames are case-insensitive and unique, from
- Orders: status only moves forward (steps can be skipped; CANCELLED and DELIVERED are final). Responses carry the stored
updatedAt. - Cart prices: a cart line whose product price changed is flagged with
priceChanged/currentPrice. Checkout still charges the price from when the item was added, because l20 asserts that snapshot. - Other fixes:
- Search ignores Polish and Latin accents again.
- GraphQL money has two decimals; zero stays "0" for l20.
- Resetting a system prompt returns the effective prompt.
- QR text is UTF-8, and text that is too long returns 400.
- Tool chat sends
done=trueonly on the last event. - The native image has
SharedArenaSupport, so concurrent LLM chats no longer return 500.
- OpenAPI: documents
application/jsonandUserResponseDto. - SSO removed: the
POST /api/v1/users/sso/exchangeendpoint and the OIDC code are gone. Theapp_user.auth_provider/provider_subjectcolumns stay so a rollback to 3.17.x still starts, and SSO-created accounts recover through Forgot password. - frontend 3.13.0:
- Accessibility: keyboard access to inventory rows, a label for the order-status select, contrast fixes, an inert collapsed LLM panel, and labelled chat roles.
- Forms and checkout: the register page's "Sign in" no longer submits the signup form. The admin product form shows field errors and a success message. Coupon dates are sent in UTC.
- Layout: responsive admin tables, cart and catalog filters; long category names no longer break the layout; the header fits at 320 px.
- Robustness:
- A failed cart read shows a warning instead of an empty cart.
- Huge order ids no longer hang.
- The shop API selector waits for pending cart writes.
- One
/users/merequest per sign-in. - Toasts survive navigation.
- QR and chat: QR shows a byte counter and the server's message. Chat input stays locked until the stream ends, and a failed chat can be retried.
- SSO removed: the SSO code and buttons are gone.
- ollama-mock 1.0.12: chat answers the latest user prompt instead of the first one, and non-streaming chat replies return
done: true.
LocalStack changes: image pins, the ollama-mock pin in scripts/verify-ollama-config.sh, APP_SSO_ENABLED
dropped from every Compose file, SSO notes in the docs updated. Upgrade: make ansible-deploy-backend-upgrade
(migration V18). Rollback: re-pin backend 3.17.2, frontend 3.12.2 and ollama-mock 1.0.11; V18 only adds
indexes, so 3.17.2 runs on the migrated schema.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.18.0@sha256:7b5ffeade75935ec76053d88136e6dd769d534b983cbdc35dfde19991e4c32c3 |
PR #101, ba06bdc |
run |
slawekradzyminski/frontend:3.13.0@sha256:f84ee35b8e124335f0d3f8014cabcc9432afb9e50fe2d886df23c78a7a92a843 |
PR #100, 48849c2 |
run |
slawekradzyminski/warehouse-service:1.4.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.2.1 |
unchanged | unchanged |
slawekradzyminski/ollama-mock:1.0.12@sha256:ee8a22bbc6b0f00959cf751e6f78d523fcc74eb32759ead0b9b274dc098d310f |
PR #32 | tag v1.0.12 |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.17.2, frontend 3.12.2 — 12 November 2026¶
Second patch release from the reference Playwright suite (awesome-localstack-e2e-tests).
- frontend 3.12.2: after an order was placed, a customer on a slow device could land on the
empty cart instead of the payment page (BUG-CHECKOUT-01). React Router navigates inside
startTransition, so the refetched empty cart won andCheckoutPageredirected to/cart. Checkout now reports the placed order first, navigates withreplace, then refreshes the cart, and shows "Order placed. Opening payment…" instead of redirecting. The OpenAPI snapshots and the development pins in the frontend repository were refreshed to the release train. - backend 3.17.2: the OpenAPI document again states the real minimum lengths of
ReviewRequestDto(title 3, body 10). 3.17.1 documented 1 after the deterministic blank-review messages were introduced. There is no behaviour change.
LocalStack changes: image pins only. Upgrade: make ansible-deploy-backend-upgrade; no migrations.
Rollback: re-pin backend 3.17.1 and frontend 3.12.1.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.17.2@sha256:f2293ebf37902d95f53ae9d3e875dab6941c69e0ef26a124ee1ba98150d352d4 |
PR #98, 02baa5b |
run |
slawekradzyminski/frontend:3.12.2@sha256:ea48bab9beddd1e31910f119c5b4730e0e7d5d49de0ca5ff8bf8495dc45b41a1 |
PR #98, 7aa3d44 |
run |
slawekradzyminski/warehouse-service:1.4.1 |
unchanged | unchanged |
slawekradzyminski/payment-service:1.2.1 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.17.1, warehouse-service 1.4.1, payment-service 1.2.1, frontend 3.12.1 — 12 November 2026¶
Patch release of the bugs the new reference Playwright suite
(awesome-localstack-e2e-tests) found on its first full run. Each bug has a report in that
repository's bugs/ folder, and the tests that caught them now run as regression tests.
- payment-service 1.2.1:
- Connection-pool deadlock fixed. With a pool of three connections, three concurrent first payments each held one connection and waited for a second (lock row in
REQUIRES_NEW, result dispatch after commit on the request thread), so every caller got a 500 after 30 s. The lock row is now inserted in the same transaction, results are delivered from a single dispatcher thread, and the backend is asked for the order before the transaction starts. - Signing-key race fixed. Concurrent first requests no longer get 401 while the signing keys are fetched.
- Timestamps. Payment timestamps are now microseconds, so the 201 equals what is stored.
- warehouse-service 1.4.1:
- Same pool deadlock fixed for notifications (after-commit dispatch,
synchronizedaround HTTP) and return locks. - Same signing-key race fixed.
- Shipped/delivered notifications are now sent just after the response instead of before it.
- backend 3.17.1:
- Retention job. The event-feed retention job now actually deletes old events; a transactional self-call made every scheduled run fail.
- User deletion. Deleting a user no longer fails when an email event for them is recorded at the same moment (row locks).
- Gift card errors. An unknown gift card
statusfilter gets a 400{message}; the orders filter keeps the body l20 asserts. - Disable response. Disabling a gift card returns the stored
updatedAt. - Validation messages. A blank gift card code, review title or review text gets one deterministic message.
- frontend 3.12.1:
- Admin lists. They show a row saved while their first load is in flight; refetch after a write cancels the in-flight request.
- Gift card expiry. It is sent as a UTC instant and shown in the browser's time zone.
LocalStack changes: image pins only. Upgrade order: the regular backend-upgrade deploy
(make ansible-deploy-backend-upgrade); no migrations. Rollback: re-pin the 11 November
train (backend 3.17.0, warehouse-service 1.4.0, payment-service 1.2.0, frontend 3.12.0).
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.17.1@sha256:d954473d10971a32acc9d08b07179c6d35b80af2bbba46a0895a6a08f95b5383 |
PR #97, e691a8e |
run |
slawekradzyminski/warehouse-service:1.4.1@sha256:ffb3f679e922d7e4fcd1f513a9530816a6d8efd9aa40edfa36d215d2c5ea91c5 |
PR #10, a6fea78 |
run |
slawekradzyminski/payment-service:1.2.1@sha256:1b6a265827b426b5a45aec901361672428a84841f45529a1b2b966d0c0f97e91 |
PR #6, a4948b6 |
run |
slawekradzyminski/frontend:3.12.1@sha256:bd79762533ad9b50881e39466d228edb20129540aad198bc7159b4504002e3dd |
PR #97, fa254c5 |
run |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Release train: backend 3.17.0, warehouse-service 1.4.0, payment-service 1.2.0 — 11 November 2026¶
Published and pinned by scripts/release-train.py (first train). The publish
workflows skipped the duplicated verification for the first time (identical
tree already verified on the PR): backend 16 min instead of 27, services 10
instead of 20.
- Correlation IDs end to end. Every Spring service validates or generates
X-Request-Idand W3Ctraceparent, logs them (MDCrequestId,traceId,spanId) and returnsX-Request-Id; outbound calls send a childtraceparent. Feed events (backend V17), outboxes (warehouse V5, payment V4, backend email/webhook rows) keep the ids, so asynchronous work logs under the request that caused it. The backend logs one line per recorded domain event. - Gateway validates or generates both headers in every server block, echoes
X-Request-Idand writes a JSON access log. - JSON logs in production.
LOGGING_STRUCTURED_FORMAT_CONSOLE=ecsfor the backends, warehouse and payment services; local profiles stay readable. How to search: the wiki page Operations, Tracing a request (docs-site/docs/operations/tracing.md).
Upgrade order: backend first (V17 is additive), services in the same deploy;
make ansible-deploy-backend-upgrade. Rollback: backend 3.16.0's Flyway does not know V17 and refuses the migrated
schema, so a rollback restores the encrypted pre-deploy backup with the previous
pins, as for earlier releases.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.17.0@sha256:84331dca415fece98042dacec043939492b9bdb4cbcd709c8c179e7130f34264 |
PR #96, 032913a |
run |
slawekradzyminski/warehouse-service:1.4.0@sha256:3796cd9bdc460d2f7d7f943a0b77f95a0f2ee2d24c5dee6f1ecd2f606feb4033 |
PR #9, 6d0479f |
run |
slawekradzyminski/payment-service:1.2.0@sha256:b03efeb080df617b8981602d71a2c8f38961fab55be973bfc19c52b29e187c31 |
PR #5, 869e98e |
run |
slawekradzyminski/frontend:3.12.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
Warehouse-service 1.3.1: read-only shipment GET — 11 November 2026¶
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/warehouse-service:1.3.1@sha256:b56f51fa3a80caf3cc7cc56704d540051e5550e59b8ccbf31961e1b5c6b07a29 |
PR #7, 228acc0 |
run |
GET /api/v1/warehouse/shipments/{id} no longer calls the backend or cancels
an AWAITING_PICK shipment; cancellations arrive through the event feed and
the reconciler (see ARCHITECTURE_DECISIONS.md).
The wiki gains "Useful links" for testers and pages on the LLM integration and
streaming. No migration; plain make ansible-deploy.
Event feed: backend 3.16.0, warehouse-service 1.3.0, payment-service 1.1.0 — 11 November 2026¶
Published as native multi-arch images; verified on a native full stack (every
refund and cancellation path through the feed) and ai-testers-api l20
190/190 against backend 3.16.0.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.16.0@sha256:ca833405acf852bcdd2014721649cd6432bda6d74f9da98b2e3cd20c370288e7 |
PR #94, 7b88df6 |
run |
slawekradzyminski/warehouse-service:1.3.0@sha256:02ac943bf2fa6484cb2bddfc2deca4a17f9b497b61f88799a3f46809cbbe4207 |
PR #6, 393b627 |
run |
slawekradzyminski/payment-service:1.1.0@sha256:ade0902dd2ceddd6c3ac9c64f321de0f1bacbcd8ff71dbc31dc7b4e538e8dbf9 |
PR #3, 5b7e009 |
run |
slawekradzyminski/frontend:3.12.0 |
unchanged | unchanged |
slawekradzyminski/consumer:3.6.0 |
unchanged | unchanged |
What changes:
- Backend 3.16.0. Every domain event is written to
domain_eventsin the same transaction as the state change (Flyway V16) and served byGET /internal/v1/events?after&limit&typesto the warehouse and payment service tokens, with a 3-second settle delay (EVENTS_SETTLE_DELAY,PT3S) and 30-day retention (EVENTS_RETENTION,P30D). Card refunds (the card leg of a booked refund, and the refund of a cancelled card-paid order) are published as the internalcard-refund.requestedevent, which user webhooks never receive. The backend no longer calls payment-service: the refund outbox, its HTTP client andPAYMENT_BASE_URLare gone. Contract: EVENT_FEED.md. - payment-service 1.1.0. Polls the feed for
card-refund.requested(PAYMENT_EVENTS_ENABLED,PAYMENT_EVENTS_POLL_INTERVAL, defaultPT5S; Flyway V3event_cursors,processed_events). The inboundPOST /internal/v1/payments/refundsendpoint is removed. Another user's payment or order payments now answer 404 like a missing one. Contract: PAYMENT_SERVICE_CONTRACT.md. - warehouse-service 1.3.0. Polls the feed for
order.cancelled(WAREHOUSE_EVENTS_ENABLED,WAREHOUSE_EVENTS_POLL_INTERVAL, defaultPT5S; Flyway V4) and cancels the open shipment within seconds; the reconciler stays as a safety net with a default interval ofPT10M. Needs backend 3.16.0. Contract: the event feed addendum in WAREHOUSE_SERVICE_CONTRACT.md. - Decisions. ARCHITECTURE_DECISIONS.md records why the integration is a pull feed rather than an ActiveMQ topic, and three related decisions.
LocalStack changes in this release:
PAYMENT_BASE_URLis removed frombackendin every profile and fromaitesters-backend;scripts/verify-release-images.pynow fails when a backend sets it;- the new variables keep their defaults, so no other Compose, gateway, Vault
or Ansible change is needed (the feed is internal and
/internal/stays 404 through the gateway); - the wiki shows the feed in the architecture, payments, refunds and fulfilment pages, and publishes EVENT_FEED.md and the ADRs.
Upgrade order:
- Backend first. Backend 3.16.0 serves the feed before anything reads it. The old consumers keep working against it: warehouse-service 1.2.0 still reconciles cancellations by polling orders, and nothing calls the removed refund endpoint.
- payment-service 1.1.0 in the same deploy. The backend no longer sends
refunds, so with payment-service 1.0.0 card refunds would only accumulate in
the feed. They are not lost (1.1.0 starts from sequence 0 and processes
everything within the 30-day retention, idempotently per
requestId), but customers would see no card refund until 1.1.0 runs. Ship both together. - warehouse-service 1.3.0 in the same deploy, or later (before it, the minute reconciler covers cancellations). Against an older backend 1.3.0 logs a 404 on every poll.
All three are pinned in one change and deployed with
make ansible-deploy-backend-upgrade (Flyway V16 runs on the backend),
followed by the course suite (l20) and a check that a cancelled card-paid
order ends REFUNDED and a cancelled AWAITING_PICK order's shipment ends
CANCELLED within about ten seconds.
Rollback: V16 moves the undelivered rows of payment_refund_outbox into the
feed and card_refund_requests and then drops payment_refund_outbox, so
backend 3.15.0 cannot run on the migrated schema (its Flyway also does not know
V16). As before, a rollback restores the encrypted pre-deploy backup taken by
make ansible-deploy-backend-upgrade together with the 3.15.0 / 1.2.0 / 1.0.0
references and PAYMENT_BASE_URL on both backends; data written after the
upgrade is lost. The payment (V3) and warehouse (V4) migrations only add
tables and are rolled back by the same restore.
Commerce wave 3: backend 3.15.0, warehouse-service 1.2.0, payment-service 1.0.0, frontend 3.12.0 — 11 November 2026¶
All four images are published as native (backend, warehouse, payment) or
nginx (frontend) multi-arch images. ai-testers-api l20 passed 190/190 against
the published backend 3.15.0 (11 November 2026).
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.15.0@sha256:c2f38b95515a7578d3cc1eff72a2d6c3112263cd223c2704c266e7cb7ff4d24b |
PR #93, 3fb1cc9 |
run |
slawekradzyminski/warehouse-service:1.2.0@sha256:b6849b65e8d17b36c031e7d67fb585a2f057c1d33ad5db80fec2fb03263c97d7 |
PR #5, 60c1c8f |
run |
slawekradzyminski/payment-service:1.0.0@sha256:e8b7d82af4f64c94e23e6c1e87d118b645a306e2acc9bed979f8d71f6923aaed |
payment-service 26a057a |
run |
slawekradzyminski/frontend:3.12.0@sha256:96565e441275fe1f35e02f3848d6c28a12277b2551bfd08a20d1da258b7ccd9e |
PR #95, 37316e5 |
run |
slawekradzyminski/consumer:3.6.0@sha256:6975c932304eaba294b5cba87b14e3d8722ed6e6029031c0455524e0307b8775 |
unchanged | unchanged |
What the wave adds:
- Payments. New
payment-service(port 4004, schema and rolepayment, native image,-Xmx64min 160 MiB) with simulated test cards, 3-D Secure, idempotency keys and refunds; it reports results to the backend with signed notifications. Contract: PAYMENT_SERVICE_CONTRACT.md. - Shipment tracking. warehouse-service 1.2.0 simulates a carrier and
publishes
/api/v1/orders/{id}/shipment/trackingand the public/api/v1/tracking/{number}; see the addendum in WAREHOUSE_SERVICE_CONTRACT.md. - Backend 3.15.0. Product search with facets, loyalty points and gift cards, VAT rates and currency conversion, user webhooks with a built-in inbox (WEBHOOKS.md), and the payment result endpoint. Flyway V10 to V15; warehouse-service V3; payment-service V1.
- Frontend 3.12.0. Screens for the features above.
LocalStack changes in this release:
payment-servicein the lightweight and full profiles andpayment-serviceplusaitesters-payment-serviceon the server, each after a healthy backend and thepostgres-rolesone-shot;postgres/warehouse-role.shbecamepostgres/service-role.sh(one role and schema per call) withpostgres/service-roles.shpreparingwarehouseandpayment; warehouse behaviour is unchanged;- gateway routes for payments and tracking in every server block, payment
OpenAPI at
/payment/v3/api-docs; - both backends get
PAYMENT_SERVICE_TOKEN,PAYMENT_WEBHOOK_SECRETandPAYMENT_BASE_URL; - six new Vault keys,
.env.paymentand.env.aitesters-payment, the image gate, verification, Prometheus jobspring_payment_micrometer, a public probe, aCriticalContainerMissingrule, the deployment silence, the aitesters reset and the coordinated-upgrade stop list (see ANSIBLE.md).
Rollback: backend 3.14.1's Flyway does not know V10 to V15 and would refuse
the migrated schema, so a rollback restores the encrypted pre-deploy backup
taken by the backend upgrade (make ansible-deploy-backend-upgrade) together
with the 3.14.1 / 1.1.1 / 3.11.0 references and without the payment
services; data written after the upgrade is lost.
Warehouse definition in Swagger UI: backend 3.14.1, warehouse-service 1.1.1 — 10 November 2026¶
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.14.1@sha256:cd1a12810a1b4f82eb23b3519362add3f20704e2652ebc3710f1a5d88e5712e4 |
PR #92, f4cda43 |
run |
slawekradzyminski/warehouse-service:1.1.1@sha256:7b1202bea1d6994c8046c5ddef967387907bff01ce5ae8476f01acfa2284c9cf |
PR #4, 27c66cd |
run |
The backend's Swagger UI definition dropdown gains "Warehouse service", which
loads /warehouse/v3/api-docs through the gateway (404 on the bare backend
port). Both documents now build their server URL from the port in the
forwarded host before X-Forwarded-Port. The local gateway publishes 8081 but
forwards its container port 80, so the local documents used to advertise
http://localhost and "Try it out" missed the gateway. warehouse-service also
gets the backend's ServerBaseUrlCustomizer, because its native image ignored
server.forward-headers-strategy and advertised http:// behind the TLS edge.
No migrations; rolling back only needs the 3.14.0 / 1.1.0 references above.
The unchanged course suite (l20, 596d524) passed 311/311 against 3.14.1.
Architecture review fixes: backend 3.14.0, warehouse-service 1.1.0, consumer 3.6.0 — 9 November 2026¶
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.14.0@sha256:476c7e3bcb6edd65425fb4818411bdd0143347c4af40baff4c94198a5ec288b1 |
PR #91, a076a57 |
run |
slawekradzyminski/warehouse-service:1.1.0@sha256:ae39b577695c7383d30e91ff96247c718ca5fce00fea4eff21460e114f17ee77 |
PR #3, 8de7326 |
run |
slawekradzyminski/consumer:3.6.0@sha256:6975c932304eaba294b5cba87b14e3d8722ed6e6029031c0455524e0307b8775 |
PR #31, 78de144 |
run |
This release fixes the findings of the warehouse architecture review:
- Stuck release. A shipment release whose response was lost left the order
AWAITING_PICKwithout a shipment and blocked every retry. The backend now accepts a repeatedAWAITING_PICK. warehouse-service keeps the shipment when the order turns out to be released, and adopts released orders that have no shipment. - Refunds. Refunding a return books it on the backend order
(
POST /internal/v1/orders/{id}/refunds, idempotent, capped at the total). A full refund releases the coupon. Orders showrefundedAmountonce it is above zero. - Cancellation propagation.
ShipmentReconcilercancels shipments whose order was cancelled on the backend, every minute (GET /internal/v1/orders?ids=). - Email durability. warehouse notifications use a transactional outbox with
retries, and the backend deduplicates them by
requestId. The backend stores email payloads and retries failed or lost sends (EmailRetryJob). - Email text in one place. The backend renders every email; the consumer delivers it unchanged.
- Database isolation. warehouse-service connects as its own
warehouserole, which owns only thewarehouseschema. The one-shotpostgres-rolesandaitesters-postgres-rolesservices prepare it before every start. - Multi-instance safety. Return requests are serialised with an
order_locksrow lock instead of an in-process lock. - No shared signing secret. Access tokens are RS256 (
JWT_SIGNING_KEYfrom Vault). warehouse-service verifies them with the backend's/internal/v1/jwks.json.
Migrations: backend Flyway V9 adds nullable or defaulted email_event columns,
orders.refunded_amount (default 0) and the order_refunds table.
warehouse-service V2 adds notification_outbox and order_locks. Rolling back
to backend 3.13.0 / warehouse-service 1.0.0 / consumer 3.5.0 (references in the
3.13.0 section and the wave-2 table) also needs the previous Compose files and
the HMAC Vault keys jwt_secret_key / aitesters_jwt_secret_key. Those were
removed from Vault on 2026-11-10, so a rollback first adds fresh random values
(openssl rand -base64 48); old tokens are invalid after the switch anyway.
Old images ignore the added columns and tables, so the backup is not needed for
rollback. Switching to RS256 invalidates the access tokens issued before the
deploy, and clients refresh them with their refresh tokens.
Verification before release: the backend passed 807 unit and 52 PostgreSQL
integration tests, and warehouse-service passed 205 tests. Locally built native
images of both passed their smoke tests (warehouse 61 MiB under the 160 MiB
limit; an HMAC token signed with the public key is rejected). An end-to-end run
of both native images on the lightweight stack covered RS256/JWKS, shipment to
delivery, return and refund booked on the order, backend-rendered emails, the
outbox, the reconciler and a JWKS refetch after a backend restart. The unchanged
course suite (l20, 596d524) passed 311/311 against the 3.14.0 candidate with
no skips or flaky tests.
Production rollout (9 November 2026): the first make ansible-deploy-backend-upgrade
took the encrypted pre-deploy backup and then stopped at Compose convergence:
aitesters-backend rejected its Vault signing key. The keys had been generated
with openssl genpkey -outform DER, which OpenSSL 3 writes as PKCS#1, not
PKCS#8. The same key material was converted to PKCS#8 in Vault and the retry
finished with failed=0 (135 tasks). Its verification covered both role
one-shots exiting 0, the warehouse role owning its schema without access to
public, and the reviewed image IDs. docs-site/docs/reference/ANSIBLE.md now gives the PKCS#8
command, and the deploy rejects PKCS#1 keys. A first CI run of the full profile
also showed that docker-compose.model-mock.yml replaced the backend's
depends_on, losing the healthy-database condition; the overlay now keeps it.
Public checks on both hosts: /login, /v3/api-docs and
/warehouse/v3/api-docs return 200, /internal/v1/jwks.json returns 404, and
warehouse endpoints return 401 without a token. A sandbox sign-in issues an
RS256 token with a kid; that token reads the warehouse queue and suppliers
(200) and gets 401 at the stable site. Flyway: backend V9, warehouse V2.
Measured memory: backend 177 MiB, aitesters-backend 154 MiB, both
warehouse-services 66 MiB, consumer 35 MiB; 2.8 GiB available.
Backend 3.13.0: GraalVM native image — 9 November 2026¶
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.13.0@sha256:3cd23cef97589733eef13ad8372cc2454b6702f7d8286b9e6409cb73a470e8d4 |
PR #90, eacad53 |
run |
The backend is now a GraalVM native executable, built per architecture on
matching runners and smoke-tested under the production and local profiles before
the manifest is published. Native images fix bean selection at build time, so the
backend's bean graph no longer depends on the active profile: GraphQL and gRPC are
always wired, app.email.transport selects Artemis or the local outbox, and the
bootstrap and seed runners check their properties at runtime. Profiles only carry
properties, so one image serves docker,server, aitesters and local.
Both backends drop the JVM blocklist mounts (the blocklist is baked in at build
time) and JVM options: backend runs with -Xmx384m in 640 MiB (was 1.5 GiB) and
aitesters-backend with -Xmx256m in 448 MiB (was 768 MiB). Native images report
an unknown heap maximum, so Ansible checks their -Xmx arguments. The unchanged
course suite (l20) passed 311/311 against this image on the PostgreSQL
compatibility stack, with both compatibility backends on the same image; the
backends peaked at 164–184 MiB. The course's admin sign-in test accepts either
opaque refresh-token format since ai-testers-api b9ce4b7.
A first v3.13.0 run built both images but stopped at the smoke step (the script
was not executable); no image was tagged, and the tag was moved to the fix.
Previous reference: slawekradzyminski/backend:3.12.0@sha256:4ab420bfcf8fa94aff2cbe9917d37593e054aa616ae35751295112953686a13a. No migration; rolling back only needs the previous
image and the JVM Compose settings.
Production rollout (9 November 2026): make ansible-deploy converged both native
backends but its verification stopped at the direct-backend GraphQL check, which
ran curl inside the backend containers (the native image has none). After
#75 moved that
check to the gateway container, make ansible-verify passed with failed=0. The
first runDocker CI run also exposed that the full profile started the backend
before PostgreSQL was healthy; the native backend now waits for a healthy database
there. Measured after the rollout: backend 245 MiB (JVM 409 MiB), aitesters-backend
160 MiB (JVM 363 MiB), 2.7 GiB available (was 2.3 GiB). The unchanged l20 suite
passed 311/311 against production in 6.1 minutes; the single vCPU still saturates
under its parallel workers (CPU PSI waiting peaked at 100%, 66% average busy), so
native removes JIT warm-up and memory pressure but not per-request CPU.
Backend 3.12.0: PostgreSQL in every profile — 8 November 2026¶
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.12.0@sha256:4ab420bfcf8fa94aff2cbe9917d37593e054aa616ae35751295112953686a13a |
PR #88, d7d2d0e |
run |
The local and aitesters profiles now run on PostgreSQL with the production
Flyway migrations and ddl-auto: validate; H2 remains only in the backend's
unit tests. The aitesters sandbox gets aitesters-postgres (database
aitesters, warehouse schema warehouse, disk-backed and renewed by the daily
reset), and the lightweight and compatibility stacks get tmpfs PostgreSQL. The
unchanged course suite (l20) passed 311/311 against this image on the
PostgreSQL compatibility stack, with no skips or flaky tests.
The same rollout lowers CPU load on the single vCPU: 15s Spring scrapes, the
C1-only JIT on both backends and a HostCpuSaturated warning (CPU PSI waiting
above 90% for 30 minutes). Backward compatibility with older images is not a
goal; only the l20 suite is. Previous reference: slawekradzyminski/backend:3.11.0@sha256:a6d0a499fd54071c46eb1930b72fd75cde8ed71ee5cfa745f00c8013130d736d.
Production rollout (8 November 2026): make ansible-deploy finished with
failed=0. Both hosts serve /login, /v3/api-docs and
/warehouse/v3/api-docs (200), keep /internal/ at 404 and return 401 for
unauthenticated warehouse calls; /h2-console now falls through to the
frontend. aitesters-postgres holds 8 applied backend migrations, the seeded
catalogue and the warehouse schema. Measured memory: backend 409 MiB,
aitesters-backend 363 MiB, aitesters-postgres 83 MiB; 2.3 GiB available and a
load average of 0.3 after the rollout.
Commerce wave 2: warehouse-service 1.0.0, backend 3.11.0, frontend 3.11.0, consumer 3.5.0 — 8 November 2026¶
Wave 2 moves fulfilment, returns and purchasing into the new GraalVM native
warehouse-service (see WAREHOUSE_SERVICE_CONTRACT.md)
and switches the consumer to a native image.
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/warehouse-service:1.0.0@sha256:9fb2c27b9706072a95f7eef1445ce2bc1c14cab8f0dc4a21f025c8f1c3e669e9 |
warehouse-service, c496ad3 |
run |
slawekradzyminski/backend:3.11.0@sha256:a6d0a499fd54071c46eb1930b72fd75cde8ed71ee5cfa745f00c8013130d736d |
PR #86, 699a81c |
run |
slawekradzyminski/frontend:3.11.0@sha256:ee573177bb35f0f32fc152b85c004793d2325c08ad70d35e0c105be8df21b7f0 |
PR #92, 164a546 |
run |
slawekradzyminski/consumer:3.5.0@sha256:c21c33b73fe6fbd4943dc543ecd2688fd7434517bc2a1d259e9deb075a1863d0 |
PR #30, d557f12 |
run |
Backend 3.11.0 adds the token-guarded /internal/v1 API for warehouse-service
and Flyway migration V8: orders.fulfilment_state varchar(16) NOT NULL DEFAULT
'NONE' with a check constraint and an index. fulfilmentState is omitted from
order bodies while it is NONE, so the unchanged course suite (l20) passed
311/311 against the published image with no skips or flaky tests.
warehouse-service and the consumer are native executables: -Xmx64m runtime
heaps inside 160 MiB containers (measured RSS about 58 MiB and 34–70 MiB). Their
JDK blocklist is baked in from the builder stage, so they have no runtime
blocklist mount, and their Micrometer heap maximum is unknown (-1); Ansible
checks their -Xmx64m argument instead. The aitesters sandbox runs its own
aitesters-warehouse-service with a tmpfs Postgres (96 MiB). Both frontends run
3.11.0 with the warehouse screens enabled.
Previous references for rollback: backend 3.10.1, frontend 3.10.0 and consumer 3.4.0 from the wave-1 table below. V8 only adds a defaulted column, a check and an index; backend 3.10.1 does not map the column and still validates, so rolling back does not require restoring the backup. Rolling back also requires removing the warehouse services, or the screens will report errors.
Production rollout (8 November 2026): the first make ansible-deploy-backend-upgrade
stopped before quiescing because the deployed wave-1 Compose file did not define
warehouse-service yet; only the pre-deploy backup and the deploy silence ran and
wave 1 kept serving. After #72
the retry finished with failed=0. Public checks on both hosts: /login,
/v3/api-docs and /warehouse/v3/api-docs return 200, /internal/v1/... returns
404 and warehouse endpoints return 401 without a token. Measured memory after the
rollout: backend 458 MiB, aitesters-backend 431 MiB, consumer 44 MiB,
warehouse-service 50 MiB, aitesters-warehouse-service 68 MiB,
aitesters-warehouse-postgres 72 MiB; the host reported 2.3 GiB available.
Commerce wave 1: backend 3.10.1, frontend 3.10.0, consumer 3.4.0 — 8 November 2026¶
Wave 1 of the commerce extensions (see COMMERCE_FULFILMENT.md):
coupons, product reviews, wishlist with back-in-stock emails, product CSV
export/import, Idempotency-Key checkout, ETag/If-Match products and the
warehouse demo user. Warehouse fulfilment, returns and purchasing ship later
with warehouse-service (wave 2).
| Image | Source | Release workflow |
|---|---|---|
slawekradzyminski/backend:3.10.1@sha256:45ac5391eadfd41e1a4df010700bd6073d1d16bcec0fec2b50fe4f2bea3cf8c0 |
PR #85 + PR #87, 606a2f4 |
run |
slawekradzyminski/frontend:3.10.0@sha256:75508a827997b818db0c590445630c4ce23d1373d79da73d2ecc1240c0ba14ff |
PR #91, 29737f9 |
run |
slawekradzyminski/consumer:3.4.0@sha256:30cfbd3fdb861d7085c4c8a3ac9fbbc68ec9cd3c1d19befa196a155186cee297 |
PR #29, ab44182 |
run |
Backend 3.10.0 was published but never deployed: the pre-deploy run of the
unchanged course suite (l20, revision c6f7aee) failed 7 of 311 tests because
every cart and order body gained coupon fields, and the course compares whole
bodies with toEqual. Backend 3.10.1 omits those fields unless a coupon is
involved and passed the same suite 311/311 with no skips or flaky tests.
Backend 3.10.1 runs Flyway migration V7: new coupon, redemption, cart-coupon,
review, wishlist and idempotency tables, a nullable orders.subtotal_amount
backfilled from total_amount, orders.discount_amount and coupon_code, and
widened check constraints for roles (ROLE_WAREHOUSE), email event types and
inventory movement types. Existing rows are not rewritten except the subtotal
backfill; the pre-deploy encrypted backup covers rollback. Public paths, request
bodies, status codes and enums stay compatible with the AI Testers course suite.
New customer emails are rendered by the backend and published as GENERIC;
consumer 3.4.0 additionally maps unknown template names to GENERIC.
The frontend shows coupons and reviews only with the REST shop API (the GraphQL
schema has no such operations) and keeps the warehouse screens behind the
build-time VITE_WAREHOUSE_ENABLED=false flag.
Previous references for rollback:
slawekradzyminski/backend:3.9.4@sha256:4e96ac25991adde6f62c91b7feda88c83d0d35002a81d7169677b390e326d2e8,
slawekradzyminski/frontend:3.9.3@sha256:e573282a98e98c19055ff865edfb027d286648a61086a0a5837005af6a2885ed,
slawekradzyminski/consumer:3.3.9@sha256:cb4a2d8a5980da03562e85f7f5bed9d7162c3cf6ce3551bce4eb00d6ca13fc60.
V7 only adds tables, nullable or defaulted columns and wider checks, so the
previous backend still validates its entities against the migrated schema and
Flyway ignores the applied future migration; rolling back the image does not
require restoring the backup.
Production rollout — 8 November 2026¶
Stack CI
ran on the merged pin set (PR #70 passed all eight jobs). make
ansible-deploy-backend-upgrade created the encrypted pre-deploy PostgreSQL
backup, pulled backend 3.10.1 before interrupting requests, stopped both old
backend instances, created a second encrypted backup after writes stopped, and
applied V7 on start. The playbook completed 123 tasks with 16 changes, zero
failures and zero unreachable hosts, and its verification passed.
External checks passed on both awesome.byst.re and aitesters.byst.re: /,
/login, /products and /v3/api-docs return 200; the OpenAPI document lists
the coupon, cart-coupon, wishlist and CSV export endpoints and no warehouse
paths; the served bundle contains the cart coupon panel. The checks did not sign
in or write data. The deployment log is saved privately in
~/.config/awesome-localstack-security/deploy-commerce-wave1-20261108.log.
Frontend 3.9.3 data-testid coverage — 7 November 2026¶
Frontend 3.9.3 (a9ecc11) ships
PR #87.
It adds the missing data-testids on Admin Inventory, the two-factor security
panel, the WebMCP lab and a few smaller controls. A unit test now fails when a
button, link, form control, form or alert has none. The PR also fixes a race in
which an agent search could restore the product category it had just cleared.
No existing test ID was renamed. No backend, consumer, model-mock, database or
secret change is required.
The release workflow
passed validation, three browser shards, image verification and publication
for linux/amd64 and linux/arm64.
Previous frontend reference for rollback:
slawekradzyminski/frontend:3.9.2@sha256:03f85c1195381927f4a7fb0f1db424680327555e8cc4f2664878327d3042e545.
Production rollout — 7 November 2026¶
Stack CI
passed all eight jobs on the pinned set. make ansible-deploy created the
encrypted pre-deploy PostgreSQL backup and completed 118 tasks with 14 changes,
zero failures and zero unreachable hosts; the playbook's verification passed.
No backend, database or secret change was made.
External checks passed on both awesome.byst.re and aitesters.byst.re: /,
/login, /products, /qr and /webmcp return 200 and serve the 3.9.3
bundle, which contains the new test IDs. The checks did not sign in or write
data. The deployment log is saved privately in
~/.config/awesome-localstack-security/deploy-frontend-3.9.3-20261107.log.
Frontend 3.9.2 accessibility and training fixes — 7 November 2026¶
Frontend 3.9.2 (d13b94e) combines three merged changes:
PR #84
(npm audit fixes and nginx 1.31.8),
PR #85
(WCAG 2.2 AA fixes from the playwright-2026 BUG-004 report) and
PR #86
(frontend bugs BUG-001, BUG-003, BUG-005 to BUG-007 and BUG-010 to BUG-013).
The backend training bugs BUG-002, BUG-008 and BUG-009 are intentionally
unchanged for the AI Testers course. No backend, consumer, model-mock, database
or secret change is required.
User-visible behaviour changes: /login and /register keep an existing
session, protected routes pass returnTo, product filters live in the URL,
prices use thousands separators, invalid product ids are not requested, cart
stock comes from the cart payload, and the admin dashboard aggregates every
order page and marks failed data as unavailable.
The release workflow
passed validation, three browser shards, image verification and publication
for linux/amd64 and linux/arm64; the manifest list digest matches Docker Hub.
Previous frontend reference for rollback:
slawekradzyminski/frontend:3.9.1@sha256:b19566ee4bdf1fcd04baeb1c5d7cf967d902d39d999bc68951b02822ba90ee17.
Production rollout — 7 November 2026¶
Stack CI
passed all eight jobs on the pinned set. The same PR fixed verifyOllamaConfig,
which still expected ollama-mock 1.0.9 after the 22 October release moved every
profile to 1.0.11. make ansible-deploy created the encrypted pre-deploy
PostgreSQL backup and completed 118 tasks with 14 changes, zero failures and
zero unreachable hosts; the playbook's verification passed and the warning
silences expired. No backend, database or secret change was made.
External checks passed on both awesome.byst.re and aitesters.byst.re: /,
/login, /products, /qr and /webmcp return 200 and serve the 3.9.2
bundle. A headless 390px browser saw an anonymous deep link redirect to
/login?returnTo=%2Fproducts%2F7%3Fref%3Dsmoke, the page title
"Sign in – Awesome Testing" with an h1, username/current-password
autocomplete, a field-linked validation error, no page errors and no horizontal
overflow. The checks did not sign in or write data. The deployment log is
saved privately in
~/.config/awesome-localstack-security/deploy-frontend-3.9.2-20261107.log.
Source-owned security image releases — 22 October 2026¶
Final releases are backend 3.9.4 (fd4c015), frontend 3.9.1 (607fe6b),
consumer 3.3.9 (b801fa3) and model mock 1.0.11 (0a77d42). Their source-owned
release pipelines passed before immutable Docker Hub digests were selected.
Both AMD64 and ARM64 manifests, SBOM and provenance were published. Every Java
application image passes the offline 35-certificate lookup probe without a
Compose mount. The frontend image serves login, products, WebMCP and entry assets.
The backend's release checks include unit, PostgreSQL integration, local-app and
Docker smoke verification; the frontend includes three browser shards plus
commerce/WebMCP flows. Consumer publication verifies Artemis-to-Mailpit delivery;
model-mock publication verifies its API/container contract. Login checks now use
here-strings under pipefail, preserving the token assertion while avoiding a
producer SIGPIPE false failure when grep finishes early. No auth behavior changed.
Image pins are synchronized across full, lightweight, server, model-mock, gRPC
and course profiles, and sibling backend/frontend development Compose files.
Static image/certificate checks, remote manifests and Ansible syntax pass. The
default-branch l20 suite at a3b2802a070f passed all 190 tests with no skips or
retries, plus direct/proxied authenticated GraphQL, anonymous denial and a native
gRPC listener. The newer GraphQL course branch at c6f7aee44150 also passed all 311 tests
with no failures, skips or retries, using the same final images and direct/proxied
GraphQL plus gRPC checks. Both course runs used isolated disposable local fixtures.
Final production image rollout — 22 October 2026¶
Ansible completed 118 successful tasks with 15 changes, zero failures and zero unreachable hosts. The encrypted PostgreSQL pre-deployment backup completed. Both backend and frontend instances, the consumer and model mock now use the reviewed image set below. Flyway validated the existing migrations and reported the schema up to date; no migration or encryption-key change was needed.
Post-deployment checks passed exact image IDs, all five JVM blocklist checksums, heap budgets, PostgreSQL authentication, stable/sandbox token isolation, direct and proxied GraphQL, anonymous query denial, native gRPC listeners, JMS delivery to private Mailpit, monitoring and public HTTPS probes. Public curl login and OpenAPI GETs return 200 on both domains. The stable host rejects Mailpit paths with 404. The sandbox returns the identical frontend SPA HTML for those unknown prefixes, including the would-be mailbox API; it exposes no Mailpit UI or data. An initial Python urllib login request returned 403 while curl checks passed; no access policy was changed to obtain these results.
Deployment evidence is saved privately in
~/.config/awesome-localstack-security/deploy-images-20261022-final.log, with
course, registry, offline-certificate and public-smoke receipts beside it.
The existing local H2 stack was not reset and still needs its separately
approved restart; production PostgreSQL is independent and preserved.
Current compatibility set¶
Release train: backend 1.4.0, warehouse-service 1.3.0, payment-service 1.3.0, notification-service 1.3.0, delivery-service 1.2.0, released 4 December 2026:
| Service | Immutable image |
|---|---|
| Backend | slawekradzyminski/backend-rs:1.4.0@sha256:e63ee9acdd12aa1dcecf8d76647536de73f8cfcd794410d5867e06927dcd4cff |
| Frontend | slawekradzyminski/frontend:3.17.0@sha256:1d2d9a5bf40d22164eb686ec4a7758fe5727f6ce0167056ef096ee0f38efa76a |
| Consumer | slawekradzyminski/consumer-rs:1.0.0@sha256:4b6cd17bbecf25b13cbfec0e6db0d0cb524fafcad589bafeb06309107db85438 |
| Ollama mock | slawekradzyminski/ollama-mock-rs:1.2.0@sha256:273ad49dd2e0af3a095b99dbf09c6c0dcdd4f92ff5879780e86d4be2ebf03e7e |
| Warehouse service | slawekradzyminski/warehouse-service-rs:1.3.0@sha256:7c750dede6808215f6acde26c5223ce38bd19595b8bc501c1bc7bcd693ccc897 |
| Payment service | slawekradzyminski/payment-service-rs:1.3.0@sha256:b3743db255e2880b1d66d72b907942e825865102bec2091ea01ea764a3e6b2c2 |
| Notification service | slawekradzyminski/notification-service-rs:1.3.0@sha256:91cbfa95d368007143a9237192e3ec786baef8964915d0b5e128b7e47e422cb5 |
| LLM service | slawekradzyminski/llm-service-rs:1.1.0@sha256:f1963820789c7cc8a6d14e27ab25284819bf6cbce66afdbdd8f911fc2c6fa85d |
| Delivery service | slawekradzyminski/delivery-service-rs:1.2.0@sha256:b3004ce88e297afaa27da72d03b366f7e0af6ee2c87b15ea892e98dc269b7d2c |
Backend 3.9.1 traffic preview patch¶
Backend PR #76 normalizes NUL control characters to visible U+2400 markers in traffic previews. This keeps preview character lengths consistent and preserves ordinary Unicode. A guarded Flyway callback prepares legacy OID payloads before the unchanged V6 conversion; it is a no-op for already-migrated text columns. Newly queued payloads use the same normalization. No business schema or MFA-key change is added by this patch.
The source checks passed 592 unit and 46 integration tests, including repeated, leading, and trailing null bytes, all four payload columns, idempotence, and PostgreSQL persistence/read-back. Targeted persistence mutation feedback detected 23 of 25 mutants with no reachability gaps; the two residual boundary cases remain equivalent (equal-length clipping and an extra empty flush). Use the coordinated backend-upgrade target and encrypted-backup procedure described below whenever applying V6.
Production rollout completed on 2026-10-20 using the coordinated upgrade target:
122 Ansible tasks passed, with zero failures or unreachable hosts. Both backend
instances matched the reviewed 3.9.1 image digest. Authenticated direct/proxied
GraphQL, anonymous rejection, gRPC listeners, authentication isolation, JMS,
monitoring, and public HTTPS checks passed. PostgreSQL reports successful V1–V6
migrations and all four traffic payload columns as text; the eight products and
one existing order remain present. The quiesced encrypted rollback backup is
awesome-testdb-20261020T202854Z-backend-upgrade-quiesced.sql.gz.enc in the
production PostgreSQL daily backup directory.
The published 3.9.1 image also passed all 311 unchanged latest l20 course tests
against PostgreSQL, with no skips, retries, or failures, at course revision
c6f7aee44150ee3e46aa27aad7b340e729e8fada. Direct/proxied GraphQL and the
native gRPC listener passed in the same disposable stack. The
release workflow,
backend CI,
and LocalStack CI
are green.
Backend 3.9.0 upgrade¶
Release workflow passed all source-owned gates and published both supported architectures with SBOM and provenance.
Backend PR #74 reduces GraphQL database work, bounds and batches traffic capture, replaces PostgreSQL traffic large objects with text, preserves reads of legacy MFA ciphertext, and uses the current encryption API for new MFA writes.
Before publication, the unchanged latest l20 suite at course revision
c6f7aee44150ee3e46aa27aad7b340e729e8fada passed 311/311 on H2 and
311/311 on PostgreSQL 16.14 with Flyway V1–V6 and Hibernate validation. There
were no skips or retries. Backend verification passed 590 unit and 44
integration tests, with 25 focused checks after the final media guard change.
PITest review is documented in the backend performance audit.
Use make ansible-deploy-backend-upgrade for this release. The opt-in role
pulls the selected immutable image before interrupting requests, stops both
old backend instances with a 60-second graceful shutdown, and creates a second
encrypted PostgreSQL backup after writes stop. Ordinary deployment remains
available through make ansible-deploy. Both paths retain bounded warning-alert
silencing through successful verification; the critical alert remains active.
Existing MFA encryption password/salt must remain unchanged.
V5 adds commerce/traffic indexes; V6 preserves existing payload contents while converting OID columns to text and unlinking converted large objects. Old binaries cannot read the migrated schema or newly written v2 MFA ciphertext. Do not use a rolling deployment or revert the image alone. To roll back, stop the new backends, restore the quiesced pre-upgrade database backup, restore the previous image pins, and redeploy with the same MFA keys. Restoring that backup discards subsequent writes, so assess any post-upgrade activity before rollback.
Previous backend reference:
slawekradzyminski/backend:3.8.1@sha256:c60932c6cd1a907451ee08c34837694bae4efdb15b76bb885f90f057f5749c9a.
Frontend 3.9.0 WebMCP release¶
Frontend PR #74,
commit 16fe782, adds native WebMCP tools to the existing /products page and
an explicit /webmcp fault lab. The
3.9.0 release workflow
passed unit/build, container smoke, all browser shards, REST/GraphQL commerce,
and the new native WebMCP suite before publishing amd64/arm64 images with
provenance and SBOM. Local verification passed 533 unit tests, 22 existing shop
browser tests and 19 native WebMCP cases repeated three times (57/57).
The three page tools reuse existing authenticated application clients. Search updates visible catalogue filters; cart reads/writes update the shared query cache. Deliberate faults are restricted to the lab. Native tool access remains experimental and requires a compatible browser with WebMCP enabled; normal shopping works without it. No backend, database or secret change is required. The backend, consumer and Ollama mock retain their reviewed releases.
On 8 October 2026, the
stack compatibility CI
passed all eight jobs. make ansible-deploy created the encrypted pre-deploy
PostgreSQL backup and completed with zero failed or unreachable tasks. The
playbook verified exact running image IDs and application protocols and expired
the deployment alert silence. External browser smoke checks passed on both
awesome.byst.re and aitesters.byst.re: HTTPS routes/images, anonymous route
protection, three native tools, visible search/stock/order controls, independent
saved-cart agreement, route cleanup, healthy lab defaults, a 390px viewport,
ordinary-browser fallback and GraphQL tool reads. The live checks used existing
deployment accounts and made no cart writes. The blog article remains a local,
unpublished draft.
Previous frontend reference for rollback:
slawekradzyminski/frontend:3.8.1@sha256:342fabfc98da79af4bad7d4b90dae23818b67f1c16c0a1bfc8ed694f02210310.
Backend and frontend 3.8.1 release¶
Backend PR #63
and frontend PR #70
set the patch versions after the test and dependency maintenance work. Their
backend release
and frontend release
passed their source-owned gates and published both supported architectures.
This release introduces no database migration.
The unchanged latest lesson l20 suite at course commit
5005edfff470092c9083d2716c7fdfab0ad9a763 passed all 190 tests against
the published backend image, with no skips, failures, or retries. The same
disposable stack verified authenticated GraphQL directly and through nginx,
rejected unauthenticated GraphQL, and opened the loopback-only gRPC listener.
The LocalStack main CI
passed all seven jobs. On 27 September 2026, make ansible-deploy created an
encrypted pre-deployment PostgreSQL backup and deployed these exact backend and
frontend references to both awesome.byst.re and aitesters.byst.re. The
playbook completed with no failed tasks, verified the running image IDs and
application protocols, and removed the temporary alert silence. External HTTPS
checks returned 200 for /login, /v3/api-docs, /images/iphone.png, and
/actuator/health on both sites.
Rollback application references: backend
slawekradzyminski/backend:3.8.0@sha256:0fb27619c9048b93dcf38bc92c48ede0ff762d4956c009ef62a0f981cd112a9f
and frontend
slawekradzyminski/frontend:3.8.0@sha256:302e921c505c6b76a15c25fadcd6fb8ab3ff611c28b74a66c3a471b55ac9f8e5.
Restore both references in every production Compose profile and the sibling
development Compose files before redeploying.
Backend 3.7.17 release¶
Backend source: PR #56, commit b4973a53b1697f84a479b6aceeb870cd48423091. The release workflow passed Maven, integration, local-startup, and Docker gates and published both supported architectures.
This release corrects generated OpenAPI contracts and includes the previously merged pagination, cart/order, and QR cleanup. It introduces no database migrations. The unchanged lesson l20 suite passed all 190 tests against backend 3.7.16 before rollout; the same suite is the post-deployment compatibility gate.
Rollback backend reference: slawekradzyminski/backend:3.7.16@sha256:71cd8913a276f613200f35c83e846a0aa647a9313fa3e5e5f741390f4dc2dbac. Restore that reference consistently across the Compose profiles, synchronize the sibling development references, validate the files, and redeploy through Ansible. Preserve runtime configuration and database volumes.
LocalStack compatibility gate¶
The production compatibility set is the seven first-party services above
(PRODUCTION_SERVICES in scripts/verify-release-images.py).
A service whose first release is not published yet is pinned with a
@sha256:PENDING_<SERVICE>_DIGEST placeholder: the verification scripts report
it explicitly and the server deployment refuses to run (see docs-site/docs/reference/ANSIBLE.md)
until scripts/release-train.py pin replaces it, in every profile, with the
published reference. No placeholder is in use today; notification-service, the
last service to get one, has been pinned by digest since 1.0.1.
The main and aitesters variants do not have separate application release
lines: aitesters-backend must use the exact current backend reference and
aitesters-frontend must use the exact current frontend reference. Their
behavior differs through runtime profiles and routing, not through old images.
Previous application releases remain rollback references only.
scripts/verify-release-images.py checks that:
- each production service uses a
tag@sha256reference; - no profile still uses the
PENDING_PAYMENT_SERVICE_DIGESTplaceholder; - full and server agree on backend, frontend, consumer, warehouse-service and payment-service releases;
- lightweight and server agree on backend, frontend, model-mock, warehouse-service and payment-service releases;
- the server's
aitestersservices reuse the exact backend, frontend, warehouse-service and payment-service releases; - each warehouse- and payment-service uses its own database role, env file, backend and gateway upstream on its site, and both gateways declare the payment and tracking routes in every server block;
- the model-mock override agrees with the server model-mock release;
- this document records the exact selected references;
- with
--remote, every manifest exists and contains bothlinux/amd64andlinux/arm64.
Static pin verification runs in normal LocalStack CI. .github/workflows/verify-release-images.yml performs the registry check weekly and on manual request.
scripts/verify-image-pins.py extends the rule to every remotely pulled image
in all Compose profiles, the Jenkins Dockerfile, CI service containers, and the
PostgreSQL restore tool. Locally built :local images are the only exception.
Release sequence¶
scripts/release-train.py automates the sequence below for backend
(backend-rs), warehouse-service, payment-service, notification-service,
llm-service and delivery-service (their -rs repositories) and frontend
(vite-react-frontend); --with-consumer adds jms-email-consumer-rs, and
--only backend,payment-service narrows the set. Every subcommand recomputes
the release set from GitHub and docker-compose.server.yml, so a failed step
can be fixed and rerun. The global --dry-run performs only reads (GitHub
API, registry, files) and prints every action that would tag, write, commit,
push, merge or deploy.
python3 scripts/release-train.py plan # what would be released
python3 scripts/release-train.py tag # v<version> on green default-branch heads
python3 scripts/release-train.py wait # publish workflows; fails fast with the run URL
python3 scripts/release-train.py pin # digests -> Compose files and this document
make sync-release-images # sibling development Compose files
python3 scripts/release-train.py verify [--compat] # Compose config + every contract script
python3 scripts/release-train.py pr --merge # branch, commit, push, PR, CI, squash-merge
# then, from the same checkout (Vault links present), now on merged main:
python3 scripts/release-train.py deploy --yes
| Step | What it does | Refuses when |
|---|---|---|
plan |
Per repository: default-branch head, version from Cargo.toml / package.json (through gh api), latest v* tag, currently pinned version, and the action: tag, publish, pin, pin (tag exists), up to date, or skip (SNAPSHOT, older than the latest tag or the pin). Also prints the deploy target. |
— |
tag |
Creates an annotated v<version> tag on the default-branch head of every repository whose version is untagged. |
The head's CI workflow (ci.yml) is not success; nothing is tagged then. |
wait |
Polls each repository's publish-image.yml run for the tag (--timeout, --interval). |
A job fails or the run concludes with anything but success: exits at once with the run URL. |
pin |
Resolves the Docker Hub digest (docker buildx imagetools inspect), replaces the current pin of each image in every Compose file (other versions, e.g. rollback references in documents, are left alone), updates the image rows of Current compatibility set and inserts a release-section stub (PR, commit, run links; text marked TODO) above the newest dated section. |
The publish run is not success. |
verify |
docker compose config --quiet for every profile (overlays on their base), every contract script, the release-train unit tests and verify-release-images.py --remote (--offline skips it). --compat first checks that Docker's clock is within 5 s of the host's (JWT issued-at checks fail otherwise), then runs verify-course-compatibility.py. |
Any check fails. |
pr |
Creates release/<image>-<version>…, commits only the Compose files and this document, pushes, opens the PR, waits for its checks; --merge squash-merges on GitHub, deletes the remote branch and moves this checkout to the merged main: fast-forwarded, or detached at origin/main when another worktree has main checked out (a release worktree next to a main checkout with local changes). |
Nothing was pinned. |
preflight |
docker compose -f docker-compose.server.yml config --quiet and docker build docs-site (the server's docs image build, mkdocs build --strict). Also make deploy-preflight, a prerequisite of the deploy targets. |
Either check fails. |
deploy |
Runs preflight, then make ansible-deploy-backend-upgrade when the backend version differs from the previous commit's (--since, default HEAD~1: the squash-merged release), else make ansible-deploy. The target runs with SKIP_DEPLOY_PREFLIGHT=1. |
No --yes; not on main; HEAD is not origin/main; dirty tree; the preflight fails; the Vault links ansible/.vault_pass or ansible/inventory/group_vars/production/vault.yml missing (presence only, never read). |
Fill in the release-section stub (what changes, LocalStack changes, upgrade
order, rollback) in the release PR before merging. New Vault keys still go in
before deploy, and the course suite (l20) runs after it. The pure parts
(version parsing, pin replacement, release-section rendering, deploy target,
deploy preflight) are unit-tested in scripts/test_release_train.py (CI job
verifyContracts).
The manual sequence the script follows:
- Merge a green source change to that repository's default branch.
- Set the Cargo or npm version intended for release and merge its verification change.
- Create the matching signed or annotated
vX.Y.Ztag, or run an explicit candidate from the intended commit. - Wait for both registry publications and copy the Docker Hub manifest digest from the workflow summary or
docker buildx imagetools inspect. - Update the relevant
tag@sha256references in the LocalStack profiles and the compatibility table. - Run
make sync-release-imagesfrom this repository to propagate backend, frontend, and Ollama-mock references into the sibling development Compose files. The command fails if the expected workspace repositories or reference shapes are missing and validates each changed Compose file. - Run all Compose configuration checks,
python3 scripts/verify-image-pins.py, andpython3 scripts/verify-release-images.py --remote. - Run the affected direct-service, gateway, lightweight, and full gates.
- Merge the LocalStack release PR, create an encrypted production backup when stateful services are affected, and deploy through Ansible.
For a release that spans several repositories (such as commerce wave 3), publish in dependency order and pin everything in one LocalStack change:
- backend (internal API and payment result endpoint first, since both services call it), then warehouse-service and payment-service, then the frontend; the consumer is unchanged;
- add any new Vault keys before the deployment (the
approle refuses to deploy without them); - deploy with
make ansible-deploy-backend-upgradewhen the backend adds migrations, then run the unchanged course suite (l20) against the result.
An application release does not require rebuilding unchanged applications. It does require retaining their known-good immutable references in the reviewed compatibility set. Backward compatibility is maintained for persisted data and external contracts where required; the deployment does not keep stale application images running as compatibility variants.
After every deploy, run the feature smoke test against both production hosts (customer-level checks only; they create throwaway accounts and orders):
scripts/smoke-features.sh https://awesome.byst.re client
scripts/smoke-features.sh https://aitesters.byst.re client
Locally and in CI (verifyLightweight) the same script runs with full, which
adds the admin and warehouse flows using the demo accounts.
GraphQL/gRPC 3.8.0 release¶
Backend PR #59
and tag v3.8.0 add GraphQL commerce, GraphiQL, optional native admin inventory
RPCs, and metadata-only protocol traffic. The
release workflow
passed all gates and published both supported architectures with provenance and
SBOM. No database migration is introduced.
The frontend counterpart is tracked in PR #67.