Skip to content

Ship native and WebAssembly Asio backends without consumer patches - #2

Merged
pinhopro merged 3 commits into
mainfrom
work/cobalt-extraction
Nov 8, 2026
Merged

pinhopro merged 3 commits into
mainfrom
work/cobalt-extraction

Conversation

@pinhopro

@pinhopro pinhopro commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Make WebCPP Asio usable by direct compiler and external build-system consumers: native interfaces retain Boost.Asio identity, while browser and WASIp2/P3 targets select explicitly shipped implementations and SDK adapters. Consumer builds no longer patch Boost or depend on a shadow include tree.

Count both ready and waited handlers within each browser turn, with a timer-chain regression and real Chrome worker coverage for JSPI/Asyncify with EH on/off. Preserve native IOCP allocation behavior as a documented limitation; correct timer dependencies and unsupported header test registrations.

WASI resolver tests distinguish callbacks already delivered before cancellation from operations still pending. A deterministic immediate-result fixture catches the former test race; pending-subtask cancellation, shutdown and allocator checks remain strict. Fresh focused validation passed 20 programs across WASIp2/P3 and exception/thread variants, 11 clang-tidy profiles, strict documentation and independent review.

Extract Cobalt ownership into its independent library and document configuration, capability guards, source inventories, application coverage and dated Release/yield measurements. Local regressions cover clean-archive consumers, both include orders, exception/thread variants, timers/networking/TLS, recoverable allocation failures and explicit unavailable local-socket diagnostics. The current Asio application matrix covers nine guides; the full original Boost.Asio corpus remains open.

Coordinated integration and full remote CI: webcpporg/webcpp#11
Proposal contracts and evidence: webcpporg/proposals#7

Follow-up coordinated CI for the resolver test correction: webcpporg/webcpp#12

Individual library CI uses the integrated superproject main. Merge only after that CI passes on this exact candidate.

@pinhopro
pinhopro merged commit 79e6efa into main Nov 8, 2026
42 checks passed
@pinhopro
pinhopro deleted the work/cobalt-extraction branch November 8, 2026 03:29
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