You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 99b0bfe
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docker/README.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -331,6 +331,20 @@ memory-limit cause from diagnostics, allocation errors or child signals.
331
331
The compiler flags, including `-ffp-contract=off` and whole-archive linking,
332
332
are unchanged.
333
333
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
+
334
348
These controls are engine guards. They do not establish namespaces, cgroups,
335
349
RSS or aggregate memory quotas, cumulative tree CPU limits, temporary-storage
336
350
quotas, task quotas, or signed installation evidence. The host supplies those
@@ -1094,7 +1108,7 @@ directly (for example `base64 -d | shasum -a 256`).
1094
1108
| ---: | ------- |
1095
1109
|`0`| Success — JSON report, C++ in transpile-only mode, or empty stdout after a build-only run |
1096
1110
|`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)|
1098
1112
|`4`| Backtest aborted at runtime, a compile guard refused its settings or stopped compilation, or a build-only request or manifest failed |
1099
1113
|`5`| Transpile failed (unsupported Pine construct or syntax error) |
0 commit comments