Skip to content

Run DevServer from SHA#348

Draft
stephanos wants to merge 3 commits into
mainfrom
stephanos/omes-server-dl
Draft

Run DevServer from SHA#348
stephanos wants to merge 3 commits into
mainfrom
stephanos/omes-server-dl

Conversation

@stephanos
Copy link
Copy Markdown
Collaborator

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

stephanos and others added 3 commits May 11, 2026 09:27
Introduces github.com/temporalio/omes/devserver, a thin wrapper that runs
a Temporal dev server either as a testsuite.StartDevServer delegate
(default) or by cloning temporalio/temporal at a git ref and building
./cmd/server from source. The source-build path is exposed via a new
--embedded-server-ref=<sha|tag|branch> flag on run-worker /
run-scenario-with-worker.

Internal omes use is sqlite-only; the package's PersistenceOptions lets
external callers (e.g. temporal/tests) pick postgres etc.

Scenario tests (workers/test_env.go and scenarios/project) now go
through devserver instead of testsuite directly; pass OMES_SERVER_REF
in the env to target a specific server sha.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds ClusterEndpoint option so external callers (e.g. mixed-version
tests in temporalio/temporal) can point a server's "active" cluster
info at another process's frontend. Adds SourceDir option to skip the
clone step when the caller has a local checkout.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Callers building from a local checkout (no clone, no specific ref)
no longer need to set a placeholder Ref. The CLI dev-server path
remains the fallback when both Ref and SourceDir are empty.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@stephanos stephanos changed the title Stephanos/omes server dl Run DevServer from SHA May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant