Skip to content

feat(temporal): Made a deployment something to pick rather than to assemble. - #18

Closed
moetemp wants to merge 1 commit into
moe/lost-host-migrationfrom
moe/deployment-profile
Closed

moetemp wants to merge 1 commit into
moe/lost-host-migrationfrom
moe/deployment-profile

Conversation

@moetemp

@moetemp moetemp commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

This PR adds OPENCODE_TEMPORAL_PROFILE, a preflight, and opencode session doctor.

The settings that make a fleet work are not independent, and a wrong combination fails hours later as something else: a store only one process can see reads as a worker that never picks anything up. fleet sets what has to agree (a shared store, client and worker roles, the stepped mode), preflight refuses what cannot work before the process takes any work, and doctor prints what a process resolved and nothing that is a credential.

Temporal Cloud and a cluster with mTLS are reachable: OPENCODE_TEMPORAL_API_KEY_FILE, or a certificate pair. Credentials are read from files, never from argv, and connectionOptions is built once so a client and a worker in different processes cannot disagree about how the cluster is reached.

packages/opencode gains a workspace dependency on @opencode-ai/temporal for the doctor command, loaded only when it runs.

@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

The settings that make a fleet work are not independent, and a wrong combination fails hours later as something else: a store one process can see reads as a worker that never picks anything up. `OPENCODE_TEMPORAL_PROFILE=fleet` sets what has to agree, `preflight` refuses what cannot before the process takes work, and `opencode session doctor` prints what a process resolved. Cloud and mTLS credentials come from files, never from argv.
@moetemp
moetemp force-pushed the moe/deployment-profile branch from cecf750 to 4b9e69b Compare September 15, 2026 01:01
@moetemp
moetemp force-pushed the moe/lost-host-migration branch from 4a5ce71 to 2420e09 Compare September 15, 2026 01:01
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

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