@blaxel/core 0.3.13-preview.269 → 0.3.13
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/common/settings.js +2 -2
- package/dist/cjs/jobs/jobs.js +3 -0
- package/dist/cjs/types/client/types.gen.d.ts +4 -0
- package/dist/cjs/types/jobs/jobs.d.ts +1 -0
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/common/settings.js +2 -2
- package/dist/cjs-browser/jobs/jobs.js +3 -0
- package/dist/cjs-browser/types/client/types.gen.d.ts +4 -0
- package/dist/cjs-browser/types/jobs/jobs.d.ts +1 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/common/settings.js +2 -2
- package/dist/esm/jobs/jobs.js +3 -0
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/common/settings.js +2 -2
- package/dist/esm-browser/jobs/jobs.js +3 -0
- package/package.json +1 -1
|
@@ -30,8 +30,8 @@ function missingCredentialsMessage() {
|
|
|
30
30
|
return "No Blaxel credentials found. Set the BL_API_KEY and BL_WORKSPACE environment variables, or run `bl login`.";
|
|
31
31
|
}
|
|
32
32
|
// Build info - these placeholders are replaced at build time by build:replace-imports
|
|
33
|
-
const BUILD_VERSION = "0.3.13
|
|
34
|
-
const BUILD_COMMIT = "
|
|
33
|
+
const BUILD_VERSION = "0.3.13";
|
|
34
|
+
const BUILD_COMMIT = "615fb5551f22447c530bcaef346d68dc79590758";
|
|
35
35
|
const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
|
|
36
36
|
const BLAXEL_API_VERSION = "2026-04-28";
|
|
37
37
|
// Bun < 1.3.11 never sends connection-level WINDOW_UPDATE: the pooled h2
|
|
@@ -26,6 +26,9 @@ class BlJob {
|
|
|
26
26
|
...(options?.env && { env: options.env }),
|
|
27
27
|
...(options?.memory && { memory: options.memory }),
|
|
28
28
|
...(options?.executionId && { executionId: options.executionId }),
|
|
29
|
+
...(options?.allowQueue !== undefined && {
|
|
30
|
+
allowQueue: options.allowQueue,
|
|
31
|
+
}),
|
|
29
32
|
};
|
|
30
33
|
const executionId = await this.createExecution(request);
|
|
31
34
|
return executionId;
|
|
@@ -509,6 +509,10 @@ export type CreateJobExecutionOutput = {
|
|
|
509
509
|
* Request to create a job execution
|
|
510
510
|
*/
|
|
511
511
|
export type CreateJobExecutionRequest = {
|
|
512
|
+
/**
|
|
513
|
+
* When false, capacity is checked synchronously and the request is rejected immediately with a 429 error if the execution cannot start right now, instead of being queued and retried in the background. No execution is created on rejection. Defaults to true (queue and retry).
|
|
514
|
+
*/
|
|
515
|
+
allowQueue?: boolean;
|
|
512
516
|
/**
|
|
513
517
|
* Environment variable overrides (optional, will merge with job's environment variables)
|
|
514
518
|
*/
|