Skip to content

Commit 99b0bfe

Browse files
committed
Merge main documentation update into runtime limit vocabulary
Retain the runtime vocabulary change and the current input conversion documentation.
2 parents c85460b + c6a61ef commit 99b0bfe

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

‎docker/README.md‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,20 @@ memory-limit cause from diagnostics, allocation errors or child signals.
331331
The compiler flags, including `-ffp-contract=off` and whole-archive linking,
332332
are unchanged.
333333

334+
A compile that stops because of a limit outside these three settings, such as
335+
a file-size, open-file or process-count limit that the host applies, is not
336+
typed either. The entrypoint decodes only the wait status of the compiler
337+
driver it started, and any nonzero status that is not one of the typed stops
338+
above is an ordinary compile failure, exit 3. Measured with the compiler of
339+
the 1.10.0 image (g++ 14.2.0, Debian 13, arm64), the driver ended with exit 4
340+
for a file-size limit (its own internal-error status: it reports the death of
341+
its helper itself) and with exit 1 for an open-file, process-count or
342+
address-space limit, the same status as a syntax error. None of them reached
343+
the entrypoint as a signal. The status therefore names no cause, and the
344+
entrypoint does not read the compiler's text for one. Telling such a stop
345+
apart needs evidence from whoever enforces the limit, not the compiler's
346+
status or output.
347+
334348
These controls are engine guards. They do not establish namespaces, cgroups,
335349
RSS or aggregate memory quotas, cumulative tree CPU limits, temporary-storage
336350
quotas, task quotas, or signed installation evidence. The host supplies those
@@ -1094,7 +1108,7 @@ directly (for example `base64 -d | shasum -a 256`).
10941108
| ---: | ------- |
10951109
| `0` | Success — JSON report, C++ in transpile-only mode, or empty stdout after a build-only run |
10961110
| `2` | Missing input mount (`/in/strategy.pine` or `/in/strategy.cpp`, and `/in/ohlcv.csv`), or a mounted `strategy.cpp` the host did not vouch for (one typed `run_request_invalid` line on stdout) |
1097-
| `3` | `g++` compile or selected inventory binding failed |
1111+
| `3` | `g++` compile or selected inventory binding failed, including a stop by a limit the host applied (no cause is inferred) |
10981112
| `4` | Backtest aborted at runtime, a compile guard refused its settings or stopped compilation, or a build-only request or manifest failed |
10991113
| `5` | Transpile failed (unsupported Pine construct or syntax error) |
11001114

0 commit comments

Comments
 (0)