earendil-works/pi · error · ExecutionError
unknown
unknown
Error message
Full output path was not created
What it means
Error "Full output path was not created" thrown in earendil-works/pi.
Source
Thrown at packages/agent/src/harness/utils/shell-output.ts:74
let tailOutput = "";
const maxOutputBytes = DEFAULT_MAX_BYTES * 2;
const encoder = new TextEncoder();
let totalBytes = 0;
let completedLines = 0;
let hasOpenLine = false;
let currentLineBytes = 0;
let fullOutputPath: string | undefined;
let fullOutputRequested = false;
let acceptingOutput = true;
let writeChain: Promise<Result<void, ExecutionError>> = Promise.resolve(ok(undefined));
let captureError: ExecutionError | undefined;
const appendFullOutput = (text: string): void => {
if (!fullOutputRequested || captureError) return;
writeChain = writeChain.then(async (previous) => {
if (!previous.ok) return previous;
if (!fullOutputPath) return err(new ExecutionError("unknown", "Full output path was not created"));
const appendResult = await env.appendFile(fullOutputPath, text);
return appendResult.ok ? ok(undefined) : err(toExecutionError(appendResult.error));
});
};
const ensureFullOutputFile = (initialContent: string): void => {
if (fullOutputRequested || captureError) return;
fullOutputRequested = true;
writeChain = writeChain.then(async (previous) => {
if (!previous.ok) return previous;
const tempFile = await env.createTempFile({ prefix: "bash-", suffix: ".log" });
if (!tempFile.ok) return err(toExecutionError(tempFile.error));
fullOutputPath = tempFile.value;
const appendResult = await env.appendFile(tempFile.value, initialContent);
return appendResult.ok ? ok(undefined) : err(toExecutionError(appendResult.error));
});
};
View on GitHub (pinned to 4af9d21d3b)
Solutions
- The full output file was not written; check disk space and permissions on the output directory.
When it happens
Trigger: Thrown at packages/agent/src/harness/utils/shell-output.ts:74 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of earendil-works/pi@4af9d21d3b (2026-08-24).
Data as JSON: /api/errors/5ab31c89d87076d4.
Report an issue: GitHub.