Skip to content

test(ariadne): the cooperative overlay task test allows the one-shot "laying out" note - #871

Merged
transfix merged 1 commit into
masterfrom
fix/tf-overlay-coop-laying-out-note
Oct 29, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/tf-overlay-coop-laying-out-note

Conversation

@transfix

Copy link
Copy Markdown
Owner

TfOverlayTasks.CooperativeTaskSlicesAcrossFramesAndMatchesCompute records the overlay status note every time it changes between frames, and it expected every note to carry a percentage. Laying out the contour tree is a single step, though, so its note (contour tree: laying out) has none. TfOverlaysVolume.JobSlicesEveryPhaseAndReportsProgress already expects exactly that ("one-shot by design"). A frame only sometimes lands on that step, so the test failed now and then.

It failed that way on recipe / macos-latest / Debug in #866 (job 122924848877). The failure was at tf_overlay_tasks_test.cpp:209, on the note contour tree: laying out. Apart from that, the task ran normally: 878 frames, about 3.9 s, and it published the same overlays as compute_overlays.

The loop now skips that one note when it checks for a percentage. The other checks on the notes are unchanged: at least three notes, notes from both the spectrum and the tree, and at most about 10 Hz. The change is test-only.

…"laying out" note

TfOverlayTasks.CooperativeTaskSlicesAcrossFramesAndMatchesCompute records the
overlay status note each time it changes between frames and expected every one
to carry a percentage. Laying out the contour tree is a single step, so its note
("contour tree: laying out") has none, as
TfOverlaysVolume.JobSlicesEveryPhaseAndReportsProgress already expects. A frame
only sometimes lands on that step, so the test failed now and then: on
recipe / macos-latest / Debug in #866 (job 122924848877), with
the task otherwise finished and published normally. The loop now skips that
note; the other checks on the notes are unchanged.
@transfix
transfix merged commit 7758a11 into master Oct 29, 2026
23 of 24 checks passed
@transfix
transfix deleted the fix/tf-overlay-coop-laying-out-note branch October 29, 2026 20:54
transfix added a commit that referenced this pull request Oct 31, 2026
…e lanes retry like package lanes (#893)

* ci-recipe: a failing test runs up to 3 times, as in the package jobs

The recipe lanes ran ctest once (cvcpkg/recipes/libcvc/build.sh and
build.ps1), so one timing miss on a loaded hosted runner failed the lane,
while ci.yml's package jobs pass --repeat until-pass:3 and absorb it.
Since 10-16 that reddened recipe / macos-latest on AsyncCalls.AS1 (twice),
TfOverlayTasks (3 times, before #871), AppTest.ThreadPoolStateConsistency
and StateTransportIpcTest.ThreeEndpointFanOut, none of them failing on
Linux or Windows in the same runs.

Both recipe scripts take CVC_CTEST_REPEAT (a ctest --repeat mode) the
way they take CVC_CTEST_EXCLUDE, and ci-recipe.yml sets it to
until-pass:3. Unset, the recipes run ctest as before.

* publish-cvcpkg: macOS Intel compiles against the deps prefix's turbojpeg.h

Every macos-15-intel row has failed to link since 3.7.1 (#796 linked
turbojpeg into cvc): "_tj3InitVersion", referenced from
cvc::jpeg_downscale in media_rungs.cpp.o. Tags v3.7.1 to v3.7.4 and the
10-27 dispatch failed, 12 of 12 jobs. The rows are continue-on-error, so
every run still showed green.

The image links Homebrew's jpeg-turbo 3.2.0 (pulled in by its openjdk,
php/gd, libtiff and webp) into /usr/local/include, which Apple clang
searches. media_rungs.cpp compiled against that turbojpeg.h, where 3.2
makes tj3Init a macro for tj3InitVersion. It then linked the deps
prefix's libjpeg-turbo 3.1.0+cvc.3, which has no tj3InitVersion. The
catalog's macos x86_64 and arm64 bundles both carry a matching 3.1.0
header and dylib.

The Intel rows now unlink Homebrew's jpeg-turbo before Configure, and
fail if /usr/local/include/turbojpeg.h is still there. Checked on the
image (diagnostic run 41007705020): `-H` showed media_rungs.cpp
including /usr/local/include/turbojpeg.h, then the deps prefix's after
the unlink, and libcvc 3.7.5 then linked, importing tj3Init.
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