Skip to content

Ship portable Asio Cobalt and Beast without consumer patches - #11

Merged
pinhopro merged 9 commits into
mainfrom
work/cobalt-genesis
Nov 7, 2026
Merged

pinhopro merged 9 commits into
mainfrom
work/cobalt-genesis

Conversation

@pinhopro

@pinhopro pinhopro commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Applications including WebCPP Asio, Cobalt and Beast can now build against explicitly shipped native/WebAssembly source inventories without B2 applying patches or shadowing installed Boost headers. Native interfaces retain the actual Boost types, with the owner-approved corrected Cobalt SSL wrapper as the documented exception.

This change registers the independent public Cobalt repository, selects all three backend revisions together, removes consumer overlay machinery, and preserves optional shared OpenSSL/CA ownership. Direct compiler and out-of-tree CMake consumers were exercised from an archive without Git metadata or hidden local build outputs.

The guides use Diataxis, AsciiDoc and strict MrDocs references. They document configuration and feature/application matrices for native, Emscripten JSPI/Asyncify and WASIp2/P3 variants. Dated Release measurements retain exact source/artifact identities and distinguish memory usage from capacity and process RSS. The Asio original-example corpus remains separate pending work; current Asio application evidence covers nine maintained guides.

Validation before remote CI:

  • Three strict reference/guide builds and source/rendered checks passed.
  • Independent whole-candidate and follow-up reviews have no unresolved findings.
  • Local lint covered 831 translation units and 1,528 compiler commands. The full run exposed two final style findings, both corrected and verified by their exact checks; the original failing run is retained alongside those follow-ups.
  • Tooling, import integrity, clean distribution, native identity, real browser/WASI networking and TLS cancellation regressions passed within their documented target bounds.
  • Archives from the committed library trees preserve every generated-source hash and all measured CSV bytes.

Coordinated library commits:

Proposal records: webcpporg/proposals#7
Environment preparation: https://github.com/webcpporg/webcpp/actions/runs/42370588658

Browser turns count both ready handlers and handlers completed by waits, so short-timer sequences cannot starve worker proxy messages. The finite echo counterpart uses the existing cancellable primitive accept overload; native Boost defects remain documented and negatively tested. The SPSC adaptation closes one lost-wakeup window but retains the original example's delayed-notification data loss. Deterministic limitation probes preserve that defect; the matrix and browser workbench no longer present reliable concurrent transfer as supported.

CI provisions pinned GCC 15.3 for its coroutine compiler fix and Chrome for all browser categories, with explicit JSPI/Asyncify and exception profiles. Scoped GCC 14 test diagnostics, MSVC no-EH main-promise controls, native IOCP allocation and pipe semantics, and Emscripten pipe EOF boundaries preserve the upstream implementations. Cobalt owns its recurring TLS state/cancellation fixtures; Asio retains its TLS and entropy clients.

Correction validation includes a failing-before/passing-after timer-budget regression; real Chrome workers in all four profiles; complete Asio Emscripten and Asyncify suites; nine native/WASI finite-echo profiles plus Linux GCC 15.3; real TLS peers; SPSC interleavings; regenerated guides; and focused lint/tooling checks. Independent correction reviews found no unresolved findings. The complete remote run now passes all 133 XML lanes, all eight lint shards, all eight tool-test shards, documentation, the consolidated report and final site assembly. Both MSVC original ticker probes pass with scoped /bigobj. The worker timeout reproduced in real Chrome: one-millisecond readiness polling competed with the worker proxy. A causal posted readiness signal replaces that polling, retaining the five-second deadline and every cancellation, completion and affinity check. Controlled CPU-throttled runs failed six of twelve before and passed twelve of twelve after; four early-arrival controls, four native profiles, WASIp3, nine focused tidy profiles, strict documentation and independent review passed. Remote Chrome 155 confirms all four worker suspension/EH profiles. No Boost, SDK, production library or driver behavior changed in this follow-up. Historical measurement archives retain their original source identities and are not relabeled as measurements of these follow-up commits.

The combined tree has passed its full remote CI. Integration preserves tested merge 80c6688 and tree 5d398816a7cd509fcec0995f12150e7826c271b7. Individual library workflows consume webcpp main and must be rerun after the superproject integration. No release is created here: the existing prepared 0.1.0 freeze conflicts with the three new Unreleased changelog entries, so check-release remains a separately recorded release-preparation gate.

Current verification run: https://github.com/webcpporg/webcpp/actions/runs/42400325361 (f9d4729). Local follow-up validation includes nine deterministic limitation profiles, four Chrome availability profiles plus portable controls, the full Cobalt reference/guide build, and actual site assembly of 37 pages/12 libraries. The SSL guide and changelog now explicitly identify the wrapper defects as fixed. Other newly identified original Boost defects remain documented and unpatched.

@pinhopro
pinhopro merged commit 80c6688 into main Nov 7, 2026
165 checks passed
@pinhopro
pinhopro deleted the work/cobalt-genesis branch November 8, 2026 15:22
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