Skip to content

tiler_bunny_test: run on every PR (TilerBunny, out of the heavy suite) - #1356

Merged
transfix merged 1 commit into
masterfrom
p3b/bunny-on-prs
Nov 18, 2026
Merged

transfix merged 1 commit into
masterfrom
p3b/bunny-on-prs

Conversation

@transfix

Copy link
Copy Markdown
Owner

tiler_bunny_test now runs on every PR, as Joe asked.

Since the tiler's speedup (#1355), the test takes about 13 s in Release, down from about a minute. Most of that is now the SDF; the tiling is about 2.5 s.

  • Renamed: the suite was TilerBunnyIntegration, and "Integration" put it in ci.yml's heavy suites (STRESS_REGEX), which PRs skip. It is now TilerBunny.TheTiledSlicesOfItsSdfAreTheBunny, which matches nothing in that regex, so the PR lanes run it.
  • Timeout: Debug jobs run the SDF and the tiling several times slower, and the PR lanes give each test 300 s by default. So its ctest TIMEOUT is 900 s, as tiler_intrinsics_test already has. I have not measured it in Debug; this PR's Debug lane will show the time.
  • Comments: the test's comment and the roadmap's P3b note give the new timing.

Checked locally (Windows, MSVC, Release): passes in 13.1 s with the same distances. ctest -N lists it as TilerBunny.TheTiledSlicesOfItsSdfAreTheBunny, with the 900 s timeout. git-clang-format is clean.

Since the tiler's speedup (#1355) the test takes about 13 s in Release, mostly the SDF, so the suite drops 'Integration' from its name and ci.yml's PR lanes run it (STRESS_REGEX no longer matches). Debug jobs run the SDF and the tiling several times slower, so its ctest timeout is 900 s, as tiler_intrinsics_test's. The roadmap's note says so.
@transfix
transfix merged commit 46684d9 into master Nov 18, 2026
29 checks passed
@transfix
transfix deleted the p3b/bunny-on-prs branch November 18, 2026 23:13
transfix added a commit that referenced this pull request Nov 19, 2026
…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 added a commit that referenced this pull request Nov 19, 2026
…Integration), which PRs skip (#1362)

#1356 put TilerBunny.TheTiledSlicesOfItsSdfAreTheBunny on every PR. It
takes about 13 s in Release, but about 450 s in a Debug build on a quiet
runner, and past its 900 s timeout (three tries) on a loaded one, so the
required package-linux / libcvc-debug job failed.

- In a Debug build (no NDEBUG) the suite is TilerBunnyIntegration. ci.yml's
  STRESS_REGEX treats Integration as a heavy suite, which PR and Debug jobs
  skip and Release pushes run.
- 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 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.
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