GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — fix(core): keep a daemon command's output file on disk at the shell output cap by dezren39 · Pull Request #2685 · developing-today-forks/opencode ConversationCloses the daemon-side gap of #2486 left by the 2026-11-22 sync (#2677). The prebuilt process daemon writes a command's whole output file, so the server now cuts a running daemon command's file back to Behavior change from upstream: a daemon command's result tail now comes from the capped capture (first 10 MiB), the fork's #2486 rule, not from the end of an unbounded file; the 17 MiB case in Validated (macOS): core
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…utput cap #2486 bounded a shell command's capture at MAX_OUTPUT_BYTES so a runaway command cannot fill the disk. Since the upstream sync local commands run in the process daemon, a prebuilt binary that writes the whole output file, so only reads were capped (#2677). The server now checks each running daemon command's file every second and at its exit, cuts it back to the cap, and records that in the command's daemon metadata so a restarted server still reports the capture as truncated. Reads stop at the cap, so what the daemon writes after a cut (appended again, or past a hole) is never shown. A result now reads the tail of the capped capture, as for the in-process spawner. Tests (shell-daemon.test.ts): "keeps a daemon command's output file on disk at the cap" (fails with the watch disabled); the 17 MiB case of "bounds what it reads..." now expects the capped capture.
2 tasks
|
There was an error while loading. Please reload this page.
|
Caution Review failedThe pull request is closed.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.