Skip to content

Write the seven empty bodies in specs/tri/net/http.t27 — URL parsing and HTTP status classification - #4044

Merged
gHashTag merged 3 commits into
masterfrom
queen-3680
Sep 17, 2026
Merged

gHashTag merged 3 commits into
masterfrom
queen-3680

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #3680

Opened from the bee branch queen-3680, which was pushed but never turned into a pull request. Every changed path is inside the boundary the issue declares:

  • specs/tri/net/http.t27

The acceptance criteria are structural and were checked by the swarm, not by a human; the review-side oracle is what decides whether the generated code compiles and passes its tests.

Trinity Bee added 3 commits September 16, 2026 05:15
- Implement method_to_string for all 7 HTTP methods
- Implement status_from_code with common RFC 9110 status codes
- Implement four status code classification predicates
- Implement parse_url with basic URL parsing
- Add comprehensive tests for all functions
- Remove all TODO: Implement stubs

Closes #3680
- Fix HttpMethod enum to include all 7 variants: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
- Implement method_to_string() to convert HTTP methods to string literals
- Implement status_from_code() to create HttpStatus structs with proper reason phrases
- Implement HTTP status code classification predicates: is_success, is_redirect, is_client_error, is_server_error
- Implement parse_url() with basic URL parsing functionality
- Add comprehensive tests for all implemented functions
- Fix function signatures to return correct types ([]const u8, HttpStatus, bool, !Url)

Closes #3680
- Implement proper URL parsing for parse_url function to handle scheme, authority, path, query, and fragment components
- Fix error handling syntax to match language requirements
- Maintain all existing function signatures and behavior

Closes #3680
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-17 07:01:06 UTC

Summary

Status Count
Total Open PRs 48
PRs with Failing Checks 15
PRs with All Checks Green 33
READY 2
FAILING 15
PENDING 0
NO CHECKS YET 0

These columns do not partition: 2 + 15 + 0 + 0 = 17, and there are 48 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=8932aae0c5a9 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag merged commit 44c5fdf into master Sep 17, 2026
24 of 30 checks passed
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.

Write the seven empty bodies in specs/tri/net/http.t27 — URL parsing and HTTP status classification

1 participant