@cosmicdrift/kumiko-server-runtime 0.182.0 → 0.182.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-server-runtime",
3
- "version": "0.182.0",
3
+ "version": "0.182.1",
4
4
  "description": "Production server-boot runtime for Kumiko apps: connections, schema-drift-gate, seeds, lifecycle, graceful shutdown. Symmetric to kumiko-dev-server's runDevApp, without dev/scaffold/codegen tooling.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -76,8 +76,8 @@
76
76
  }
77
77
  },
78
78
  "dependencies": {
79
- "@cosmicdrift/kumiko-bundled-features": "0.182.0",
80
- "@cosmicdrift/kumiko-framework": "0.182.0",
79
+ "@cosmicdrift/kumiko-bundled-features": "0.182.1",
80
+ "@cosmicdrift/kumiko-framework": "0.182.1",
81
81
  "temporal-polyfill": "^0.3.2"
82
82
  },
83
83
  "publishConfig": {
@@ -26,9 +26,10 @@ export async function startDevJobRunners(opts: {
26
26
 
27
27
  const logger = createJobRunLogger({ db: opts.db, registry: opts.registry });
28
28
  const runners: JobRunner[] = [];
29
- const lanes = new Set(
30
- jobs.map((j) => j.runIn).filter((lane): lane is JobRunIn => lane !== undefined),
31
- );
29
+ // `?? "worker"` mirrors job-runner's laneForJob: a job without an explicit
30
+ // runIn is enqueued onto the worker lane, so filtering those out would leave
31
+ // its queue without a consumer whenever no other job named the lane.
32
+ const lanes = new Set<JobRunIn>(jobs.map((j) => j.runIn ?? "worker"));
32
33
 
33
34
  for (const lane of lanes) {
34
35
  const jr = createJobRunner({