Repository navigation
Commit bf0811b
authored
docker: name the memory and scratch controls in the entrypoint's usage text (#543)
## What
The release entrypoint's usage text is its header comment. This adds one paragraph that names the memory and scratch environment variables an operator can set (`PINEFORGE_COMMAND_SCRATCH_MAX_BYTES`, `PINEFORGE_COMMAND_SCRATCH_DIR` or `TMPDIR`, `PF_SCRATCH_ARENA_FD` with `PF_SCRATCH_ARENA_BYTES`, `PF_SCRATCH_ARENA_JAILED`, `PF_SCRATCH_WINDOW_BYTES`, `PINEFORGE_RUN_JSON_PROFILE`) and points to `docs/pages/memory-management.md` for defaults, units and limits.
Comment-only: every code line of `docker/entrypoint.sh` is unchanged (nine comment lines are added before `set -euo pipefail`; no line is removed).
Because the block moves the lines below it by nine, the `docker/entrypoint.sh:A-B` citations in `tests/ownership/driver.py` and `docs/design/BARS-BIN-INPUT.md` are re-pinned to the same lines of code (found by the text of the first and last line, not by adding nine blindly). The `driver.py` runtime-command citation was already one line stale on main (it named 287-300; the `run_json.py` call is 288-301 since the report-descriptor line was added at 263) and now names the right lines, so the five-line `driver.py` change is not a pure shift.
## Checks
- Scope: three files; `git diff --summary` against the base is empty (no mode change); no code line of the entrypoint changes.
- Each re-pinned citation names the same code as before (each read at the new file).
- The documentation preflight guards (file:line anchors) run on the PR tree in CI.
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 53e884a commit bf0811b
3 files changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
0 commit comments