You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip network-dependent std examples when local sockets are unavailable #455
buildIssues related to building the project or compiling errors.cross-platformIssues related to making Wave work seamlessly across multiple operating systems.good first issueIssues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.
The standard-library example runner treats an unavailable local socket environment as a program regression.
In a restricted environment, the full example audit compiled all examples but reported seven runtime failures because socket() returned EPERM. The test runner already has environment-aware handling for a network test, but the example runner does not share an equivalent mechanism.
Scope
Define lightweight metadata or a deterministic capability probe for examples that require local networking.
Mark environment-caused skips separately from compile failures and program failures.
Reuse existing test-runner detection where practical.
Keep the summary machine-readable and clear in CI logs.
Test the behavior with a fake runner or injected probe; tests must not require real network access.
Acceptance criteria
A sandbox that denies socket creation reports network examples as skipped, not failed.
A genuine compile or runtime regression in a network example still fails the command.
Normal unrestricted environments continue to execute the examples.
buildIssues related to building the project or compiling errors.cross-platformIssues related to making Wave work seamlessly across multiple operating systems.good first issueIssues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.
Activity