Repository navigation
build(dev): run local Temporal on the CLI dev server image - #954
artempartos merged 2 commits into
Conversation
temporalio/auto-setup was discontinued after 1.29.7 and carries 64 critical/high CVEs (one in CISA KEV). Replace the compose temporal service with temporalio/temporal 1.10.1 `server start-dev`, persisted to SQLite on the temporal_data volume. Service name, port 7233, the default namespace and the healthcheck contract stay, so worker, temporal-ui and config/settings.yml are unchanged. Refs AixleHQ#362 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Aixle Flow <[email protected]> Signed-off-by: Evgeny Agafonov <[email protected]>
The worker syncs the schedules only on start. Switching a running stack to the dev server with `docker compose up -d` recreated `temporal` on an empty temporal_data volume and left the worker running, so every cron schedule was missing until someone restarted the worker by hand. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Artem Petrov <[email protected]>
|
Ran the runtime checks from the test plan on a separate local stack, starting from One gap, fixed in cf371ad: switching a running stack with |
* origin/develop: (23 commits) ci(images): publish web, otlp-ingest and runner-relay for linux/arm64 (#983) fix(k8s): give a pod's image pull its own start budget (#979) build(dev): pull published agent images instead of building them (#980) fix(deps): bump coder-cli to v2.34.22 (CVE fixes) (#956) chore(agents): raise agent CLI pins for canary #943 (#975) docs(runners): record the §12.5 staging validation of the coder runner (row 18) (#978) build(dev): run local Temporal on the CLI dev server image (#954) fix(deps): websocket-driver 0.9.2 security batch, cross-spawn and tar re-resolve (#976) feat(web): link the docs portal from the app footer and sidebar (#379) (#969) feat(onboarding): Getting started page and product tour (#51) (#879) feat(dashboard): keep the table's sort in the URL (#974) fix(kiro): offer the models the account has today, not those of its last login (#973) feat(dashboard): keep the period and filters in the URL (#972) feat(company-settings): confirm worker count changes before saving (#971) feat(runners): the Coder runner in the UI: form, Environments section and docs (runners 17e, #315) (#963) docs(trackers): tech design for trackers chosen per session (#959) chore: remove the integrations backfill tooling left from #298 (#964) feat(runners): a coder runner created from the console (runners 17d, #309) (#960) chore(release): 1.23.0 (#961) feat(coder): Coder services for a second consumer, in the layers of runner-layers.md (runners 17b, #304) (#919) ... # Conflicts: # CHANGELOG.md
temporalio/auto-setup was discontinued after 1.29.7 and carries 64 critical/high CVEs (one in CISA KEV). Replace the compose temporal service with temporalio/temporal 1.10.1
server start-dev, persisted to SQLite on the temporal_data volume. Service name, port 7233, the default namespace and the healthcheck contract stay, so worker, temporal-ui and config/settings.yml are unchanged.Summary
temporalio/auto-setuphas no tag newer than 1.29.7, so no image bump fixes its 64 critical/high CVEs (3 critical, including KEV CVE-2026-111497 in brotli-libs). The image only backs the local dev stack.docker-compose.yml:temporalrunstemporalio/temporal:1.10.1withserver start-dev --ip 0.0.0.0 --port 7233 --headless --namespace default --db-filename /home/temporal/temporal.db --log-level error. The Postgres env vars anddepends_on: dbare gone; the healthcheck is exec-form against127.0.0.1:7233.temporal_data, mounted at/home/temporal: the image runs as uid 1000 and has no/data, and a fresh volume takes the owner of the image path it is mounted on, so SQLite can write there.docs/quickstart.mdand its portal copyquick-start.mdsay Temporal is pulled, not built.CHANGELOG.md: Unreleased/Changed entry.Local Temporal history resets once: it is not carried over from the old
temporal/temporal_visibilityPostgres databases, which can be dropped. The worker recreates the schedules fromapp/temporal/schedules.ymlon start.This replaces #910 (same change, rebased on
develop; that branch lives inAixleHQ/flowand cannot be pushed from a fork).Related issues
Supersedes #910. Board card: https://flow.aixle.com/company/projects/56/board?n=362
Type of change
How was this tested?
trivy image --severity CRITICAL,HIGH temporalio/temporal:1.10.1(trivy v0.72.0): 0 findings. None of the card's 64 CVEs are in the new image.temporal,USER temporal(uid 1000),temporalonPATH, amd64 and arm64 builds.CHANGELOG.md.make up, thetemporalhealthcheck, the worker connecting over0.0.0.0, the schedule sync, a board workflow run, persistence acrossdocker compose restart temporal). Tests and CI start their own dev server (bin/seed-temporal-test-server) and do not use this compose service, so no automated tests were added.Checklist
git commit -s).organization has executed the Corporate CLA.
make check_allpasses locally (tests, rubocop, brakeman, eslint, typescript).[Unreleased]in CHANGELOG.md.🤖 Generated with Claude Code