deepline 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +552 -237
- package/dist/cli/index.mjs +609 -289
- package/dist/index.d.mts +21 -58
- package/dist/index.d.ts +21 -58
- package/dist/index.js +177 -92
- package/dist/index.mjs +177 -92
- package/dist/repo/apps/play-runner-workers/src/coordinator-entry.ts +3 -1
- package/dist/repo/apps/play-runner-workers/src/entry.ts +153 -0
- package/dist/repo/sdk/src/client.ts +243 -124
- package/dist/repo/sdk/src/types.ts +8 -14
- package/dist/repo/sdk/src/version.ts +1 -1
- package/dist/repo/shared_libs/play-runtime/execution-plan.ts +27 -2
- package/dist/repo/shared_libs/play-runtime/profiles.ts +4 -14
- package/dist/repo/shared_libs/play-runtime/runtime-actions.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Execution profile = the (scheduler, runner, dedup) tuple selected for a run.
|
|
3
3
|
*
|
|
4
|
-
* Profiles
|
|
4
|
+
* Profiles define the supported execution architectures:
|
|
5
5
|
* - `workers_edge` — Full-CF: Dynamic Workers + Cloudflare Workflows + DO dedup (default)
|
|
6
|
-
* - `legacy` — Daytona + Temporal + in-memory dedup (deprecated; kept for benchmarking)
|
|
7
6
|
* - `local` — Local subprocess + in-process scheduler (for tests)
|
|
8
7
|
*
|
|
9
8
|
* Selection: the API hardcodes `workers_edge` as the default. Per-run
|
|
@@ -30,7 +29,6 @@ export type PlayExecutionProfile = {
|
|
|
30
29
|
};
|
|
31
30
|
|
|
32
31
|
export const PLAY_EXECUTION_PROFILE_IDS = {
|
|
33
|
-
legacy: 'legacy',
|
|
34
32
|
workersEdge: 'workers_edge',
|
|
35
33
|
local: 'local',
|
|
36
34
|
} as const;
|
|
@@ -42,13 +40,6 @@ export const PLAY_EXECUTION_PROFILES: Record<
|
|
|
42
40
|
PlayExecutionProfileId,
|
|
43
41
|
PlayExecutionProfile
|
|
44
42
|
> = {
|
|
45
|
-
legacy: {
|
|
46
|
-
id: 'legacy',
|
|
47
|
-
scheduler: PLAY_SCHEDULER_BACKENDS.temporal,
|
|
48
|
-
runner: PLAY_RUNTIME_BACKENDS.daytona,
|
|
49
|
-
dedup: PLAY_DEDUP_BACKENDS.inMemory,
|
|
50
|
-
label: 'Daytona + Temporal (production today)',
|
|
51
|
-
},
|
|
52
43
|
workers_edge: {
|
|
53
44
|
id: 'workers_edge',
|
|
54
45
|
scheduler: PLAY_SCHEDULER_BACKENDS.cfWorkflows,
|
|
@@ -67,10 +58,9 @@ export const PLAY_EXECUTION_PROFILES: Record<
|
|
|
67
58
|
|
|
68
59
|
export function defaultExecutionProfile(): PlayExecutionProfile {
|
|
69
60
|
// Hardcoded. The full-Cloudflare path is the only production execution
|
|
70
|
-
// story
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
// env-var-based switching here.
|
|
61
|
+
// story: Dynamic Workflows + Dynamic Workers + DO dedup. local remains
|
|
62
|
+
// selectable via the per-run `profile` body field on POST /api/v2/plays/run
|
|
63
|
+
// for tests; do not reintroduce env-var-based switching here.
|
|
74
64
|
return PLAY_EXECUTION_PROFILES.workers_edge;
|
|
75
65
|
}
|
|
76
66
|
|