Run DevServer from SHA#348
Draft
stephanos wants to merge 3 commits into
Draft
Conversation
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>
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 was changed
Why?
Checklist
Closes
How was this tested: