feat(http): rebuild bounded HTTP/1.1 authority on current main - #37
feat(http): rebuild bounded HTTP/1.1 authority on current main#37seonghobae wants to merge 69 commits into
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughChangesBounded HTTP/1.1 교환
Estimated code review effort: 5 (Critical) | ~120 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/adr/0011-bounded-http11-semantics.md`:
- Line 128: Update the RFC 9651 reference in the ADR bibliography to list M.
Nottingham and P-H. Kamp as the authors, replacing L. Pardue while preserving
the existing APA 7 formatting and citation details.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 309012b3-0507-4ad0-a120-79860db60d68
📒 Files selected for processing (8)
crates/originweave-http/src/exchange.rscrates/originweave-http/src/integrity.rscrates/originweave-http/src/response_head.rscrates/originweave-http/tests/response_failure_regressions.rsdocs/adr/0011-bounded-http11-semantics.mddocs/doctoring/http11-security-evidence.mddocs/superpowers/plans/2026-08-07-http11-semantics.mddocs/superpowers/specs/2026-08-07-http11-semantics-design.md
🚧 Files skipped from review as they are similar to previous changes (5)
- docs/doctoring/http11-security-evidence.md
- crates/originweave-http/src/response_head.rs
- docs/superpowers/plans/2026-08-07-http11-semantics.md
- crates/originweave-http/src/exchange.rs
- crates/originweave-http/src/integrity.rs
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/ci.yml:
- Line 95: Update the workflow step containing the `cargo llvm-cov report | tee
missing-lines.txt` pipeline to enable pipefail before running it, ensuring
failures from `cargo llvm-cov report` propagate instead of being masked by
`tee`.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: db50be84-103e-4454-aec3-105b7dd2e9e6
📒 Files selected for processing (5)
.github/workflows/ci.ymlcrates/originweave-http/src/integrity.rscrates/originweave-http/src/lib.rscrates/originweave-http/src/tests/no_content_integrity_contract.rscrates/originweave-http/src/tests/response_debug_runtime_contract.rs
🚧 Files skipped from review as they are similar to previous changes (3)
- crates/originweave-http/src/tests/no_content_integrity_contract.rs
- crates/originweave-http/src/lib.rs
- crates/originweave-http/src/integrity.rs
Purpose
Complete the non-destructive reconstruction of issue #9 / historical PR #11 on current protected-main lineage. The replacement restores the bounded
originweave-httpproduction crate, realistic integration tests, governing ADR/doctoring, and current workspace/governance contracts without replaying obsolete branch-specific coverage machinery or overwriting protected-main network/TLS/proxy/sensitive-data/resource/extension/governance work.Reconstruction evidence
The replacement preserves the predecessor's production HTTP semantics while adopting current-main contracts rather than stale branch history. Representative high-risk modules preserve the reconstructed semantics for chunked transfer/trailers, content decoding, exchange orchestration, message framing, RFC 9530 integrity, request serialization, response-head parsing and bounded MIME/disposition handling. Historical changes to the old custom coverage verifier were not replayed because protected main now owns the canonical exact-coverage pipeline.
The replacement also repaired the historical
Cargo.lockchecksum divergence forcpufeatures 0.2.17rather than bypassing locked dependency verification.Product boundary
GETorHEADexchange over an existing authenticatedAuthenticatedTlsConnection;Latest RCA and exact-head evidence
A later cumulative-final-head-budget contract moved the test module declaration in
crates/originweave-http/src/lib.rs; exact heada6e7a64158e96d707cf0797f6f9b2bacc20420e9retained 100% production coverage and passed Security/SAST, but CI run31361870383failed only atcargo fmt --all --check. Rustfmt requiredmod field;to precede the cfg-gatedfinal_head_budget_contractdeclaration.Current exact head
a38980683f073c8df8bebb8d674efaca4cf3e66dapplies exactly that canonical module ordering. Against unchanged protected main67af7c87589edc2039545af335c95064d9b8391c:31364041997: success;31364041741: success;31364041727: success;No predecessor-head check, review, or mergeability result is transferred to this exact head.
Supersession
After this replacement reaches protected main and protected-main acceptance is re-established, historical PR #11 can be closed as superseded by this clean current-lineage reconstruction. Historical predecessor checks/reviews are not reused as merge authority.
Closes #9 only after protected integration.