Skip to content

Commit 360c4ab

Browse files
luisleo526claude
andauthored
Fix engine execution cases and selected-capacity admission for 1.12.0 (#825)
Include #797, #804, #817, #801 and #816: closed-trade cache placement, fill-time drawdown halt and flatten, reversal exit sizing, selected-capacity admission, and the percent default quantity cap. Document the intentional replacement of these earlier descriptions: - docs/design/native-feature-parity.md, introduced by 91d65ad: the old `update_risk_state(bar.close)` once per script bar at the close mark description is obsolete after #804. The cell now describes the fill-time peak, closing-fill threshold, halt latch and immediate flatten. Preserve MG10-a and MG10-b as HISTORICAL, measured on engine f5e929d, before the #804 change, with their values, claim status and grade unchanged. - docs/pages/memory-management.md, introduced by ba14721: "Storage is private: a global ordinal chooses one four-way set" no longer describes placement below the cap after #797 (653be41). Row n owns slot n while retained rows fit the cap; above it the existing four-way sets apply. Crossing the cap invalidates hot rows while retaining allocated pages. - docs/pages/memory-management.md, introduced by 69cddc9: "Page growth preserves entries through the 64/128/256 boundaries." is replaced by the current 256-slot page-boundary rule, which preserves entries through every page boundary within the cap. Re-anchor the remaining documentation citations and move the private-fixture registration evidence anchor from line 3470 to the actual token at line 3473. Preserve its row, predicate and reason; no new parity result or closed surface is claimed. Closes #804, closes #805. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent f5e929d commit 360c4ab

85 files changed

Lines changed: 8404 additions & 427 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ version number follows semantic versioning over the surfaces the
77

88
## Unreleased
99

10+
- A percent-of-equity default quantity above 100 percent is now capped at 100 percent of equity when `margin_long` and `margin_short` are both 0 (#805).
11+
- With `process_orders_on_close` and the default FIFO close rule, the named `strategy.exit` calls of a reversing `strategy.entry` with an explicit quantity, placed in the same execution after a `strategy.close` of the old position, are now sized from the new entry's own quantity: a percentage exit takes its share of the new entry and an absolute-quantity exit keeps its quantity, instead of being sized from a basis reduced by the old position (#803).
12+
- Without `process_orders_on_close`, the named `strategy.exit` calls placed with a reversing `strategy.entry` of explicit quantity now take their percentage from the new entry when its size differs from the position it replaces, and a take-profit given as an absolute quantity now fires; before, the percentage was taken from the position being replaced and an absolute-quantity take-profit never fired (#803).
13+
- `strategy.risk.max_drawdown` is now tested at the order fills that close units, on the equity at that fill with open positions included, against the highest equity at such fills (the equity at an opening fill or at a bar close does not raise it), and a breach closes every open position at that fill's price (exit text "Close Position (Max Drawdown)"), cancels the pending orders and blocks later entries; before, it was measured once per bar close and only refused new entries (#804).
1014
- The internal native Store live-object policy defaults to 0 (unbounded).
1115
The former capped default of 1,048,576 is now 0. Native limits are kept
1216
exactly: every positive uint64, including UINT64_MAX, is finite;
@@ -203,6 +207,16 @@ version number follows semantic versioning over the surfaces the
203207
occupant, and deleting the oldest drawing moves the directory's entries).
204208
The bound, the typed overflow outcome, the slot reuse order, the
205209
stale-handle behaviour and every value a script reads are unchanged.
210+
- The closed-trade read cache of the trade ledger places rows by count. While a
211+
run holds no more closed trades than the cache has entries (215,070 by
212+
default) each trade owns the slot of its ordinal: a read makes one probe, and
213+
the cache commits only the pages the trades reach (25,000 closed trades hold
214+
98 pages, 7.8 MB, where four-way sets hold 391, 31.2 MB). With more closed
215+
trades the four-way sets apply, and the cached rows are dropped when a run
216+
crosses the capacity in either direction. In a four-way set a hit on the most
217+
recent entry changes nothing and a hit on another entry ages only the entries
218+
more recent than it, so a full set replaces the entry touched longest ago. A
219+
miss is probed once. Every value a script reads is unchanged.
206220

207221
## 1.9.1 — 2026-10-31
208222

‎CMakeLists.txt‎

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,13 @@ set(PINEFORGE_KERNEL_SOURCES src/array.cpp
168168
src/selected_capacity_core.cpp
169169
src/selected_capacity_csv_reader.cpp
170170
src/selected_capacity_driver.cpp
171+
src/selected_capacity_source_rows.cpp
171172
src/selected_capacity_primary_rows.cpp
172173
src/selected_capacity_auxiliary_rows.cpp
173174
src/selected_capacity_script_bars.cpp
175+
src/selected_capacity_bytes.cpp
176+
src/selected_capacity_product.cpp
177+
src/selected_capacity_source_stage.cpp
174178
src/metrics_spill_curve.cpp
175179
src/report_scratch.cpp
176180
src/detail/o1_store.cpp
@@ -331,6 +335,57 @@ target_include_directories(pineforge_window_plan
331335
)
332336
target_link_libraries(pineforge_window_plan PRIVATE pineforge_kernel)
333337

338+
# The helper and its manifest install to these literal locations in every CMake configuration, whatever the install directory variables are set to; consumers look only here.
339+
set(_pf_sa_helper_path "bin/pineforge-selected-admit")
340+
set(_pf_sa_manifest_path "share/pineforge/pineforge-selected-admit.manifest.json")
341+
file(SHA256 "${CMAKE_CURRENT_SOURCE_DIR}/docker/run_failure_codes.json" _pf_sa_catalog_sha)
342+
file(SHA256 "${CMAKE_CURRENT_SOURCE_DIR}/tools/selected_admit/DESCRIPTOR-V1.md" _pf_sa_spec_sha)
343+
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
344+
"${CMAKE_CURRENT_SOURCE_DIR}/docker/run_failure_codes.json"
345+
"${CMAKE_CURRENT_SOURCE_DIR}/tools/selected_admit/DESCRIPTOR-V1.md")
346+
set(_pf_sa_have_source 0)
347+
set(_pf_sa_stage_sources "")
348+
set(_pf_sa_stages_json "[\"selected\"]")
349+
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/tools/selected_admit/stage_source.cpp")
350+
set(_pf_sa_have_source 1)
351+
set(_pf_sa_stage_sources tools/selected_admit/stage_source.cpp)
352+
set(_pf_sa_stages_json "[\"source\",\"selected\"]")
353+
endif()
354+
if(PINEFORGE_VERSION_DIRTY)
355+
set(_pf_sa_dirty 1)
356+
else()
357+
set(_pf_sa_dirty 0)
358+
endif()
359+
function(pineforge_add_selected_admit target identity_unit identity_definition)
360+
add_executable(${target} tools/selected_admit/main.cpp
361+
tools/selected_admit/stage_selected.cpp ${_pf_sa_stage_sources} ${identity_unit})
362+
string(REPLACE "_" "-" _pf_sa_output "${target}")
363+
set_target_properties(${target} PROPERTIES OUTPUT_NAME "${_pf_sa_output}")
364+
target_link_libraries(${target} PRIVATE pineforge_kernel)
365+
target_compile_options(${target} PRIVATE -ffp-contract=off -Wall -Wextra -Wpedantic)
366+
target_compile_definitions(${target} PRIVATE
367+
"PF_SELECTED_ADMIT_DIRTY=${_pf_sa_dirty}"
368+
"PF_SELECTED_ADMIT_HAVE_STAGE_SOURCE=${_pf_sa_have_source}"
369+
"PF_SELECTED_ADMIT_HELPER_PATH=\"${_pf_sa_helper_path}\""
370+
"PF_SELECTED_ADMIT_SPEC_SHA256=\"${_pf_sa_spec_sha}\""
371+
"PF_SELECTED_ADMIT_CATALOG_SHA256=\"${_pf_sa_catalog_sha}\""
372+
${identity_definition})
373+
if(PINEFORGE_ENABLE_COVERAGE)
374+
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
375+
target_compile_options(${target} PRIVATE -fprofile-instr-generate -fcoverage-mapping)
376+
elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
377+
target_compile_options(${target} PRIVATE --coverage -fprofile-arcs -ftest-coverage)
378+
endif()
379+
endif()
380+
endfunction()
381+
pineforge_add_selected_admit(pineforge_selected_admit tools/selected_admit/identity_shipped.cpp "")
382+
if(PINEFORGE_BUILD_TESTS)
383+
set(PINEFORGE_SELECTED_ADMIT_TEST_GIT_SHA "0123456789abcdef0123456789abcdef01234567")
384+
pineforge_add_selected_admit(pineforge_selected_admit_test_identity
385+
tools/selected_admit/identity_test.cpp
386+
"PF_SELECTED_ADMIT_TEST_GIT_SHA=\"${PINEFORGE_SELECTED_ADMIT_TEST_GIT_SHA}\"")
387+
endif()
388+
334389
# === Coverage instrumentation (opt-in) =================================
335390
# Build with:
336391
# cmake -B build -DCMAKE_BUILD_TYPE=Debug -DPINEFORGE_ENABLE_COVERAGE=ON
@@ -486,6 +541,20 @@ install(TARGETS pineforge pineforge_kernel pineforge_window_plan
486541
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
487542
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
488543
)
544+
get_filename_component(_pf_sa_helper_install_dir "${_pf_sa_helper_path}" DIRECTORY)
545+
install(TARGETS pineforge_selected_admit RUNTIME DESTINATION "${_pf_sa_helper_install_dir}")
546+
install(CODE "
547+
set(PF_SA_HELPER_PATH [==[${_pf_sa_helper_path}]==])
548+
set(PF_SA_MANIFEST_PATH [==[${_pf_sa_manifest_path}]==])
549+
set(PF_SA_VERSION_FULL [==[${PINEFORGE_VERSION_FULL}]==])
550+
set(PF_SA_VERSION [==[${PINEFORGE_VERSION_MMP}]==])
551+
set(PF_SA_GIT_SHA [==[${PINEFORGE_VERSION_GIT_SHA}]==])
552+
set(PF_SA_DIRTY [==[${PINEFORGE_VERSION_DIRTY}]==])
553+
set(PF_SA_SPEC_SHA256 [==[${_pf_sa_spec_sha}]==])
554+
set(PF_SA_CATALOG_SHA256 [==[${_pf_sa_catalog_sha}]==])
555+
set(PF_SA_STAGES_JSON [==[${_pf_sa_stages_json}]==])
556+
")
557+
install(SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/cmake/PineForgeSelectedAdmitManifest.cmake")
489558

490559
if(PINEFORGE_BUILD_SOURCE_LAYER)
491560
install(DIRECTORY include/pineforge

‎ci/cr150-source-bounds.yaml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ ceilings:
9797
# accessor and the writer's transfer buffer, transfer bytes, carried bytes and
9898
# integer text temporaries. None is bounded.
9999
# expectation corrected: unreviewed 1409 -> 1410, because the merged main's five groups retain the live-object scalar key; OPEN.
100-
unreviewed: 1410
100+
# Three more unreviewed groups: the selected-capacity Source stage's chunk
101+
# buffer, its record window and its stored message. None is bounded in the
102+
# gate's sense: no fixed input is declared for them.
103+
unreviewed: 1413
101104
pending-flat-memory: 184
102105
owners:
103106
- {name: "generated-cpp", globs: ["tutorial/**"]}
@@ -1748,3 +1751,6 @@ entries:
17481751
- {id: "U1733", file: "src/trade_text_writer.hpp", symbol: "std::to_string", ops: ["temp"], container: "unresolved by the index: std::to_string(...)", owner: "engine-core", phase: "unclassified", state: "unreviewed", note: "Decimal text of an unsigned 64-bit integer, at most 20 characters: the row index and the entry incarnation of each row, and the row count of the trailer. OPEN.", line: 83}
17491752
# The live-object scalar was U1729 before main added its trade-text key; retain both under distinct ids.
17501753
- {id: "U1734", file: "include/pineforge/detail/o1_store.hpp", symbol: "value_", ops: ["assign"], container: "unresolved by the index: value_ = ...", owner: "engine-core", phase: "unclassified", state: "unreviewed", line: 114}
1754+
- {id: "U1735", file: "src/selected_capacity_source_stage.cpp", symbol: "chunk_", ops: ["alloc"], container: "unresolved by the index: make_unique", owner: "selected-capacity", phase: "unclassified", state: "unreviewed", line: 38}
1755+
- {id: "U1736", file: "src/selected_capacity_source_stage.cpp", symbol: "window_", ops: ["decl", "grow"], container: "std::string", owner: "selected-capacity", phase: "unclassified", state: "unreviewed", line: 26}
1756+
- {id: "U1737", file: "src/selected_capacity_source_stage.hpp", symbol: "message", ops: ["decl"], container: "std::string", owner: "selected-capacity", phase: "unclassified", state: "unreviewed", line: 44}

‎ci/cr150-source-sites.json‎

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28136,6 +28136,70 @@
2813628136
"spelling": "std :: string",
2813728137
"ordinal": 1
2813828138
},
28139+
{
28140+
"file": "src/selected_capacity_source_stage.cpp",
28141+
"symbol": "window_",
28142+
"scope": [
28143+
"namespace pineforge :: detail :: selected_capacity #1",
28144+
"namespace #1",
28145+
"class SourceRecordBuffer final : public std :: streambuf #1",
28146+
"public : SourceRecordBuffer ( const SourceStageInput & input , const SourceStageOptions & options , std :: size_t index ) : input_ ( input ) , options_ ( options ) , index_ ( index ) , tracker_ ( options . max_record_bytes ) #1"
28147+
],
28148+
"cls": "grow",
28149+
"spelling": "window_ . reserve ( . . . )",
28150+
"ordinal": 1
28151+
},
28152+
{
28153+
"file": "src/selected_capacity_source_stage.cpp",
28154+
"symbol": "chunk_",
28155+
"scope": [
28156+
"namespace pineforge :: detail :: selected_capacity #1",
28157+
"namespace #1",
28158+
"class SourceRecordBuffer final : public std :: streambuf #1",
28159+
"protected : int_type underflow ( ) override #1",
28160+
"try #1"
28161+
],
28162+
"cls": "alloc",
28163+
"spelling": "make_unique",
28164+
"ordinal": 1
28165+
},
28166+
{
28167+
"file": "src/selected_capacity_source_stage.cpp",
28168+
"symbol": "window_",
28169+
"scope": [
28170+
"namespace pineforge :: detail :: selected_capacity #1",
28171+
"namespace #1",
28172+
"class SourceRecordBuffer final : public std :: streambuf #1",
28173+
"int_type uflow ( ) override #1",
28174+
"try #1"
28175+
],
28176+
"cls": "grow",
28177+
"spelling": "window_ . push_back ( . . . )",
28178+
"ordinal": 1
28179+
},
28180+
{
28181+
"file": "src/selected_capacity_source_stage.cpp",
28182+
"symbol": "window_",
28183+
"scope": [
28184+
"namespace pineforge :: detail :: selected_capacity #1",
28185+
"namespace #1",
28186+
"class SourceRecordBuffer final : public std :: streambuf #1"
28187+
],
28188+
"cls": "decl",
28189+
"spelling": "std :: string",
28190+
"ordinal": 1
28191+
},
28192+
{
28193+
"file": "src/selected_capacity_source_stage.hpp",
28194+
"symbol": "message",
28195+
"scope": [
28196+
"namespace pineforge :: detail :: selected_capacity #1",
28197+
"struct SourceStageResult #1"
28198+
],
28199+
"cls": "decl",
28200+
"spelling": "std :: string",
28201+
"ordinal": 1
28202+
},
2813928203
{
2814028204
"file": "src/selected_report_view.cpp",
2814128205
"symbol": "points",
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Invoked only after the shipped executable has been installed.
2+
set(_pf_sa_root "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}")
3+
set(_pf_sa_binary "${_pf_sa_root}/${PF_SA_HELPER_PATH}")
4+
if(NOT EXISTS "${_pf_sa_binary}" OR IS_DIRECTORY "${_pf_sa_binary}")
5+
message(FATAL_ERROR "Installed pineforge-selected-admit is missing: ${_pf_sa_binary}")
6+
endif()
7+
file(SIZE "${_pf_sa_binary}" _pf_sa_size)
8+
file(SHA256 "${_pf_sa_binary}" _pf_sa_sha)
9+
10+
# Byte lookup and UTF-8 decoding keep the JSON identical to the C++ ASCII
11+
# encoder without depending on a newer CMake JSON implementation.
12+
function(_pf_sa_octet text index result)
13+
string(SUBSTRING "${text}" ${index} 1 _pf_sa_byte)
14+
foreach(_pf_sa_number RANGE 1 255)
15+
string(ASCII ${_pf_sa_number} _pf_sa_character)
16+
string(COMPARE EQUAL "${_pf_sa_character}" "${_pf_sa_byte}" _pf_sa_same)
17+
if(_pf_sa_same)
18+
set(${result} ${_pf_sa_number} PARENT_SCOPE)
19+
return()
20+
endif()
21+
endforeach()
22+
message(FATAL_ERROR "Invalid UTF-8 in helper manifest metadata")
23+
endfunction()
24+
25+
function(_pf_sa_unit point result)
26+
set(_pf_sa_hex "0123456789abcdef")
27+
set(_pf_sa_text "\\u")
28+
foreach(_pf_sa_shift 12 8 4 0)
29+
math(EXPR _pf_sa_digit "(${point} >> ${_pf_sa_shift}) & 15")
30+
string(SUBSTRING "${_pf_sa_hex}" ${_pf_sa_digit} 1 _pf_sa_character)
31+
string(APPEND _pf_sa_text "${_pf_sa_character}")
32+
endforeach()
33+
set(${result} "${_pf_sa_text}" PARENT_SCOPE)
34+
endfunction()
35+
36+
function(_pf_sa_quote result text)
37+
string(LENGTH "${text}" _pf_sa_length)
38+
set(_pf_sa_at 0)
39+
set(_pf_sa_json "\"")
40+
while(_pf_sa_at LESS _pf_sa_length)
41+
_pf_sa_octet("${text}" ${_pf_sa_at} _pf_sa_point)
42+
string(SUBSTRING "${text}" ${_pf_sa_at} 1 _pf_sa_character)
43+
math(EXPR _pf_sa_at "${_pf_sa_at} + 1")
44+
if(_pf_sa_point EQUAL 34 OR _pf_sa_point EQUAL 92)
45+
string(APPEND _pf_sa_json "\\${_pf_sa_character}")
46+
elseif(_pf_sa_point GREATER_EQUAL 32 AND _pf_sa_point LESS 127)
47+
string(APPEND _pf_sa_json "${_pf_sa_character}")
48+
else()
49+
if(_pf_sa_point GREATER_EQUAL 128)
50+
if(_pf_sa_point GREATER_EQUAL 194 AND _pf_sa_point LESS 224)
51+
set(_pf_sa_tails 1)
52+
set(_pf_sa_minimum 128)
53+
elseif(_pf_sa_point GREATER_EQUAL 224 AND _pf_sa_point LESS 240)
54+
set(_pf_sa_tails 2)
55+
set(_pf_sa_minimum 2048)
56+
elseif(_pf_sa_point GREATER_EQUAL 240 AND _pf_sa_point LESS_EQUAL 244)
57+
set(_pf_sa_tails 3)
58+
set(_pf_sa_minimum 65536)
59+
else()
60+
message(FATAL_ERROR "Invalid UTF-8 in helper manifest metadata")
61+
endif()
62+
math(EXPR _pf_sa_point "${_pf_sa_point} & ((1 << (6 - ${_pf_sa_tails})) - 1)")
63+
foreach(_pf_sa_tail RANGE 1 ${_pf_sa_tails})
64+
if(NOT _pf_sa_at LESS _pf_sa_length)
65+
message(FATAL_ERROR "Truncated UTF-8 in helper manifest metadata")
66+
endif()
67+
_pf_sa_octet("${text}" ${_pf_sa_at} _pf_sa_next)
68+
if(_pf_sa_next LESS 128 OR _pf_sa_next GREATER 191)
69+
message(FATAL_ERROR "Invalid UTF-8 in helper manifest metadata")
70+
endif()
71+
math(EXPR _pf_sa_point "(${_pf_sa_point} << 6) | (${_pf_sa_next} & 63)")
72+
math(EXPR _pf_sa_at "${_pf_sa_at} + 1")
73+
endforeach()
74+
if(_pf_sa_point LESS _pf_sa_minimum OR _pf_sa_point GREATER 1114111
75+
OR (_pf_sa_point GREATER_EQUAL 55296 AND _pf_sa_point LESS_EQUAL 57343))
76+
message(FATAL_ERROR "Invalid UTF-8 in helper manifest metadata")
77+
endif()
78+
endif()
79+
if(_pf_sa_point GREATER 65535)
80+
math(EXPR _pf_sa_point "${_pf_sa_point} - 65536")
81+
math(EXPR _pf_sa_high "55296 + (${_pf_sa_point} >> 10)")
82+
math(EXPR _pf_sa_low "56320 + (${_pf_sa_point} & 1023)")
83+
_pf_sa_unit(${_pf_sa_high} _pf_sa_encoded_high)
84+
_pf_sa_unit(${_pf_sa_low} _pf_sa_encoded_low)
85+
string(APPEND _pf_sa_json "${_pf_sa_encoded_high}${_pf_sa_encoded_low}")
86+
else()
87+
_pf_sa_unit(${_pf_sa_point} _pf_sa_encoded)
88+
string(APPEND _pf_sa_json "${_pf_sa_encoded}")
89+
endif()
90+
endif()
91+
endwhile()
92+
string(APPEND _pf_sa_json "\"")
93+
set(${result} "${_pf_sa_json}" PARENT_SCOPE)
94+
endfunction()
95+
96+
_pf_sa_quote(_pf_sa_path_json "${PF_SA_HELPER_PATH}")
97+
_pf_sa_quote(_pf_sa_full_json "${PF_SA_VERSION_FULL}")
98+
_pf_sa_quote(_pf_sa_version_json "${PF_SA_VERSION}")
99+
_pf_sa_quote(_pf_sa_git_json "${PF_SA_GIT_SHA}")
100+
if(PF_SA_DIRTY)
101+
set(_pf_sa_dirty_json true)
102+
else()
103+
set(_pf_sa_dirty_json false)
104+
endif()
105+
set(_pf_sa_manifest "{\"schema\":\"pineforge-selected-capacity-helper-manifest/v1\",")
106+
string(APPEND _pf_sa_manifest "\"helper\":{\"name\":\"pineforge-selected-admit\",\"path\":${_pf_sa_path_json},\"bytes\":\"${_pf_sa_size}\",\"sha256\":\"${_pf_sa_sha}\"},")
107+
string(APPEND _pf_sa_manifest "\"engine\":{\"version_full\":${_pf_sa_full_json},\"version\":${_pf_sa_version_json},\"git_sha\":${_pf_sa_git_json},\"dirty\":${_pf_sa_dirty_json}},")
108+
string(APPEND _pf_sa_manifest "\"descriptor\":{\"request_schema\":\"pineforge-selected-capacity-request/v1\",\"result_schema\":\"pineforge-selected-capacity-result/v1\",\"spec_sha256\":\"${PF_SA_SPEC_SHA256}\"},")
109+
string(APPEND _pf_sa_manifest "\"failure_catalog\":{\"codes\":[\"selected_auxiliary_rows_limit_exceeded\",\"selected_bytes_limit_exceeded\",\"selected_primary_rows_limit_exceeded\",\"selected_script_bars_limit_exceeded\",\"selected_source_rows_limit_exceeded\"],\"catalog_sha256\":\"${PF_SA_CATALOG_SHA256}\"},")
110+
string(APPEND _pf_sa_manifest "\"stages\":${PF_SA_STAGES_JSON}}\n")
111+
set(_pf_sa_manifest_file "${_pf_sa_root}/${PF_SA_MANIFEST_PATH}")
112+
get_filename_component(_pf_sa_manifest_directory "${_pf_sa_manifest_file}" DIRECTORY)
113+
file(MAKE_DIRECTORY "${_pf_sa_manifest_directory}")
114+
file(WRITE "${_pf_sa_manifest_file}" "${_pf_sa_manifest}")

0 commit comments

Comments
 (0)