Repository navigation
cvcgl_wake: the rock's run at one substep a step, and per-section timings in CI - #1277
Merged
Merged
Conversation
On macOS CI (Apple Software Renderer) cvcgl_wake took 656-723 s in the release lanes and hit the 300 s debug timeout three times. The rock-shadow run takes the symmetric step at the default 1/60 s substep: six substeps of 35 passes per 0.1 s step, 148400 passes, two thirds of the program's time on Mesa llvmpipe. Run it at substep = dt = 0.1 s (inside the 0.19 s limit at 0.5 m cells; kappa~ keeps open-water dispersion exact at any substep). The test now prints the GL renderer and each section's wall time, and a macOS CI step prints them from LastTest.log. TIMEOUT 900 is provisional until measured on macOS.
transfix
added a commit
that referenced
this pull request
Nov 16, 2026
…#1253, #1255, #1256, #1264, #1268, #1271, #1273, #1277) - ci.yml: the sanitizer list keeps this branch's tests (stream_test, net_ws_client_test, ariadne_host_test) and master's segmentation_intrinsics_test. - STATE_EXEC_THREADED.md: the room-call verbs (room-run is #1273's) and #1252's segment.seeded provider in the provider table, both registered without a kind. room-call's async functions stay on the app's host: a reply settles on the relay client's reader thread through host.finish, so moving them to *ictx.host needs a finisher first.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cvcgl_wakehit ctest's 300 s timeout on all three tries inpackage-macos / libcvc-debug(ci/full run 43636956868). The build type is not the cause. Apple's Software Renderer is: the macOS release lanes already took 656 s and 723 s, and pass only because a release push gets--timeout 3600.Where the time goes
Measured on Windows, Mesa llvmpipe (LLVM 20.1.8, 256-bit), Release build, per section:
Readbacks (400 in section 4) and the CPU source work take under 1 s in total. A
/Odbuild of the test and its ocean sources adds about 1 s, so the time is the renderer's.The masked rock run takes the symmetric step at the default substep of 1/60 s: each 0.1 s step is six Störmer–Verlet substeps of 35 passes.
Change
substep = dt = 0.1 s: one substep per step. That is inside the limit (ewave_max_phase / omega_max= 0.19 s at 0.5 m cells), and kappa~ keeps open-water dispersion exact at any substep (inc/cvc/ocean/ewave.h). For these 4 m waves (omega dt_s = 0.39), phi stays within 2 % of the exact value. The checks and their thresholds are unchanged, and the numbers barely move: RMS behind the rock 0.0119 → 0.0120 m, shadow 23 % → 23 %, side 100 % → 100 %. The Kelvin angles are identical.cvcgl_wake timings, prints them fromLastTest.log;--output-on-failurehides a passing test's output.cvcgl_wakeandcvcgl_ewaveTIMEOUTs of their own (1800 s and 1200 s) on the same CMake lines. This PR first carriedTIMEOUT 900; that was dropped to avoid two owners and a conflict. With this PR, macOS debug still needs more than 300 s: Apple's renderer is slowest on the Kelvin section's 512^2 window, which alone takes 195–248 s there. Fitting that under 300 s would mean dropping a speed or shrinking the window, which would weaken the Phase C exit check. This PR alone does not make package-macos / libcvc-debug green; cvcGL tests: cvcgl_ewave and cvcgl_wake get their own ctest timeout (macOS Debug) #1267 does. This PR halves the time the test spends there, and in every other lane.Measured in CI
ci/full run 43673733499 on this branch (f71cfc3, which still had
TIMEOUT 900; the later commits only touch CMake: they first rewrote that comment, then removed it), against ci/full run 43636956868 before:Both macOS jobs in that run were still red, but not from
cvcgl_wake.cvcgl_ariadne_labelsfailed 3 of 37 checks there (focus/follow label scale), and this branch does not touch it. The macOS release and release-grpc-static lanes had not finished when this PR was opened.cvcgl_ewaveis at the same edge on macOS debug (Timeout, then Passed 285 s in this run; Timeout, Timeout, Passed 292.65 s before); #1267's 1200 s covers it.