JuliusBrussee/caveman · error · AsyncJobsUnavailableError
cave_async_jobs_unavailable
cave_async_jobs_unavailable
Error message
Async job execution is unavailable: durable encrypted request storage, provider credential custody, and a draining worker are not wired. No job was submitted.
What it means
Error "Async job execution is unavailable: durable encrypted request storage, provider credential custody, and a draining worker are not wired. No job was submitted." thrown in JuliusBrussee/caveman.
Source
Thrown at packages/sdk/typescript/src/index.ts:739
export class AsyncJobsUnavailableError extends Error {
readonly code = "cave_async_jobs_unavailable";
constructor() {
super(ASYNC_JOBS_UNAVAILABLE);
this.name = "AsyncJobsUnavailableError";
}
}
/**
* Reserved async-job surface. Every method fails locally before network I/O
* until delayed requests have durable payload, credential, and worker support.
* Mirrors Python `JobsClient` and prevents fake queued/completed work.
*/
export class JobsClient {
constructor(_cave: Cave) {}
async submit(_body: Record<string, unknown>, _options?: { latencyClass?: LatencyClass }): Promise<Job> {
throw new AsyncJobsUnavailableError();
}
async status(_id: string): Promise<Job> {
throw new AsyncJobsUnavailableError();
}
async cancel(_id: string): Promise<Record<string, unknown>> {
throw new AsyncJobsUnavailableError();
}
async wait(_id: string, _options?: { intervalMs?: number; timeoutMs?: number }): Promise<Job> {
throw new AsyncJobsUnavailableError();
}
async submitAndWait(
_body: Record<string, unknown>,
_options?: { latencyClass?: LatencyClass; intervalMs?: number; timeoutMs?: number }
): Promise<Job> {View on GitHub (pinned to 27d5a3981a)
Solutions
- Async job execution is not wired; run synchronously or wait for durable storage, credential custody, and a draining worker to be available.
When it happens
Trigger: Thrown at packages/sdk/typescript/src/index.ts:739 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of JuliusBrussee/caveman@27d5a3981a (2026-08-15).
Data as JSON: /api/errors/776d081c03873361.
Report an issue: GitHub.