Skip to content

Commit b48d719

Browse files
authored
refactor(sdk,gate)!: improve temporal rt (#642)
Improve the temporal runtime exposing more parameters and adding more tests. #### Motivation and context MET-397. The old implementation was bug-ridden and did not expose necessary params. #### Migration notes API changes to `TemporalRuntime` ctor, methods and generated materializers. ### Checklist - [x] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [x] End-user documentation is updated to reflect the change
1 parent 1c6c8af commit b48d719

File tree

30 files changed

+2045
-1267
lines changed

30 files changed

+2045
-1267
lines changed

.ghjk/deno.lock

Lines changed: 5 additions & 257 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.ghjk/lock.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@
8989
"depConfigs": {},
9090
"portRef": "[email protected]"
9191
},
92+
"1c1870c8d78ff6ec1621711218174deb5ddb2b4133b30d390dda5fa223978dba": {
93+
"version": "v0.10.7",
94+
"depConfigs": {},
95+
"portRef": "[email protected]"
96+
},
9297
"f6c92b4425a3c13dfde7fe516efd376287e66cfa74aefd7b6a7a7bb0f3547a47": {
9398
"version": "0.116.0",
9499
"depConfigs": {
@@ -344,7 +349,7 @@
344349
"portRef": "[email protected]"
345350
},
346351
"076a5b8ee3bdc68ebf20a696378458465042bb7dc1e49ac2dc98e5fa0dab3e25": {
347-
"version": "3.6.2",
352+
"version": "3.7.0",
348353
"depConfigs": {
349354
"cpy_bs_ghrel": {
350355
"version": "3.12.1",
@@ -417,6 +422,7 @@
417422
"d4ca252ebf5bda1d22a1a8a796e7d934f9cece3a",
418423
"c0203b644293bdb58cac21fba277ef58a175ad67",
419424
"98e6699973c2da514713908660702cfbfd49e14c",
425+
"f8b685b18a2bb55787741eec84f2be5b672b1953",
420426
"5ba4e48fe13b264e586f7bc2ca68f4649144d96f",
421427
"55cf0ca40c7c1e3af02695285123eb94588c6f8a",
422428
"386645977375df0d8f7ada7da257fee2113a1ed4",
@@ -556,6 +562,24 @@
556562
"moduleSpecifier": "https://raw.githubusercontent.com/metatypedev/ghjk/423d38/ports/cargo-binstall.ts"
557563
}
558564
},
565+
"f8b685b18a2bb55787741eec84f2be5b672b1953": {
566+
"version": "0.10.7",
567+
"port": {
568+
"ty": "denoWorker@v1",
569+
"name": "temporal_cli_ghrel",
570+
"platforms": [
571+
"aarch64-linux",
572+
"x86_64-linux",
573+
"aarch64-darwin",
574+
"x86_64-darwin",
575+
"aarch64-windows",
576+
"x86_64-windows"
577+
],
578+
"version": "0.1.0",
579+
"deps": [],
580+
"moduleSpecifier": "https://raw.githubusercontent.com/metatypedev/ghjk/423d38/ports/temporal_cli.ts"
581+
}
582+
},
559583
"5ba4e48fe13b264e586f7bc2ca68f4649144d96f": {
560584
"version": "0.116.0",
561585
"depConfigs": {

.github/workflows/tests.yml

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -232,43 +232,6 @@ jobs:
232232
- self-hosted # https://check-jsonschema.readthedocs.io/en/latest/faq.html#using-self-hosted-runners
233233
- custom-ubuntu-large
234234
timeout-minutes: 60
235-
services:
236-
redis:
237-
image: bitnami/redis:7.0
238-
env:
239-
REDIS_PASSWORD: password
240-
ports:
241-
- 6379:6379
242-
options: >-
243-
--health-cmd "redis-cli -a password ping"
244-
--health-interval 10s
245-
--health-timeout 5s
246-
--health-retries 5
247-
postgres:
248-
image: postgres:15
249-
env:
250-
POSTGRES_DB: db
251-
POSTGRES_USER: postgres
252-
POSTGRES_PASSWORD: password
253-
ports:
254-
- 5432:5432
255-
options: >-
256-
--health-cmd pg_isready
257-
--health-interval 10s
258-
--health-timeout 5s
259-
--health-retries 5
260-
minio:
261-
image: bitnami/minio:2022
262-
env:
263-
MINIO_REGION_NAME: local
264-
MINIO_ROOT_USER: minio
265-
MINIO_ROOT_PASSWORD: password
266-
MINIO_DEFAULT_BUCKETS: "bucket:none"
267-
ports:
268-
- "9000:9000"
269-
- "9001:9001"
270-
env:
271-
DENO_DIR: deno-dir
272235
steps:
273236
- uses: actions/checkout@v4
274237
- uses: dsherret/rust-toolchain-file@v1
@@ -324,6 +287,9 @@ jobs:
324287
rm -rf typegraph/python/typegraph/gen
325288
poetry run python -m wasmtime.bindgen $WASM_FILE --out-dir typegraph/python/typegraph/gen
326289
290+
# start the docker containers
291+
deno run -A dev/env.ts base s3 prisma
292+
327293
# from old test-typegraph-core
328294
# test in native rust, not in wasm for a future rust SDK
329295
# without --tests, the --doc is causing a link error "syntax error in VERSION script"

0 commit comments

Comments
 (0)