Repository navigation
Extend C-328 to the full-response http family on the embedded lane - #131
Merged
Merged
Conversation
…ith its error-path fixture Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs almide/almide#3620
C-328 said the full-response http family (
get_response…request_response) is native-only. The implementation now serves it on the embedded wasm lane (almide run --target wasm). The embedded host answers a framed op 65 from the same rt-corerequest_responsethe native leg calls, and thehttp_framedsplice rebuilds theHttpResponsevalue from that answer. This PR records that in the ledger before the implementation lands, as the boundary rule requires.Changes
spec/embedded_cross/http_response_errs.almd(// @contract: C-328) runs the six verbs against closed ports, a malformed url, an unsupported scheme and a refused header value. It is listed as C-328 evidence.docs/contracts/conformance.mdregenerated.Evidence
tests/embedded_cross_test.rsruns everyspec/embedded_crossfixture native against embedded.Set-Cookie, a 404, an unfollowed 302, an echoed header) is covered by the implementation-sidetests/http_response_cross_test.rs. That test will be cited in the implementation's ledger once it lands there, not here.🤖 Generated with Claude Code