Net: quality
passingResults of the run of the commit 8df3cc3b89 at 2026-11-22 16:24 UTC (the run) that made this site; a library whose suite was not run in it has none.
The library: Net.
Quality gate
The library holds every condition of the gate.
| Condition | Holds | Why not |
|---|---|---|
| its tests were in the run | yes | |
| no test failed | yes | |
| no open issue of severity high or critical | yes |
Line coverage
92.9% of 1269 lines of 6 source files are reached by the library's tests. The least covered files:
| File | Lines | Hit | Covered |
|---|---|---|---|
commons/net/src/dns.ts | 277 | 244 | 88.1% |
commons/net/src/tcp.ts | 182 | 164 | 90.1% |
commons/net/src/http-client.ts | 187 | 172 | 92% |
commons/net/src/net.ts | 213 | 196 | 92% |
commons/net/src/acme.ts | 339 | 332 | 97.9% |
commons/net/src/serve.ts | 71 | 71 | 100% |
Tests
37 tests: 37 passed, 0 failed, 0 skipped, 0 planned or other.
Slowest
| Test | File | Result | Time |
|---|---|---|---|
| a TLS listener from a PEM certificate and key: accepted with the root that signed it, refused with another root or the system's | suite/tcp.test.ts | passed | 144 ms |
| a query that does not come back is given up when its signal aborts: failed, not thrown | suite/dns.test.ts | passed | 100 ms |
| a TXT record that cannot be removed is a warning of the certificate, or added to the error | suite/acme.test.ts | passed | 37 ms |
| an account key given is found again with onlyReturnExisting, or its account made when the server has none | suite/acme.test.ts | passed | 20 ms |
| with no pipeline installed, proc, the client and serve make no span and pass no traceparent | suite/otel-net.test.ts | passed | 17 ms |
| a certificate for a name and its wildcard: TXT records of the key authorizations, answered, polled, finalized, downloaded | suite/acme.test.ts | passed | 15 ms |
| cloudflareDns finds the zone by name, adds a quoted TXT record and deletes it, with the token as a bearer | suite/acme.test.ts | passed | 15 ms |
| TXT strings round-trip, whatever printable text and however many strings a record holds | suite/dns.test.ts | passed | 11 ms |
| every request is an ES256 JWS the server verifies, with the JWK only to make the account and a fresh nonce each time; badNonce is retried | suite/acme.test.ts | passed | 8 ms |
| a download is retried where the server is busy, not where it refuses, and kept only with the expected SHA-256 | suite/net.test.ts | passed | 8 ms |
History
The last 6 runs in which the library's tests ran, oldest first.
Requirements
17 requirements: 16 proved, 0 partly (a test skipped or planned), 0 failing, 1 with no test recorded.
Not proved by a passing test: 0001-net FR-017