@usecontextlayer/ctxb 0.5.1 → 0.5.2
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.mjs +8 -3
- package/dist/cli.mjs.map +1 -1
- package/package.json +5 -5
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4436c984-9742-5437-8767-04206256252d")}catch(e){}}();
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import * as Sentry from "@sentry/node";
|
|
6
6
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
@@ -60,7 +60,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region package.json
|
|
63
|
-
var version$1 = "0.5.
|
|
63
|
+
var version$1 = "0.5.2";
|
|
64
64
|
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region sentry.ts
|
|
@@ -28220,6 +28220,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28220
28220
|
var import_dist = require_dist();
|
|
28221
28221
|
const DAGSTER_PARTITION_TAG = "dagster/partition";
|
|
28222
28222
|
const DAGSTER_MAX_CONCURRENT_RUNS = 10;
|
|
28223
|
+
const DAGSTER_RUN_MAX_RUNTIME_SECONDS = 14400;
|
|
28223
28224
|
function pluginIdToPythonPackage(pluginId) {
|
|
28224
28225
|
return `plugin_${pluginId}`;
|
|
28225
28226
|
}
|
|
@@ -28227,6 +28228,10 @@ function generateDagsterYaml(manifests) {
|
|
|
28227
28228
|
const managedLoggers = ["shared_plugins", ...manifests.map((m) => pluginIdToPythonPackage(m.plugin_id))].sort();
|
|
28228
28229
|
return (0, import_dist.stringify)({
|
|
28229
28230
|
run_queue: {},
|
|
28231
|
+
run_monitoring: {
|
|
28232
|
+
enabled: true,
|
|
28233
|
+
max_runtime_seconds: DAGSTER_RUN_MAX_RUNTIME_SECONDS
|
|
28234
|
+
},
|
|
28230
28235
|
concurrency: { runs: {
|
|
28231
28236
|
max_concurrent_runs: DAGSTER_MAX_CONCURRENT_RUNS,
|
|
28232
28237
|
tag_concurrency_limits: [{
|
|
@@ -28390,4 +28395,4 @@ runCli().catch((error) => {
|
|
|
28390
28395
|
//#endregion
|
|
28391
28396
|
export { createProgram, runCli };
|
|
28392
28397
|
//# sourceMappingURL=cli.mjs.map
|
|
28393
|
-
//# debugId=
|
|
28398
|
+
//# debugId=4436c984-9742-5437-8767-04206256252d
|