From 5499fae88c010b50413f15217d3b7de48beecb99 Mon Sep 17 00:00:00 2001 From: Jaime Still Date: Wed, 2 Dec 2026 09:57:21 -0500 Subject: [PATCH] =?UTF-8?q?ingest-fixes=20=C2=B7=20editor:=20rsvg-convert?= =?UTF-8?q?=20in=20the=20command's=20unit=20timeout=20row;=20the=20command?= =?UTF-8?q?-upgrade=20note=20integrated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- context/README.md | 2 -- context/command-upgrade.md | 13 ------------- docs/command.md | 2 +- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 context/command-upgrade.md diff --git a/context/README.md b/context/README.md index 8436833..774b8a8 100644 --- a/context/README.md +++ b/context/README.md @@ -39,8 +39,6 @@ tasks' measurements of what v1.ai.processing delivers. - **Run directory** (built): [rundir/doc.go](../rundir/doc.go), [rundir/schema/doc.go](../rundir/schema/doc.go). - **Command** (built): [cmd/docproc/main.go](../cmd/docproc/main.go). -- **Command on v0.12.0** (planned): [command-upgrade.md](command-upgrade.md), the bounds tests - and rsvg-convert. - **Format coverage** (built): [docs/limits.md](../docs/limits.md), what each stage leaves unread. - **Format coverage's open items** (planned): [tool-gaps.md](tool-gaps.md), docproc-ooxml's equations and SmartArt among them. diff --git a/context/command-upgrade.md b/context/command-upgrade.md deleted file mode 100644 index b2ef5d3..0000000 --- a/context/command-upgrade.md +++ /dev/null @@ -1,13 +0,0 @@ -# cmd/docproc on docproc v0.12.0 - -cmd/docproc requires docproc v0.11.0 ([go.mod](../cmd/docproc/go.mod)). Its move to v0.12.0 is -planned and needs two changes beyond the version: - -- **The bounds tests.** v0.12.0's `settings` package assembles an unset `soffice_memory` to - `tool_memory`'s value, so `startingBounds` in - [bounds_test.go](../cmd/docproc/internal/app/test/bounds_test.go) sets - `Stages.LibreOfficeMemory` to `Stages.Memory`. cmd/docproc reads no `soffice_memory`; its soffice - runs in a container under `Memory`. -- **rsvg-convert.** v0.12.0's office and picture routes require rsvg-convert on the host - ([README](../README.md#the-system-tools)), and `Options.Timeout` bounds its runs, so - [docs/command.md](../docs/command.md)'s `DOCPROC_UNIT_TIMEOUT` row lists it. diff --git a/docs/command.md b/docs/command.md index 52035bf..0a831bb 100644 --- a/docs/command.md +++ b/docs/command.md @@ -67,7 +67,7 @@ shutdown. | Variable | Bound | Starting value | | --- | --- | --- | | `DOCPROC_TOOL_MEMORY` | Every tool's memory bound, in bytes (`stages.Options.Memory`); set, the exec runner needs `prlimit` on PATH; [Limits](limits.md) gives the tools' needs under it | 2 GiB | -| `DOCPROC_UNIT_TIMEOUT` | A unit run's bound (`Options.Timeout`): gs, qpdf, pdfdetach, pdftotext, pdfinfo, magick, soffice, docproc-ooxml, ffprobe; a gs process shared by a PDF's pages takes it as an idle bound between its pages | 10m | +| `DOCPROC_UNIT_TIMEOUT` | A unit run's bound (`Options.Timeout`): gs, qpdf, pdfdetach, pdftotext, pdfinfo, magick, rsvg-convert, soffice, docproc-ooxml, ffprobe; a gs process shared by a PDF's pages takes it as an idle bound between its pages | 10m | | `DOCPROC_STREAM_IDLE` | A stream run's idle bound (`Options.Idle`): ffmpeg, docproc-mail, docproc-onenote, 7zz | 2m | | `DOCPROC_MAX_PARTS` | The most parts one dispatch admits, the input among them (`dispatch.Limits.Parts`) | 100000 | | `DOCPROC_MAX_BYTES` | The most bytes one dispatch's parts may come to (`Limits.Bytes`); it bounds what the archive and document stages write too, and an entry stopped at it is recorded `limited`, with no size or SHA-256 | 32 GiB |