Skip to content

Commit 7da487a

Browse files
luisleo526claude
andauthored
ci/tests: remove the CI time limits; a platform-maximum stop is a HANG to re-run (EN-116) (#378)
tests: a slow compile must pass the native include-independence helper and its verifier stage (red first, EN-116) Owner rule (EN-105 G9, EN-116): slowness never fails a required check. scripts/check_native_include_independence.py compile_object() kills a compile after 120 seconds, raises InfrastructureError, and scripts/ci_verify.py records the stage as failed. This test runs the real helper through the real Driver.invoke()/default_runner with a compiler wrapper that sleeps 122 seconds and then runs the real compiler with the same arguments, and requires exit 0, the object and dependency files, a passed stage with no recorded failure, and no timeout or deadline text in the captured diagnostic or the stage log. It takes about two minutes on purpose. No production code, bound or constant is changed or patched by the test, and no CMake registration or row count changes (the test lives in the already registered scripts/test_ci_verify.py). On this commit it FAILS (the helper's 120 second compile deadline expires); the commits that follow remove the deadlines and it passes. tests: remove the subprocess time limits of CI tests and checks (owner rule) Owner rule (2026-10-12 15:52, verbatim): 不要做任何時間限制 類似的問題已經出現太多次了 很煩 — no time limits of any kind; problems of this kind have come up too often. Two CI jobs failed on 2026-10-12 only because a bound was too tight for a slow row: hosted kernel-only run 38213895073 was killed at 1800 s, and main push run 38217844683 (native-live) died with "test_ci_verify: TIMEOUT 3600 must be positive and less than stage deadline 2820". This removes every `timeout=` bound on a subprocess a CI test or check runs, together with the two local helpers that carried a timeout default (`run_command` in scripts/check_native_include_independence.py, `run` in scripts/prepare_settlement_cpp_abi_base.py), the `GIT_SECONDS` constant of scripts/ci_docs_only.py, and the `timeout` parameter of `run_release` in scripts/pf_release_run.py. Synchronization waits (threading Event/Barrier, Thread.join, Queue.get, sqlite3 connect, socket settimeout, wait_for poll helpers) and product configuration named timeout (connect_timeout_ms, total_timeout_ms, --feed-idle-timeout, --feed-message-timeout) are untouched: they are behaviour under test, not CI limits. scripts/ci_verify.py, scripts/ci_preflight.py, scripts/test_ci_verify.py, scripts/test_ci_preflight.py, tests/CMakeLists.txt, runner/CMakeLists.txt, .github/workflows/*.yml and docs/ci.md belong to the sibling lane and are not touched here. The platform's 360-minute job limit is the only hang catcher left. Bounds removed per file (count): benchmarks/speed/aggregate.py: 1 benchmarks/tests/test_run_all.py: 1 docker/run_json_provenance_test.py: 12 scripts/check_kernel_residuals.py: 1 scripts/check_native_include_independence.py: 6 scripts/check_pending_order_prefix_compiler.py: 1 scripts/check_runtime_budget.py: 2 scripts/ci_docs_only.py: 2 scripts/cpp_abi_pairing.py: 6 scripts/pf_release_run.py: 2 scripts/prepare_settlement_cpp_abi_base.py: 4 scripts/test_ci_docs_only.py: 1 scripts/test_cmake_version_source.py: 1 scripts/test_example_runner.py: 2 scripts/test_native_cpp_versions.py: 1 scripts/test_oracle_fixture_checks.py: 1 scripts/test_private_fixture_reads.py: 4 scripts/test_run_json_outputs.py: 1 scripts/test_twin_parity.py: 1 scripts/test_two_world_registration.py: 1 scripts/update_twin_parity_fixtures.py: 1 tests/checked_settings_e2e.py: 6 tests/confirmed_capabilities_e2e.py: 1 tests/confirmed_capabilities_refusals.py: 1 tests/confirmed_receipt_versions.py: 1 tests/extract_native_engine_complete_host.py: 1 tests/live_phase_a_migration.py: 3 tests/native_live_chart_calendar_e2e.py: 1 tests/native_live_chart_input_e2e.py: 7 tests/native_live_d7_fixtures.py: 3 tests/native_live_e2e.py: 4 tests/native_live_equivalence_e2e.py: 4 tests/native_live_report_e2e.py: 1 tests/native_live_routing_e2e.py: 12 tests/native_live_service_e2e.py: 7 tests/native_live_startup_e2e.py: 1 tests/native_live_tick_tape.py: 4 tests/native_live_websocket_e2e.py: 2 tests/same_calc_bracket_e2e.py: 1 tests/strategy_capabilities_e2e.py: 7 tests/test_compile_inventory_pipeline.py: 3 TOTAL: 122 bounds removed in 41 files. (An earlier version of this message listed scripts/check_native_cpp_abi.py: 8 and a total of 130 in 42 files; that file has no timeout in this commit's parent or in its tree, so it was never part of the change.) ci: remove the verifier's own time limits and say the HANG rule (EN-116) Owner rule (EN-105 G9 AMENDED, EN-116): slowness never fails a required check. No verifier stage, CTest row, workflow step or profile carries a deadline of ours; the only hang catcher is the CI job envelope at the platform maximum (360 minutes), and a job stopped there is a HANG to re-run, not a failed check. Exit-code, signal, missing-summary and diagnostic checks stay. * scripts/ci_verify.py: the options --test-timeout and --ctest-timeout, their config fields, validators, the row-versus-stage deadline inventory check, the summary fields testTimeoutSeconds and ctestTimeoutSeconds, the runner timeout parameters nobody passes any more and the dead TimeoutExpired handlers are removed; ctest is called with --timeout 0 (no default per-test deadline of ours) instead of 21600; a row's own TIMEOUT property is untouched. * scripts/test_ci_verify.py: the deadline-contract tests assert the removed options, the absent summary fields and unbounded dispatch; the deliberate CTest Timeout case now drives a row's own TIMEOUT 1 property and keeps its exit-8, witness, failed-stage, log and JUnit checks. * scripts/ci_preflight.py, scripts/test_ci_preflight.py, .github/workflows/native-live.yml: the native verification step carries no step deadline; the job-level 360 minutes stay and are still required. * Docs reworded so each sentence is true. Sentences named for the doc-revert gate (old text, first words): "The opt-in --test-timeout N gives CTest a default per-test deadline in seconds"; "Neither is set anywhere in CI any more (owner rule, 2026-10-12"; "With no explicit stage deadline the driver refuses no row for its speed"; "--test-timeout alone is accepted; both flags together still refuse a run whose per-test deadline"; "The native workflow passes neither flag." "The summary records both bounds (null when unset)"; "Their sanitizers CTest stage gets no bound of its own any more"; "Its sanitizer job ran 61.5 min and hit the verifier's then-30-minute CTest stage timeout (no stage carries a bound of ours any more)"; "No bound of the verifier's own is left to bind first"; "Now no stage, row, step, profile or matrix entry carries a time limit of this repository's: every row runs until it finishes"; "Its stages carry no timeout of their own any more -- the old 2400 s stage bound is gone"; "No row, stage or step bound remains: its old 3600 s row bound is what collided with the 2820 s stage deadline"; "Its old per-row 900 s and stage 1200 s deadlines are gone; a row now runs until it finishes"; "Its old 900/1200-s row/stage bounds are gone like live-sanitizers'" (docs/ci.md); "fails on a nonzero exit, a signal, a timeout or a missing summary line" (docs/adr/0001-kernel-adapter-boundary.md, docs/pages/pine-to-native.md twice, docs/pages/native-engine.md). The citations of ci_verify.py:794 became :789 in CONTRIBUTING.md:162, docs/pages/contributing-llm.md:136 and :284 and docs/pages/native-engine.md:4616. Not changed: the CPU-ratio and runtime-budget measurement gates, benchmarks/run_all.sh, the intentional timeout-contract fixtures, runner/ product timeouts and .claude/settings.json. tests: the native-live Python tests wait without deadlines (EN-116) Owner rule (EN-105 G9, EN-116): slowness never fails a required check; the only hang catcher is the CI job envelope, and an expiry there is a HANG (re-run), not a failed test. Exit codes, results and assertions on what the code under test did stay. Polling intervals and deliberate delays stay; only the overall deadlines go. * tests/native_live_service_e2e.py: the condition helper wait_for() and the delivery/keepalive event waits are unbounded (two caller overrides of 30 s removed; the dead TimeoutExpired cleanup handler removed). * tests/native_live_routing_e2e.py: the receiver barrier, the two newer-action event waits, the receiver and reader joins, the condition helper and the queue read are unbounded; the ledger read retries a locked database (only "database is locked", every other error propagates) instead of failing after 30 s of busy wait. * tests/native_live_tick_tape.py, tests/native_live_websocket_e2e.py: the 30 s and 20 s socket read deadlines and the dead TimeoutError handler are removed. * tests/test_native_live_equivalence_harness.py: seven completion/reap waits, the log-readiness loop and the helper subprocess are unbounded; their exit-code and exact-log assertions stay. * tests/native_live_test_process.py: wait() with no timeout polls until the child ends; the explicit-timeout path stays for the intentional timeout-contract test. Not changed here (kept for a ruling): the elapsed-time assertions that prove a behaviour is prompt or that an idle timeout fired (native_live_service_e2e.py "elapsed < 10", native_live_routing_e2e.py drain bound and two "< 10" SIGTERM checks, native_live_websocket_e2e.py "elapsed >= 14"), the crash-window searches that need the child to still be running (native_live_equivalence_e2e.py accepted.wait(120) against the 120 s ACK hold, native_live_tick_tape.py deadline 600), and the explicit-timeout witness of the process helper. tests: the native-live C++ test servers and one self-test wait without deadlines (EN-116) Owner rule (EN-105 G9, EN-116): slowness never fails a required check; the only hang catcher is the CI job envelope, and an expiry there is a HANG (re-run). Polling intervals stay; the intentional timeout-contract cases stay. * tests/test_native_live_websocket.cpp, tests/test_native_live_store.cpp: the mock servers' socket receive and accept polls wait with no limit (poll(..., -1)) instead of throwing "receive/accept timeout" after 2-5 s; a failing poll still throws. * tests/test_native_live_service.cpp: the callback rendezvous and the periodic-status observation wait without a deadline; their asserts stay. * tests/native_live_service_strategy.cpp: the resume gate waits without a 10 s expiry; its 5 ms poll stays. * scripts/derive_corpus_feeds_self_test.py: the writer barrier and the future results wait without 5 s limits. Kept on purpose: the 20 ms connect / 30 ms total timeout cases and the 1000 ms total with a 50 ms cancellation predicate (they test the product's timeout), and the mock servers' configured delays. Not changed here (kept for a ruling): tests/test_local_time_lock_free_hit.cpp, a witness that releases the timezone lock when its 5 s rendezvous expires. tests: the native-live routing and service rows no longer fail on elapsed time (EN-116) Owner rule (EN-105 G9, EN-116): slowness never fails a required check. Four rows asserted that a SIGTERM or a fatal drain finished within a pinned number of seconds, so a slow or loaded host failed them: tests/native_live_service_e2e.py (`elapsed < 10`), tests/native_live_routing_e2e.py (the fatal drain bound of three total timeouts, and the two `< 10` SIGTERM checks). The timing predicates are removed. Every return-code, stopped-state, blocked-receiver, outbox, unsent-action, pending-count and report assertion of those rows stays, so each row still proves that the runner stops, keeps its ledger and loses nothing. The row that asserts a MINIMUM (tests/native_live_websocket_e2e.py `elapsed >= 14`, an idle timeout that must not fire early) is not touched: slowness cannot fail it. Kept on purpose, not verdict bounds: the crash-window searches (tests/native_live_equivalence_e2e.py accepted.wait(120) against the 120 s ACK hold, tests/native_live_tick_tape.py deadline 600), the explicit timeout-contract witness (tests/test_native_live_equivalence_harness.py with TimedProcess.wait(timeout=...) in tests/native_live_test_process.py) and the timezone-lock rendezvous witness (tests/test_local_time_lock_free_hit.cpp). A follow-up redesigns the first two and the last without a wall-clock deadline. ci: a native profile job stopped at the platform maximum is named a HANG to re-run (EN-116) docs/ci.md now says a job stopped by the platform at its 360-minute maximum is recorded as a HANG to re-run, not as a failed check. The native-live aggregate job saw only the result `cancelled` and printed nothing about it. When any native profile job result is `cancelled` it now prints `HANG (re-run)` with the reason and still exits 1: the check is not green, it is classified. `success` still exits 0; `failure`, `skipped` and an empty result still exit 1 without the HANG line. scripts/ci_preflight.py still pins the `PROFILES_RESULT` environment line and the `test "$PROFILES_RESULT" = success` line; scripts/test_ci_preflight.py asserts the HANG line appears exactly for `cancelled`. tests: finish removing the CI time limits the gating read found, and say the HANG rule exactly (EN-116) A Claude gating read of the EN-116 engine diff found no faked pass and five mechanical leftovers; this commit fixes them and nothing else. * scripts/test_ci_preflight.py: the two subprocess time limits left in this required test are removed (the `--check-ci-workflow` run and the aggregate-script run). The aggregate-script test now also requires exit code exactly 1 for every result other than success, beside the existing success and HANG checks. * tests/native_live_routing_e2e.py, tests/native_live_service_e2e.py: four `Event.wait()` guards that could not fail (a wait without a timeout always returns true, so the `raise` or `assert` after it never fired) are plain waits; three PASS lines no longer advertise a "3x global-timeout guard" or "within 10 s" guard that is gone. The asserts on the behaviour (exit codes, ledger rows, reports) are untouched. * docs/ci.md: the sentence that said a job stopped at the platform's 360-minute maximum "must be recorded as a HANG to re-run, not as a failed check" (the prose and the `preflight` table row) is replaced by what the workflow does: the native-live aggregate job names such a stop `HANG (re-run)` in its log, and the check still fails. Kept on purpose, not time limits of the verifier: the equivalence harness waits (tests/native_live_equivalence_e2e.py, a file no registered row runs), the explicit-timeout contract witness (tests/test_native_live_equivalence_harness.py and tests/native_live_test_process.py), and product configuration named timeout. Known residuals, named in the pull request: tests/native_live_tick_tape.py (600 s mid-tape kill wait, feeds the registered native_live_genuine_retry_e2e row) and tests/test_local_time_lock_free_hit.cpp (5 s read bound). Gates: pineforge/verify 8/8 on tree 6d64498 (release, sanitizers, debug, kernel, parity 312/312); pineforge/parity neutral (sweep exp-en378b-20261013, 7989 comparable, 0 moves; snapshot f766b251 published). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
1 parent 2ea42e8 commit 7da487a

59 files changed

Lines changed: 363 additions & 430 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.

‎.github/workflows/native-live.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ jobs:
109109
110110
- name: Verify (${{ matrix.profile }})
111111
id: verify
112-
timeout-minutes: 360
113112
run: python3 scripts/ci_verify.py ${{ matrix.profile }} --build-dir ${{ matrix.build_dir }} --jobs "$(getconf _NPROCESSORS_ONLN)" --generator Ninja --curl-dir "${{ steps.curl-deps.outputs.curl-dir }}" --ccache ${{ matrix.profile == 'native' && '--require-websocket' || '' }} ${{ matrix.profile == 'native' && inputs.exclude_slow && '--exclude-label slow' || '' }}
114113

115114
- name: Stage and summarize diagnostics
@@ -154,4 +153,7 @@ jobs:
154153
PROFILES_RESULT: ${{ needs.native-live.result }}
155154
run: |
156155
printf 'native profiles: %s\n' "$PROFILES_RESULT"
156+
if test "$PROFILES_RESULT" = cancelled; then
157+
printf 'HANG (re-run): a native profile job was cancelled, which is how the platform stops a job at its 360-minute maximum\n'
158+
fi
157159
test "$PROFILES_RESULT" = success

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ What each gate refuses:
159159

160160
`ci_verify.py` counts the CTest rows that actually **ran** and fails below a
161161
floor. The floors' numbers live in one place, the
162-
`PRIVATE_FIXTURE_PROFILE_FLOORS` ci_verify.py:794 table: per profile, `full`
162+
`PRIVATE_FIXTURE_PROFILE_FLOORS` ci_verify.py:789 table: per profile, `full`
163163
is its overlay-present registered population and `pinned` is how many rows of
164164
`tests/private_fixture_rows.txt` that registry registers, so with the private
165165
fixtures absent the floor is `full` minus `pinned`; every other profile

‎benchmarks/speed/aggregate.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _sysctl_or(key: str, fallback: str) -> str:
7070
if sys.platform != "darwin":
7171
return fallback
7272
try:
73-
r = subprocess.run(["sysctl", "-n", key], capture_output=True, text=True, timeout=5)
73+
r = subprocess.run(["sysctl", "-n", key], capture_output=True, text=True)
7474
val = r.stdout.strip()
7575
return val if val else fallback
7676
except Exception:

‎benchmarks/tests/test_run_all.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def run_all(self, **env: str) -> subprocess.CompletedProcess:
112112
return subprocess.run(
113113
["bash", str(self.root / "benchmarks" / "run_all.sh")],
114114
env={**os.environ, **QUIET, "PATH": path, "JOBS": "2", **env},
115-
capture_output=True, text=True, timeout=120)
115+
capture_output=True, text=True)
116116

117117
def assert_output(self, slot: Path, csv: str, content: str | None) -> None:
118118
path = slot / csv

‎docker/run_json_provenance_test.py‎

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def run(label, inputs=None, overrides=None, failure_option=None):
7171
if values is not None:
7272
command += ["-e", f"PINEFORGE_{name}={json.dumps(values)}"]
7373
command.append(image)
74-
process = subprocess.run(command, capture_output=True, text=True,
75-
timeout=180)
74+
process = subprocess.run(command, capture_output=True, text=True)
7675
(artifacts / f"{label}.command.json").write_text(json.dumps(command))
7776
(artifacts / f"{label}.stdout.json").write_text(process.stdout)
7877
(artifacts / f"{label}.stderr.log").write_text(process.stderr)
@@ -274,7 +273,7 @@ def check(name, condition, value):
274273
"--mount", f"type=bind,src={compiled},dst=/proof",
275274
"-e", "PINEFORGE_INPUTS=" + json.dumps(inputs),
276275
"-e", "PINEFORGE_OVERRIDES=" + json.dumps(settings), image]
277-
result = subprocess.run(command, capture_output=True, text=True, timeout=180)
276+
result = subprocess.run(command, capture_output=True, text=True)
278277
case = artifacts / label
279278
(case / "command.json").write_text(json.dumps(command))
280279
(case / "stdout.json").write_text(result.stdout)
@@ -400,7 +399,7 @@ def legacy(path):
400399
"--mount", f"type=bind,src={source},dst=/in,readonly",
401400
"--mount", f"type=bind,src={compiled},dst=/proof",
402401
"-e", "PINEFORGE_INPUTS=" + json.dumps(inputs), image]
403-
result = subprocess.run(command, capture_output=True, text=True, timeout=180)
402+
result = subprocess.run(command, capture_output=True, text=True)
404403
(case / "command.json").write_text(json.dumps(command))
405404
(case / "stdout.json").write_text(result.stdout)
406405
(case / "stderr.log").write_text(result.stderr)
@@ -562,7 +561,7 @@ def check(name, condition, value):
562561
"--mount", f"type=bind,src={Path(__file__).resolve()},dst=/probe.py,readonly",
563562
"--entrypoint", "python3", image, "/probe.py",
564563
"--producer-unicode" if unicode_only else "--producer-classes"]
565-
oracle = subprocess.run(oracle_command, capture_output=True, text=True, timeout=120)
564+
oracle = subprocess.run(oracle_command, capture_output=True, text=True)
566565
(artifacts / "producer.command.json").write_text(json.dumps(oracle_command))
567566
(artifacts / "producer.stdout.json").write_text(oracle.stdout)
568567
(artifacts / "producer.stderr.log").write_text(oracle.stderr)
@@ -589,7 +588,7 @@ def check(name, condition, value):
589588
"--mount", f"type=bind,src={source},dst=/in,readonly",
590589
"--mount", f"type=bind,src={compiled},dst=/proof",
591590
"-e", "PINEFORGE_INPUTS=" + json.dumps(inputs), image]
592-
result = subprocess.run(command, capture_output=True, text=True, timeout=180)
591+
result = subprocess.run(command, capture_output=True, text=True)
593592
(case / "command.json").write_text(json.dumps(command))
594593
(case / "stdout.json").write_text(result.stdout)
595594
(case / "stderr.log").write_text(result.stderr)
@@ -657,7 +656,7 @@ def check(name, condition, value):
657656
"--mount", f"type=bind,src={source},dst=/in,readonly",
658657
"--mount", f"type=bind,src={compiled},dst=/proof",
659658
"-e", "PINEFORGE_INPUTS=" + json.dumps(inputs), image]
660-
result = subprocess.run(command, capture_output=True, text=True, timeout=180)
659+
result = subprocess.run(command, capture_output=True, text=True)
661660
(case / "command.json").write_text(json.dumps(command))
662661
(case / "stdout.json").write_text(result.stdout)
663662
(case / "stderr.log").write_text(result.stderr)
@@ -671,7 +670,7 @@ def check(name, condition, value):
671670
"--mount", f"type=bind,src={Path(__file__).resolve()},dst=/probe.py,readonly",
672671
"--mount", f"type=bind,src={compiled},dst=/proof,readonly",
673672
"--entrypoint", "python3", image, "/probe.py", "--native-receipt", "/proof/" + plugin.name]
674-
observed = subprocess.run(observe, capture_output=True, text=True, timeout=60)
673+
observed = subprocess.run(observe, capture_output=True, text=True)
675674
(case / "native.command.json").write_text(json.dumps(observe))
676675
(case / "native.stdout.json").write_text(observed.stdout)
677676
(case / "native.stderr.log").write_text(observed.stderr)
@@ -741,7 +740,7 @@ def check(name, condition, value):
741740
command = ["docker", "run", "--rm", "--network", "none",
742741
"--mount", f"type=bind,src={source},dst=/in,readonly",
743742
"-e", "PINEFORGE_TRANSPILE_ONLY=1", image]
744-
emitted = subprocess.run(command, capture_output=True, text=True, timeout=180)
743+
emitted = subprocess.run(command, capture_output=True, text=True)
745744
(artifacts / "strategy.pine").write_text(ALLOWLIST_STRATEGY, encoding="utf-8")
746745
(artifacts / "transpile.command.json").write_text(json.dumps(command))
747746
(artifacts / "transpile.cpp").write_text(emitted.stdout, encoding="utf-8")
@@ -823,7 +822,7 @@ def once(text, old, new):
823822
"--mount", f"type=bind,src={cpp_dir},dst=/in,readonly",
824823
"--mount", f"type=bind,src={compiled},dst=/proof",
825824
"-e", "PINEFORGE_INPUTS=" + json.dumps(inputs), image]
826-
result = subprocess.run(command, capture_output=True, text=True, timeout=240)
825+
result = subprocess.run(command, capture_output=True, text=True)
827826
(case / "command.json").write_text(json.dumps(command))
828827
(case / "stdout.json").write_text(result.stdout)
829828
(case / "stderr.log").write_text(result.stderr)
@@ -841,7 +840,7 @@ def once(text, old, new):
841840
"--mount", f"type=bind,src={compiled},dst=/proof,readonly",
842841
"--entrypoint", "python3", image, "/probe.py", "--allowlist-native",
843842
"/proof/" + plugin.name, json.dumps(inputs)]
844-
observed = subprocess.run(observe, capture_output=True, text=True, timeout=60)
843+
observed = subprocess.run(observe, capture_output=True, text=True)
845844
(case / "native.command.json").write_text(json.dumps(observe))
846845
(case / "native.stdout.json").write_text(observed.stdout)
847846
(case / "native.stderr.log").write_text(observed.stderr)
@@ -974,7 +973,7 @@ def check(name, condition, detail):
974973
(source / "strategy.pine").write_text(STRATEGY)
975974
command = ["docker", "run", "--rm", "--network", "none", "--mount",
976975
f"type=bind,src={source},dst=/in,readonly", "-e", "PINEFORGE_TRANSPILE_ONLY=1", image]
977-
emitted = subprocess.run(command, capture_output=True, text=True, timeout=180)
976+
emitted = subprocess.run(command, capture_output=True, text=True)
978977
(artifacts / "transpile.command.json").write_text(json.dumps(command))
979978
(artifacts / "transpile.cpp").write_text(emitted.stdout)
980979
(artifacts / "transpile.stderr.log").write_text(emitted.stderr)
@@ -1023,7 +1022,7 @@ def method(body):
10231022
f"type=bind,src={inputs_dir},dst=/in,readonly", "--mount",
10241023
f"type=bind,src={compiled},dst=/proof", "-e", "PINEFORGE_INPUTS=" + json.dumps(inputs),
10251024
"-e", "PINEFORGE_OVERRIDES=" + json.dumps(overrides), image]
1026-
result = subprocess.run(command, capture_output=True, text=True, timeout=240)
1025+
result = subprocess.run(command, capture_output=True, text=True)
10271026
for suffix, data in (("command.json", json.dumps(command)), ("stdout.json", result.stdout),
10281027
("stderr.log", result.stderr), ("exit", str(result.returncode))):
10291028
(case / suffix).write_text(data)

‎docs/adr/0001-kernel-adapter-boundary.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ citations, 264 are in `src/source/` and its headers; 6 sit in kernel files
450450
and checks its own numbers before it prints its summary line. `PINEFORGE_BUILD_EXAMPLES`
451451
(`CMakeLists.txt:37`, default OFF) builds them (`add_subdirectory` `CMakeLists.txt:386`) and
452452
registers each as a CTest row that runs through `examples/native/run_example.cmake`, which
453-
fails on a nonzero exit, a signal, a timeout **or** a missing summary line — so a row asserts
453+
fails on a nonzero exit, a signal **or** a missing summary line — so a row asserts
454454
both, which a bare `PASS_REGULAR_EXPRESSION` cannot. `scripts/test_example_runner.py` proves
455455
the runner fails in each of those ways and that no `example_*` row sets a property that would
456456
override its verdict. Each example is compiled `-UNDEBUG`, so an `assert()` in one aborts its

0 commit comments

Comments
 (0)