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 878af53
Browse filesBrowse the repository at this point in the historyBrowse files
Brings in the jailed temporary-file witness test and the strategy runner changes that landed on main. The merge applied without conflicts and changes no file of the cache work.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: docker/pineforge_sink_finalize.py
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,10 @@
35
35
PATH is a dedicated output pathname owned exclusively by this invocation.
36
36
File mode runs as a uid permitted to write the output and spool directories,
37
37
without RLIMIT_FSIZE=0.
38
+
PINEFORGE_RUN_JSON_PROFILE accepts unjailed (default) or jailed. File mode is excluded under jailed before touching
39
+
PATH or creating a spool: exit 3, with a text diagnostic naming finalizer_file_output_no_jailed_route on stderr only when --receipt-fd is not 2.
40
+
With --receipt-fd 2, the caller sees exit 3 and the ordinary failure receipt only, indistinguishable from a malformed stream.
41
+
Stdout mode with a positive --max-bytes remains accepted.
38
42
An old entry at PATH is unlinked before receiving input, so a failed run
39
43
cannot leave an old success behind. A random mode-0600 spool is created
40
44
in DIR (default: PATH's directory), filled, fsynced, closed, and verified
@@ -100,7 +104,7 @@ class engine_fault: the run is refunded and the caller may retry with a larger s
100
104
Exit codes:
101
105
0 complete and verified; sink delivered/published and receipt written
102
106
2 usage error
103
-
3 malformed stream: JSON/schema/line rule, run-id mismatch, or E/T/O/K order
107
+
3 malformed stream (JSON/schema/line rule, run-id mismatch, or E/T/O/K order) or a host-profile refusal (text diagnostic naming the reason on stderr only when --receipt-fd is not 2; with --receipt-fd 2, the ordinary failure receipt only, indistinguishable from a malformed stream)
104
108
4 verification failure: trailer grammar, counts, SHA-256, or extra bytes
Copy file name to clipboardExpand all lines: docs/pages/memory-management.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,9 +292,9 @@ trailer raises `missing header or trailer`.
292
292
and exit status 1
293
293
(2 for the refusals above). The separate sink finalizer tool,
294
294
`docker/pineforge_sink_finalize.py`, has its own exit statuses: 0 complete and verified, 2 usage error,
295
-
3 malformed stream, 4 verification failure, 5 input or output failure, 6 end of input without a
295
+
3 malformed stream or host-profile refusal, 4 verification failure, 5 input or output failure, 6 end of input without a
296
296
trailer, 7 internal error, 8 `sink_exhausted` (the stream exceeds `--max-bytes`;
297
-
`sink_exhausted` at `docker/pineforge_sink_finalize.py:100-109`). Its output is provisional until
297
+
`sink_exhausted` at `docker/pineforge_sink_finalize.py:104-113`). Its output is provisional until
298
298
exit 0, and a consumer must discard everything it received on exit 3 to 8 (`PROVISIONAL` at
299
299
`docker/pineforge_sink_finalize.py:24-26`). The failure catalog maps exit 8 to `report_sink_failed`
300
300
with `reason` `sink_exhausted` (`sink_exhausted` at `docker/run_failure_codes.json:1105`). A sink failure carries code `report_sink_failed` and a `reason`
0 commit comments