@opengeni/api-router 2.6.3-canary.0 → 2.6.4-canary.0

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/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  createOpenGeniSlackBotInteractionClient,
7
7
  startSlackInteractionPump,
8
8
  startTemporalScheduleCleanupPump
9
- } from "./chunk-XTLI3CBH.js";
9
+ } from "./chunk-UOI7KAP3.js";
10
10
 
11
11
  // src/index.ts
12
12
  import {
@@ -32,7 +32,10 @@ import {
32
32
  } from "@opengeni/observability";
33
33
  import { createObjectStorage } from "@opengeni/storage";
34
34
  import { isArtifactRuntimeConfigured } from "@opengeni/artifact-tool/runtime/development";
35
- import { SESSION_WORKFLOW_WAKE_DISPATCHER_SCHEDULE_ID } from "@opengeni/core";
35
+ import {
36
+ resolveCatalogSettings,
37
+ SESSION_WORKFLOW_WAKE_DISPATCHER_SCHEDULE_ID
38
+ } from "@opengeni/core";
36
39
  import {
37
40
  Connection,
38
41
  Client as TemporalClient,
@@ -2905,6 +2908,15 @@ async function startApi(options = {}) {
2905
2908
  () => assertRuntimeDatabasePosture(dbClient.db, databasePosture),
2906
2909
  { ...retryOptions, onRetry }
2907
2910
  );
2911
+ const resolvedCatalog = await retryStartupDependency(
2912
+ "model catalog",
2913
+ () => resolveCatalogSettings(dbClient.db, settings),
2914
+ { ...retryOptions, onRetry }
2915
+ );
2916
+ observability.info("OpenGeni model catalog resolved", {
2917
+ catalogSource: resolvedCatalog.source,
2918
+ catalogVersion: resolvedCatalog.version
2919
+ });
2908
2920
  bus = await retryStartupDependency(
2909
2921
  "NATS",
2910
2922
  () => createNatsEventBus(