feat(temporal): add temporal lexicon, rewrite temporal-crdb-deploy, rename temporal-local#13
Merged
feat(temporal): add temporal lexicon, rewrite temporal-crdb-deploy, rename temporal-local#13
Conversation
…ename temporal-local Temporal lexicon (@intentius/chant-lexicon-temporal): - 4 resources: TemporalServer, TemporalNamespace, SearchAttribute, TemporalSchedule - Serializer producing docker-compose.yml, temporal-setup.sh, helm-values, schedules/ - TemporalDevStack and TemporalCloudStack composites - TemporalActivityProfile + TEMPORAL_ACTIVITY_PROFILES (fastIdempotent, longInfra, k8sWait, humanGate) - workflowRetryPolicy on TemporalScheduleProps - Lint rules TMP001/TMP002, post-synth checks TMP010/TMP011 - MCP skills, docs site, integration tests New GCP composites: - MultiRegionVpc — VPC + subnets + routers + NATs for all regions in one call - GkeCrdbRegion — per-region GKE cluster + DNS zone + GSAs + Workload Identity bindings New K8s composite: - CockroachDbRegionStack — collapses 8 per-region K8s files into one composite call temporal-crdb-deploy example rewrite: - src/temporal.ts: TemporalCloudStack declares namespace + 4 search attributes - chant.config.ts: typed cloud/local worker profiles - Per-region files: 30 subdirectory files → 6 flat files via new composites - temporal/worker.ts: connection config sourced from chant.config.ts (typed) - Added build:temporal + temporal:setup npm scripts Rename temporal-local → temporal-self-hosted: - Uses TemporalDevStack composite instead of raw resources - Namespace-scoped search attributes and schedule - Added chant.config.ts with local worker profile - Added README explaining the self-hosted story and dev→prod path
gcp and k8s have new public composites in this PR (MultiRegionVpc, GkeCrdbRegion, CockroachDbRegionStack). publish.yml was missing the temporal lexicon step entirely.
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.
Closes #6
Summary
@intentius/chant-lexicon-temporalpackage — 4 resources (TemporalServer, TemporalNamespace, SearchAttribute, TemporalSchedule), serializer producing docker-compose.yml / temporal-setup.sh / helm-values / schedules/*.ts, TemporalDevStack + TemporalCloudStack composites, lint rules TMP001/TMP002, post-synth checks TMP010/TMP011, MCP skills, docs siteTemporalChantConfig,TemporalWorkerProfile,TemporalActivityProfile,TEMPORAL_ACTIVITY_PROFILES(fastIdempotent, longInfra, k8sWait, humanGate),workflowRetryPolicyonTemporalSchedulePropsMultiRegionVpc(VPC + subnets + routers + NATs in one call),GkeCrdbRegion(per-region GKE cluster + DNS zone + GSAs + Workload Identity bindings)CockroachDbRegionStack(collapses 8 per-region K8s files into one call)temporal-crdb-deployrewrite —src/temporal.tsdeclares namespace + search attrs viaTemporalCloudStack;chant.config.tsprovides typed worker profiles; 30 per-region subdirectory files replaced by 6 flat files;temporal/worker.tsconnection config sourced fromchant.config.tstemporal-local→temporal-self-hosted— renamed, usesTemporalDevStackcomposite, namespace-scoped attrs/schedule, addedchant.config.tsand READMETest plan
npx vitest run— 466 test files, 5459 tests, 0 failureslexicons/temporal/src/example.test.ts— all 4 assertions pass (docker-compose, setup.sh namespace + attrs, schedule file)lexicons/temporal/src/serializer.test.ts,composites.test.ts,lint-rules.test.ts,post-synth.test.ts— all pass