Repository navigation
build(dev): run local Temporal on the CLI dev server image - #910
Closed
aixle-com[bot] wants to merge 1 commit into
Closed
aixle-com[bot] wants to merge 1 commit into
aixle-com[bot] wants to merge 1 commit 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 #362 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Aixle Flow <[email protected]>
Contributor
Author
Code Review — round 1 — PASSCard mode: regular. The card has both Critical issuesNone. What was checked
Non-critical suggestions
|
9 of 13 tasks
Contributor
|
Superseded by #954: the same change rebased on develop, opened from a fork. |
Contributor
Author
|
Superseded by #954. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
temporalio/auto-setupwas discontinued after 1.29.7, so no newer tag fixes its 64 critical/high CVEs (3 critical, including KEV CVE-2026-111497). The image only backs the local dev stack. Following the Tech Design, the composetemporalservice now runs the Temporal CLI dev server instead.docker-compose.yml:temporalusestemporalio/temporal:1.10.1(latest CLI release, 2026-11-13) withserver start-dev --ip 0.0.0.0 --port 7233 --headless --namespace default --db-filename … --log-level error. The Postgres env vars anddepends_on: dbare removed. The healthcheck uses exec form against127.0.0.1:7233. The service name, port 7233 (TEMPORAL_HOST_PORT), thedefaultnamespace and the healthcheck contract stay the same, soworker,temporal-uiandconfig/settings.ymlneed no changes.temporal_data, keeps the SQLite store between restarts.docs/quickstart.mdand its portal copyquick-start.mdnow say that Temporal is pulled, not built.CHANGELOG.mdhas an Unreleased/Changed entry: local Temporal state resets once, and the oldtemporal/temporal_visibilityPostgres DBs can be dropped.Deviation from the Tech Design (its "volume ownership" risk, resolved by its own fallback): the image's config says
USER temporal(uid 1000) and has no/datadirectory. A new named volume at/datawould be owned by root, and SQLite could not write to it. The volume is mounted at/home/temporalinstead, a path the image owns, and Docker gives a new volume the owner of that path. The DB file is/home/temporal/temporal.db.Card: https://flow.aixle.com/company/projects/56/board?n=362
Checks
docker-compose.ymlparses as YAML; thetemporalservice, thetemporal_datavolume andworker.depends_on.temporal: service_healthyresolve as expected.temporalio/temporal:1.10.1: entrypointtemporal, usertemporal(uid 1000), alpine 3.24.4 base, amd64 and arm64 builds.make up, thetemporalhealthcheck, the worker boot and schedule sync, themakeworker boot smoke, persistence acrossdocker compose restart temporal,make lint_check_alland the Rails/Vitest suites. Tests and CI do not use the composetemporalservice; they boot their own dev server frombin/seed-temporal-test-server. The Tech Design adds no automated tests.🤖 Generated with Claude Code