Skip to content

CI on libcvc 4.0.10, and NMDCS on the native engine (N3) - #40

Merged
transfix merged 1 commit into
mainfrom
m2-libcvc-4010
Nov 28, 2026
Merged

transfix merged 1 commit into
mainfrom
m2-libcvc-4010

Conversation

@transfix

Copy link
Copy Markdown
Contributor

On Joe's "keep going" (2026-11-28). libcvc 4.0.10 is out, with the engine's TLS (N3, transfix/libcvc#1552, which is in v4.0.10).

Pins (server/ci/install.sh)

  • What. libcvc 4.0.10+cvc.2, with arisrvx and pycvc-cp312 4.0.10+cvc.1, all three moved together. ARIGL=1 installs arigl 4.0.10+cvc.1.
  • Checked with nm. Every libcvc symbol arisrvx and _pycvc.so import is defined in libcvc 4.0.10+cvc.2: 268 and 1359 imports, none missing. It is the only 4.0.10 libcvc build for Linux.

NMDCS on the engine

  • One engine. On the engine transport (the auto default where pycvc has it), NMDCS is now an engine listener beside plain NMDC. They share one engine and one fan-out, so a group send is still one broadcast() whichever protocols its members use.
  • TLS 1.2 and up, the engine's default minimum (P7 §1).
  • Keyprint. The hub publishes the listener's keyprint (net_listener.keyprint). It is the same SHA256/<base32> form, checked against openssl in the test.
  • Certificate reload. tls_options.watch (cert_check_every, 30 s) reloads the certificate and key when they change, and on_tls_reload gives the hub the new keyprint.
  • Fallback. An engine without TLS keeps NMDCS on asyncio as before, and logs it. That covers libcvc before 4.0.10, and builds without libssl, where tls_available() is false.
  • Capture mode (auto with a capture directory) stays on asyncio for both protocols.

CI

  • The arisrvx smoke run now requires NMDCS on arisrvx's own engine, with a published keyprint.
  • The NMDCS login test and the keyprint-and-reload test run on both transports. On the engine, the reload goes through watch and on_tls_reload.
  • The CI header and READMEs no longer say NMDCS waits for N3. The engine legs are now all-engine: in interop-ncdc (ncdcB), transfers (nmdcs) and interop-eiskaltdcpp (nmdcs), the TLS connections are on the engine too.

Local runs (prefix with the 4.0.10 set)

  • pytest with every SUBLEVELS_REQUIRE_* flag on: 218 passed.
  • arisrvx smoke, default transport: OK. NMDC and NMDCS were both on (native engine, 2 I/O threads, the host's).
  • arisrvx smoke, SUBLEVELS_NMDC_TRANSPORT=asyncio: OK.
  • EiskaltDC++ over NMDCS on the engine (interop/eiskaltdcpp_interop.py --tls): 20/20, including a keyprint-pinned login, a wrong keyprint refused, and an operator's redirect and kick.
  • ncdc isn't installed here; CI's interop-ncdc and transfers engine legs run it.

Merges only on Joe's OK.

install.sh pins libcvc 4.0.10+cvc.2 with arisrvx and pycvc-cp312
4.0.10+cvc.1. Every libcvc symbol they import is defined there
(checked with nm: arisrvx 268, _pycvc.so 1359, none missing).

4.0.10 has the engine's TLS (N3, transfix/libcvc#1552). On the engine
transport, NMDCS is now an engine listener beside plain NMDC, sharing
one engine and one fan-out, so a group send is still one broadcast:
- TLS 1.2 and up, the engine's default minimum;
- the hub publishes the listener's keyprint (net_listener.keyprint, the
  same SHA256/<base32> form);
- the engine's watch reloads the certificate and key when they change,
  and on_tls_reload hands the hub the new keyprint.
An engine without TLS (libcvc before 4.0.10, or built without libssl)
keeps NMDCS on asyncio, as before, and says so.

The arisrvx smoke run requires NMDCS on arisrvx's engine with a
published keyprint. The NMDCS login and keyprint-reload socket tests
run on both transports. The CI header and READMEs no longer say NMDCS
waits for N3.
@transfix
transfix merged commit 94fcd2a into main Nov 28, 2026
21 checks passed
@transfix
transfix deleted the m2-libcvc-4010 branch November 28, 2026 09:34
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