Commit Graph
3612 Commits
Author SHA1 Message Date
Adrien Beraud 53eb8682f5 tools/dhtnode: print listen sync status 2026-10-08 09:39:49 -04:00
Adrien Beraud 6f1ff2e10b tests: retain legacy listeners through late values and renewal 2026-10-08 09:39:49 -04:00
Adrien Beraud 497d3d2543 tests: cover legacy LISTEN acknowledgments without tokens 2026-10-08 09:39:49 -04:00
Adrien Beraud 43937eb454 tests: cover deferred cached readiness lifecycle 2026-10-08 09:39:49 -04:00
Adrien Beraud e216d1c8a0 tests: emit revisioned proxy integration pushes 2026-10-08 09:39:49 -04:00
Adrien Beraud 88773525bb tests: reject unrevisioned pushes from updated proxies 2026-10-08 09:39:49 -04:00
Adrien Beraud 5b1fa36920 tests: cover legacy and mixed-version LISTEN readiness 2026-10-08 09:39:49 -04:00
Adrien Beraud f7aeab7713 doc: specify single-pass native listener synchronization 2026-10-08 09:39:49 -04:00
Adrien Beraud a950e06d10 build: bump ABI and cover proxy configuration tests in Meson 2026-10-08 09:39:42 -04:00
Adrien Beraud 743a82af6f proxy_client: dispatch readiness outside locks 2026-10-08 09:39:42 -04:00
Adrien Beraud 1890726251 dht: synchronize listeners through sequenced initial UPDATE batches 2026-10-08 09:39:42 -04:00
Adrien Beraud e413af7eb5 tests: cover ordered LISTEN delivery and safe proxy recovery 2026-10-08 08:41:02 -04:00
Adrien Beraud 524d9acc27 tests: require single-pass initial LISTEN synchronization 2026-10-08 08:41:02 -04:00
Adrien Beraud 81cbd90609 dht: report registration failures and roll back partial listeners
Fail pending readiness when LISTEN retries are exhausted, reject search capacity exhaustion with a zero token rather than an exception, guard obsolete expiration callbacks, and cancel local and family listeners after partial registration fails.
2026-10-08 08:41:02 -04:00
Adrien Beraud 732d82c31b proxy_server: drain initializing snapshots when subscriptions end
Capture snapshot contexts weakly and synchronously fail queued responses on cancellation, expiry, replacement, or destruction. Make readiness completion idempotent to avoid stale callbacks changing settled contexts.
2026-10-07 22:25:19 -04:00
Adrien Beraud 727fabb5a1 proxy_client: propagate readiness failure and authoritative expiry
Let contiguous revision deletions override legacy timestamps. Propagate false completion and initial request failures through the operation cache, retain source synchronization reporting for recovery, and fail pending readiness outside the search lock during shutdown.
2026-10-07 22:25:19 -04:00
Adrien Beraud 194e9b8b15 tests: cover readiness failure and subscription cleanup
Reproduce timestamped legacy values surviving revision expiration, proxy false completion and HTTP failures, shutdown and recovery readiness, retained pending subscription contexts, and native listen exhaustion and partial dual-stack capacity rejection.
2026-10-07 22:25:19 -04:00
Adrien Beraud 223eb6a7a9 tests: cover native listener snapshot synchronization 2026-10-07 22:25:19 -04:00
Adrien Beraud bd8c72bb07 dht: fail pending readiness on shutdown and teardown 2026-10-07 22:25:19 -04:00
Adrien Beraud a853279de7 op_cache: honor reentrant readiness cancellation 2026-10-07 22:25:19 -04:00
Adrien Beraud cded92e9f5 tests: strengthen initial readiness lifecycle regressions 2026-10-07 22:25:19 -04:00
Adrien Beraud ad05b85798 tests: cover initial listener readiness edge cases
Review b1d0435c with cache, native transport, and runner coverage. Add 13 tests for source synchronization and discovery ordering, cancellation, failure and recovery, cached filters, operation reuse, address families, stopped and invalid requests, and signed values.

Three regressions intentionally fail against the current implementation: a reordered listen confirmation reports readiness before initial UPDATE values; shutdown abandons pending readiness callbacks; cancellation from another readiness callback does not suppress the canceled notification. Production behavior is unchanged.
2026-10-07 22:25:19 -04:00
Adrien Beraud 57a3b658ae proxy: reconcile revisioned listener snapshots
Serve atomic cached snapshots after listener readiness instead of independent GETs. Validate unchanged tokens without downloads, apply contiguous expirations locally, reject malformed revisions and stale generations, bound subscription requests and recovery backoff, and keep wrong-session pushes isolated. Preserve legacy payload handling, document transport and protocol behavior, and include implementation-dependent regressions.
2026-10-07 22:25:19 -04:00
Adrien Beraud ab0e922e02 http: reject incomplete and failed responses
Clear successful status after transport failure or cancellation and require complete HTTP framing at EOF. Revision recovery transport regressions are included with the proxy implementation that provides their fixtures.
2026-10-07 22:25:19 -04:00
Adrien Beraud 3478255fd8 dht: notify initial listener readiness
Preserve existing listen entry points and add one-shot initial readiness through the runner, security layer, and native searches. Wait for target discovery and source synchronization, handle isolated families and failed searches, and initialize reused operations. Include API-dependent native/cache regressions.
2026-10-07 22:25:19 -04:00
Adrien Beraud 621b44c8e8 Revert "disable windows wheel for now"
This reverts commit fc6edb4d20.
v4.4.1
2026-09-23 14:42:57 -04:00
Adrien Beraud e1c088f2e4 build: bump version to 4.4.1 2026-09-23 14:38:36 -04:00
Adrien Beraud a6e0e441ac crypto: use standard unsigned int* for gnutls_ocsp_resp_get_single 2026-09-22 11:31:45 -04:00
Adrien Beraud dcc2ba3492 crypto: use gnutls_ocsp_cert_status_t* in gnutls_ocsp_resp_get_single 2026-09-22 11:31:45 -04:00
Adrien Beraud ccf00d6b09 ports: update shiftmedia-libgnutls to f76d780a6 2026-09-22 11:31:45 -04:00
Adrien Beraud d8250574fc ports: use ForcedIncludeFiles for gnutls_msvc_fixes.h in shiftmedia-libgnutls 2026-09-22 11:31:45 -04:00
Adrien Beraud 0d698c76e8 ports: update shiftmedia-libgnutls to 9ebeb826d 2026-09-22 11:31:45 -04:00
Adrien Beraud e4e3b4e73b ports: set LanguageStandard_C to stdc11 in shiftmedia-libgnutls 2026-09-22 11:31:45 -04:00
Adrien Beraud b26d622f5d ports: update shiftmedia-libgnutls to 37840cfa5 2026-09-22 11:31:45 -04:00
Adrien Beraud 78694751bd ports: update shiftmedia-libgnutls to 4ab78d57e 2026-09-22 11:31:45 -04:00
Adrien Beraud f9b90c5c1c ports: update shiftmedia-libgnutls to 5a5a9dd95 2026-09-22 11:31:45 -04:00
Adrien Beraud 56b848bf47 ports: fix savoirfairelinux/gnutls commit hash and SHA512 in shiftmedia-libgnutls 2026-09-22 11:31:45 -04:00
Adrien Beraud dd875230c3 ports: update shiftmedia-libgnutls to 90eb686e8 2026-09-22 11:31:45 -04:00
Adrien Beraud de1d428e63 ports: use gitlab gnulib mirror archive in shiftmedia-libgnutls 2026-09-22 11:31:45 -04:00
Adrien Beraud 55e3a6514f ports: fix gnulib snapshot SHA512 hash in shiftmedia-libgnutls 2026-09-22 11:31:45 -04:00
Adrien Beraud f4bbef210c ports: fix savoirfairelinux/gnutls archive SHA512 hash in shiftmedia-libgnutls 2026-09-22 11:31:45 -04:00
Adrien Beraud 2c1470cef6 vcpkg: add overlay port for savoirfairelinux/gnutls on Windows MSVC 2026-09-22 11:31:45 -04:00
Adrien Beraud adb6aa57e6 update vcpkg 2026-09-22 11:31:45 -04:00
Adrien Beraud acd0abdb70 ci: fix vcpkg cache keys across workflows and remove manual version string 2026-09-22 11:31:45 -04:00
Cyrille BéraudandCopilot b9c8f5e0fd runner: complete pushes received while stopped
Resolve idle-runner push futures immediately under the operation queue lock. A stopped runner has no loop left to execute the queued promise, otherwise consumers can wait indefinitely.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-21 16:02:47 -04:00
Cyrille BéraudandCopilot 18fedf431f tests: cover pushes received by stopped runners
Require immediate completion before run and after join, including a burst of notifications. Keep active-runner coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-21 16:02:47 -04:00
Adrien Beraud fc6edb4d20 disable windows wheel for now v4.4.0.1 2026-09-19 22:09:44 -04:00
Adrien Beraud d1093c77a3 ci: use libmsgpack-cxx-dev on Debian 13 2026-09-19 21:56:06 -04:00
Adrien Beraud b543f1e3cb update vcpkg to 2026.06.01 2026-09-19 21:10:44 -04:00
Adrien Beraud be210e27da update version to 4.4.0 v4.4.0 2026-09-04 16:46:41 -04:00