Skip to content

tests: in a Debug build tiler_bunny_test is a heavy suite (TilerBunnyIntegration), which PRs skip - #1362

Merged
transfix merged 2 commits into
masterfrom
ci/tiler-bunny-debug-heavy
Nov 19, 2026
Merged

transfix merged 2 commits into
masterfrom
ci/tiler-bunny-debug-heavy

Conversation

@transfix

Copy link
Copy Markdown
Owner

A master-wide red on the required package-linux / libcvc-debug job, since #1356.

#1356 moved TilerBunny.TheTiledSlicesOfItsSdfAreTheBunny out of the heavy suites so every PR runs it. That's about 13 s in Release, but a Debug build runs the bunny's SDF and the tiling many times slower:

PR libcvc-debug's TilerBunny
#1357, #1358 (quiet runner) passed, 452 s and 445 s
#1296, #1360 (loaded runner) timed out at 900 s, three tries each, so the job failed

The change

  • In a Debug build (no NDEBUG), the suite is now TilerBunnyIntegration. ci.yml's STRESS_REGEX treats Integration as a heavy suite: PR and Debug jobs skip those, and Release pushes run them.
  • A Release build keeps the name TilerBunny, so every PR's Release lanes still run it (about 13 s).
  • The tests' CMakeLists comment and the VolumeRover ports roadmap now say the same.

Checked

  • g++ 16 -E shows the test class is TilerBunny_TheTiledSlicesOfItsSdfAreTheBunny_Test with -DNDEBUG and TilerBunnyIntegration_..._Test without it.
  • -fsyntax-only -Wall -Wextra reports no errors either way.
  • clang-format 18.1.8 is clean on the changed lines.

Its CI, and #1360's

Every libcvc PR's wasm lanes fail today too, because cvcpkg's new wasm-EH bundles are in. #1360 pins the earlier ones. So on this PR's run:

#1360's one red is this TilerBunny timeout, so each PR's remaining red is the one the other fixes.

…Integration), which PRs skip

#1356 put TilerBunny on every PR. That's about 13 s in Release, but a
Debug build runs the bunny's SDF and the tiling many times slower.
package-linux's libcvc-debug took about 450 s on a quiet runner (#1357,
#1358). On a loaded one it ran past its 900 s timeout three times over
(#1296, #1360), and failed that required job for every PR.

So in a Debug build the suite is TilerBunnyIntegration. ci.yml's
STRESS_REGEX takes Integration as a heavy suite, which no PR or Debug job
runs; Release pushes still do. A Release build keeps the name TilerBunny,
so every PR's Release lanes still run it.

The tests' CMakeLists comment and the VolumeRover ports roadmap say the
same.
@transfix
transfix merged commit ebd69b6 into master Nov 19, 2026
29 checks passed
@transfix
transfix deleted the ci/tiler-bunny-debug-heavy branch November 19, 2026 23:56
transfix added a commit that referenced this pull request Nov 20, 2026
… arisrv reserved from publish: (#1296)

The relay can now cap each client's code separately
(docs/roadmap/ARISRV_IDENTITY.md §2.6, ID4a; the identity work's client
registry sets the caps).

- The seam. ServerDocument::set_client_limits takes a function of the
  pid, a ClientKind (program or guest) and the document's caps. It
  returns the caps that client's code of that kind runs under, as a
  ClientLimits (ClientPrograms' fields: on, max_steps, max_time,
  max_memory). on false refuses it, as forbidden.
- Above the document's, up to the ceiling. The owner settled decision D2
  as "Yes, up to ceiling". A client's limits replace the document's caps
  for that client: lower, or higher up to the action lane's
  (ariadne.limits.action_max_*), which hold over every process. A guest's
  memory stays under ariadne.limits.wasm_max_memory. 0 leaves the
  document's cap. ServerDocument::kClientLimitsAboveDocument switches
  this, and the tests follow it.
- At each start. run_client_program and run_client_guest ask right after
  the pid check, so a change applies from the client's next start. A held
  guest starts under the caps it was given. A function that throws
  refuses the start (unavailable).
- arisrv joins publish:'s reserved roots, so no server document can
  publish the relay's own records (the registry's arisrv.clients).
- pycvc.ariadne.export refuses a name under server.: arisrv answers those
  calls itself, before a call reaches Python, so such an export could
  never run.
- CI: in a Debug build tiler_bunny_test's suite is TilerBunnyIntegration,
  a heavy suite that PR and Debug jobs skip (the change #1362 makes). Since
  #1356 it ran on every PR, past its 900 s timeout in package-linux's
  libcvc-debug whenever the runner was loaded. Release keeps TilerBunny.
  The limits test sets ariadne.limits.action_max_time to 0, so that Debug
  lane's 0.1 s time cap can't stop the raised client's program before its
  steps run out.

Tests:
- ServerDocumentTest.EachClientsLimitsLowerItsProgramsCaps.
- ServerDocumentTest.EachClientsLimitsCapItsGuests, on the fake engine.
- ServerBlockTest.RefusesWhatItCannotPublish gains arisrv's cases.
- Two new checks in test_pycvc_ariadne_server.

Docs: ARIADNE.md §9.7 (publish:'s roots), §9.7.1 and §9.7.2.
transfix added a commit that referenced this pull request Nov 20, 2026
…ool's helper race, the bench's heavy frame (#1388)

18 package-linux libcvc-debug and libcvc-debug-grpc jobs failed between
2026-11-17 and 11-19. Apart from TilerBunny (#1362), timeouts that
master has since raised, and two one-off reds, three tests caused them.
All three pass on a quiet runner and fail on a loaded one.

AriadneAction.NavStepAsAnAsyncFunctionReturnsItsResult failed 7 times,
and failed all three tries in one job. It is also every
ariadne_runtime_test_threads_auto and _slice256 failure (11 more). It
passes in 0.2-0.5 s, or fails at its 5 s pump budget with "the parked
action never resumed", with no time in between. An await is charged its
call's run and CPU time (docs/STATE_EXEC_EXCEPTIONS.md 3.8). The action
runs under Ariadne's default caps, 0.1 s and 5000 steps, and a loaded
Debug runner's nav-step kernel can pass them. The caps then kill the
action, and nav.result is never set. The test now lifts both caps, as
AR01, AR02 and AR-3b in the same file do ("no cap to run out on a loaded
machine"). It pumps for up to 30 s, and if it fails it prints the
action's warnings, so a kill says why.

ExecPool.APassedDeadlineSkipsGroupsAndTheyGoFirstNextTime failed 15
times, and failed all three tries in two jobs. It recorded 3 of 4 pumps,
then "double free or corruption". Its pump hook pushed to an unguarded
vector. In the threads=2 pass the third pump_all wakes helpers when the
groups' last pumps total inline_below (100 us). g1's measured pump can
pass that on a loaded runner. A helper then pumps beside the caller, in
no set order. The test now pins the last pumps at 10 us before that
call, as TheHelperWakeFollowsTheLastPumps does, so the caller pumps
every group in the order under test. It also expects no helper wake,
and guards the vector.

state_exec_bench_smoke failed 5 times, all three tries in one job, also
on a quiet runner. Each time the failing point was mt.ariadne_docs t=0
docs=2 frame=heavy: "bench.ari.d1 ticked 0 times in 4 frames". In
coverage Debug the 500-round on_tick loop takes about 92 ms, near
exec_pump_frame's 0.1 s deadline. d0 takes most of each frame, and d1
starts with the ~8 ms left (a group that has started is not a skipped
one, which would go first next frame). So d1 finishes no tick in the
smoke's 4 frames. In a Debug build the heavy loop is now 50 rounds,
still far over inline_below there. Release keeps 500.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant