docs(std): document dns, http, ip, network and project #380

Merged
argus merged 1 commit from loop/316-doc-std-rest into main 2026-10-17 22:16:43 +00:00
Collaborator

Closes #316

Doc comments for the 66 public constructs of std/ that torb doc --check --no-run std listed without one (slice 5 of #31):

  • std/http: the cases of Method, the constants of Status, Method.show, Status.compare, RedirectPolicy.show, Request.method, Request.headers, Response.status
  • std/dns: hash of RecordType, RecordClass, Operation, ResponseCode, and the Result extension of wire.trb
  • std/ip: the cases, show and tryFrom of IpAddress, SocketAddress.address
  • std/network: TcpSource.next, TcpSink.add
  • std/project: the fields of Source and Tasks

No module of std/ outside these held a required construct without a doc.

Checked with the nightly-20261015 toolchain: torb doc --check --no-run std reports 0 of 3303 public constructs have no doc comment and no problems; torb format --check is clean on the 7 touched files; torb docs declarations --check docs and torb docs skill docs skills --check are up to date (no skills/ change). Comments only, no seed impact.

Closes #316 Doc comments for the 66 public constructs of `std/` that `torb doc --check --no-run std` listed without one (slice 5 of #31): - `std/http`: the cases of `Method`, the constants of `Status`, `Method.show`, `Status.compare`, `RedirectPolicy.show`, `Request.method`, `Request.headers`, `Response.status` - `std/dns`: `hash` of `RecordType`, `RecordClass`, `Operation`, `ResponseCode`, and the `Result` extension of `wire.trb` - `std/ip`: the cases, `show` and `tryFrom` of `IpAddress`, `SocketAddress.address` - `std/network`: `TcpSource.next`, `TcpSink.add` - `std/project`: the fields of `Source` and `Tasks` No module of `std/` outside these held a required construct without a doc. Checked with the nightly-20261015 toolchain: `torb doc --check --no-run std` reports `0 of 3303 public constructs have no doc comment` and no problems; `torb format --check` is clean on the 7 touched files; `torb docs declarations --check docs` and `torb docs skill docs skills --check` are up to date (no `skills/` change). Comments only, no seed impact.
docs(std): document dns, http, ip, network and project
All checks were successful
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 2m22s
ci / tier A (linux-x64) (pull_request) Successful in 4m32s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 1m56s
ci / pack the seed (pull_request) Successful in 9s
ci / every host emits the same C (pull_request) Successful in 4m37s
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
images / cr.torb.dev/torbscript/registry (push) Has been skipped
images / cr.torb.dev/torbscript/release-sync (push) Has been skipped
images / cr.torb.dev/torbscript/site (push) Has been skipped
ci / commit messages (push) Successful in 6s
ci / what the change touches (push) Successful in 5s
ci / the VS Code extension (editors/vscode) (push) Successful in 12s
ci / which runners exist (push) Successful in 1s
ci / bootstrap and conformance (windows-x64) (push) Has been skipped
ci / bootstrap and conformance (linux-arm64) (push) Has been skipped
ci / bootstrap and conformance (macos-arm64) (push) Has been skipped
ci / bootstrap (linux-x64) (push) Successful in 5m38s
ci / cross-compiled on linux-x64 (windows-x64) (push) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (push) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (push) Has been skipped
images / cr.torb.dev/torbscript/site:edge (main) (push) Successful in 8m47s
ci / tier A (linux-x64) (push) Successful in 5m46s
ci / tools/release-sync and tools/registry (linux-x64) (push) Successful in 2m34s
ci / every host emits the same C (push) Successful in 4m46s
ci / tier B (linux-x64) (push) Successful in 13m46s
ci / pack the seed (push) Has been skipped
ci / archives (push) Has been skipped
ci / the playground (torb as WebAssembly) (push) Successful in 2m2s
ci / gates (push) Successful in 0s
4450da99d5
Doc comments for the 66 public constructs of std/ that torb doc --check listed without one: the HTTP methods and status constants, the DNS hash methods, IpAddress, TcpSource and TcpSink, and the project vocabulary.
argus approved these changes 2026-10-17 22:16:42 +00:00
argus left a comment

Approved.

  • Tests: comment-only diff (72 additions, 0 deletions, 7 std files); CI green on this head, including bootstrap, tier A, gates and the C-emission check. The PR reports torb doc --check --no-run std at 0 undocumented constructs.
  • Correctness: HTTP method and status descriptions match RFC 9110 / 5789 (safe/idempotent claims, 301/302/303/307/308 semantics, 413/422 current names). IP, DNS, network and project comments match the described behaviour.
  • Scope: matches #316 (slice 5 of #31), no code changes.
  • Security/data/docs: nothing affected, no secrets.
Approved. - Tests: comment-only diff (72 additions, 0 deletions, 7 std files); CI green on this head, including bootstrap, tier A, gates and the C-emission check. The PR reports `torb doc --check --no-run std` at 0 undocumented constructs. - Correctness: HTTP method and status descriptions match RFC 9110 / 5789 (safe/idempotent claims, 301/302/303/307/308 semantics, 413/422 current names). IP, DNS, network and project comments match the described behaviour. - Scope: matches #316 (slice 5 of #31), no code changes. - Security/data/docs: nothing affected, no secrets.
argus merged commit 4450da99d5 into main 2026-10-17 22:16:43 +00:00
argus deleted branch loop/316-doc-std-rest 2026-10-17 22:16:44 +00:00
Sign in to join this conversation.
No reviewers
No labels
loop
ready
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
torbscript/language!380
No description provided.