Repository navigation
pycvc async test: a hold that runs short asks the next for more - #1019
Merged
Merged
Conversation
ubuntu-latest now runs ubuntu-26.04 with GCC 15.2, whose libstdc++ no
longer brings <algorithm> in through <random>, <thread> and the rest.
state_compression_registry_test stopped compiling on every Linux job
("'sort' is not a member of 'std'"). state_brick_frustum_test's
std::find leaned on the same transitive include. A scan of src, inc,
examples and bindings found no other file calling an <algorithm> or
<numeric> function without reaching the header itself.
(cherry picked from commit e8ec8e7)
ubuntu-latest became the 26.04 image (gcc 15.2), and the jobs that used it broke on a std::sort without <algorithm>: a toolchain no published bundle is built with. publish-cvcpkg.yml already pins its linux targets to ubuntu-22.04 (glibc 2.35, gcc 11.4), because an artifact built on a newer image carries GLIBC_2.x versions an older system can't load. Pinned to ubuntu-22.04: ci.yml's package-linux and pycvc-linux, ci-recipe.yml's two linux lanes, and release.yml's linux job (the SDK archives) and its linux sdk-smoke lanes. (cherry picked from commit e59cbf2)
test_a_python_kernels_wait_for_the_gil_isnt_charged stamps window["from"] in Python and then makes the C call that holds the GIL. Between the two the interpreter can hand the GIL to the waiting kernel thread, at an eval-breaker check, when `hold` is preempted on a busy machine. The kernel then runs just after the stamp, with no wait, and the precondition assert (ran_at - from >= 0.2) failed on pycvc-linux / cp312. Such a try is now retried like the other no-wait cases: a kernel that waited ran after the C call, at about window["to"].
The first fix did not hold: pycvc-linux / cp312 failed the same precondition at 3ab5cd2, with the kernel past the hold's end. The hold itself ran short of its 0.3 s. _PER_ITEM is the best of five runs at import, and when every run is slow (a busy runner, a frequency step) each sum(range(n)) finishes early, so ran_at - window["from"] < 0.2 even though the kernel waited the hold out. A try whose hold is under 0.25 s now raises what the next hold asks for by 0.3 / held (at most 3 s) and tries again. A handover before the C call and an over-long hold count as stalls, as before. Checked against the build-ariglx pycvc on Windows: with _PER_ITEM made 2x and 4x pessimistic the old test fails 2 and 3 runs of 3 and this one passes all of them, with no skips, and the whole file passes 3 of 3.
transfix
enabled auto-merge (squash)
November 4, 2026 07:32
transfix
added a commit
that referenced
this pull request
Nov 4, 2026
…c:// hostnames on Windows (#1021) Two bugs kept the native packages from running a conference document that the browser page runs. The component library: src/cvc installs share/libcvc/ariadne/components on every platform, and cvc:// looks for it beside the installed library, but the libcvc and libcvc-cuda recipes' package.files never listed it. No native bundle carried it, so a document importing cvc://components/room_users.ari or chat.ari loaded without those windows. The install rule also named no component, so the release tarballs (cpack's libcvc component) left it out too. Both recipes now list share/libcvc/ariadne/, the rule is COMPONENT libcvc, package-linux fails if its tarball has no components, and docs/ARIADNE.md notes the CVC_ARIADNE_PATH workaround for older bundles. gRPC DNS on Windows: gRPC 1.68.2's c-ares resolver, with c-ares 1.34.8, aborts the process on its first lookup of a hostname (grpc_polled_fd_windows.cc: "Check failed: *from_len <= recv_from_source_addr_len_"), so arigl with CVC_ARIADNE_RELAY=grpc://<host>:7700 died at connect while grpc://<an IP> worked. The gRPC state and stream transports now set GRPC_DNS_RESOLVER=native on Windows before the process makes its first gRPC object, unless it is already set. New test: StateTransportGrpcTest.ConnectsToAPeerNamedByHost. Also carries #1019's branch at 3ab5cd2 so CI could run after ubuntu-latest became 26.04 (GCC 15): the <algorithm> includes in the tests, Linux CI on ubuntu-22.04 (the same pin #1016 brought to master), and a pycvc async test fix.
…-includes # Conflicts: # bindings/pycvc/test_pycvc_state_exec_async.py
transfix
disabled auto-merge
November 4, 2026 07:44
transfix
enabled auto-merge (squash)
November 4, 2026 07:44
transfix
added a commit
that referenced
this pull request
Nov 4, 2026
… desktop audio) (#1018) A plan, docs only: docs/roadmap/CONFERENCE_SHARING.md, with a 5l pointer and a row in section 12 of ARIADNE_CONFERENCE_ROADMAP.md. It covers sending more than one camera and mic, sharing the Ariadne GL frame (the whole window or chosen windows), sharing the desktop or other applications' windows, and the desktop's stereo audio in sync with it: - named streams and a capability record per client; - an inter-frame share codec, H.264 first with VP9 as the fallback; - a robust WebSocket path and a WebRTC media leg, chosen per stream; - capture on each platform, built for the browser and natively in parallel; - sync groups, the UI, phases SH0-SH6, and the owner's decisions D1-D7. Also carries the two <algorithm> includes that GCC 15 needs, which are identical to those in #1019.
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.
Now just the pycvc async test fix. The rest of this PR reached master through #1021 (c3e902b), which merged this branch at 3ab5cd2:
<algorithm>includes for GCC 15;Master was merged in as 8b662d1, resolving the test file to 7f588a2's version. The remaining diff against master is 7f588a2 alone (the patch-id matches).
The fix (7f588a2):
test_a_python_kernels_wait_for_the_gil_isnt_chargedfailedpycvc-linux / cp312on its precondition,ran_at - window["from"] >= 0.2._PER_ITEMis the best of five calibration runs at import, and when every run is slow (a busy runner, a frequency step), eachsum(range(n))finishes early.0.3 / held, at most 3 s.Checked against a Windows pycvc build:
_PER_ITEMmade 2x and 4x pessimistic, the old test fails 2 and 3 runs out of 3, and the new one passes every run, never skipping;Still open, a follow-up: 8 bit-exact numeric tests differ under GCC 15 / glibc 2.42 on ubuntu-26.04. The 22.04 pin keeps CI off that toolchain.