deepseek-ai/deepseek-harness · error · AggregateError
failed to revoke report tool and prompt registrations
Error message
failed to revoke report tool and prompt registrations
What it means
Error "failed to revoke report tool and prompt registrations" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/subagent/tool-subagent-report/src/index.ts:126
} catch (rollbackError: unknown) {
throw new AggregateError(
[error, rollbackError],
'failed to register the report tool and roll back its prompt guidance',
)
}
throw error
}
return () => {
const failures: unknown[] = []
for (const dispose of [disposeTool, disposeSection]) {
try {
dispose()
} catch (error: unknown) {
failures.push(error)
}
}
if (failures.length > 0) {
throw new AggregateError(failures, 'failed to revoke report tool and prompt registrations')
}
}
}
/**
* Register the continuable-child contribution.
* @param ctx - context carrying tools, the system prompt, and the subagent service.
* @param config - deployment scheduling policy.
*/
export function apply(ctx: Context, config: Config = {}): void {
// Config() applies the schema default at runtime; the schemastery return
// type keeps the input's optional shape, so assert the resolved one.
const { reportDelivery } = Config(config) as { reportDelivery: SubagentReportDelivery }
ctx.subagents.registerContinuableSetup(childCtx =>
installReportTool(childCtx, ctx, reportDelivery))
}
View on GitHub (pinned to b150a551b8)
Solutions
- Inspect the attached revocation failure causes; restart the context to drop stale registrations.
When it happens
Trigger: Thrown at packages/subagent/tool-subagent-report/src/index.ts:126 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/95a966c491e5e92b.
Report an issue: GitHub.