Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(client-runtime): queued runs that start after a steer show up in the thread #17764

Mergedjuliusmarmingemerged 2 commits intomain fromrefs/pull/17764/headmerged by juliusmarminge View on GitHub

Showing 7 changed files with 13 additions and 4 deletions (loading 4).

x
0 of 7 viewed, 7 left
2 additions and 1 deletionapps/mobile/src/connection/environment-cache-store.test.tsModified
View file
@@ -1,5 +1,6 @@
import {
ORCHESTRATION_CACHE_SCHEMA_VERSION,
+ ORCHESTRATION_THREAD_CACHE_SCHEMA_VERSION,
StoredOrchestrationShellSnapshot,
} from "@t3tools/client-runtime/platform";
import {
@@ -251,7 +252,7 @@
ORCHESTRATION_CACHE_SCHEMA_VERSION,
expect(memory.schemaVersions.get(cacheId(ENVIRONMENT_ID, "thread", THREAD_ID))).toBe(
- ORCHESTRATION_CACHE_SCHEMA_VERSION,
+ ORCHESTRATION_THREAD_CACHE_SCHEMA_VERSION,
}),
9 additions and 2 deletionsapps/mobile/src/connection/environment-cache-store.tsModified
View file
@@ -1,5 +1,6 @@
import {
ORCHESTRATION_CACHE_SCHEMA_VERSION,
+ ORCHESTRATION_THREAD_CACHE_SCHEMA_VERSION,
StoredOrchestrationThreadSnapshot,
Persistence,
} from "@t3tools/client-runtime/platform";
@@ -148,13 +149,19 @@
saveThread: Effect.fn("MobileEnvironmentCache.saveThread")(function* (environmentId, snapshot) {
const threadId = snapshot.projection.thread.id;