Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
702 commits
Select commit Hold shift + click to select a range
f4d660b
Order Cloudflare contract helpers for isolated feature builds
aram356 Oct 27, 2026
2be1dd8
feat(outbound): unify prepared dispatch and structured ownership
aram356 Oct 27, 2026
75cc304
fix(spin): match helper gates to guest test features
aram356 Oct 27, 2026
e02c236
feat(outbound): follow redirects through the shared pipeline
aram356 Oct 27, 2026
f57b813
fix(fastly): honor source wakeups before host waits
aram356 Oct 27, 2026
699cd49
test(outbound): verify provider redirect boundaries
aram356 Oct 27, 2026
361da4f
test(spin): move wire checks into Rust fixture harness
aram356 Oct 28, 2026
4e64db9
test(cloudflare): verify redirects through local workerd
aram356 Oct 28, 2026
b5f94c7
refactor(test): isolate the shared runtime harness
aram356 Oct 28, 2026
834a009
test(outbound): add bounded lifetime progress probes
aram356 Oct 28, 2026
7b68f73
fix(spin): pin SDK executor with eager spawn progress
aram356 Oct 28, 2026
f822e40
Merge main into outbound HTTP implementation
aram356 Oct 28, 2026
73ed39b
test(outbound): verify pending cutoff return boundaries
aram356 Oct 28, 2026
26e9e6b
docs(outbound): correct lifetime probe case count
aram356 Oct 28, 2026
44baaf3
test(outbound): characterize CPU-stretched batch observation
aram356 Oct 28, 2026
0d09236
test(outbound): calibrate CPU timing through the existing client
aram356 Oct 28, 2026
d3f4856
test(outbound): replace fixture accept sleeps with readiness
aram356 Oct 28, 2026
11b8f2c
test: expose fixture version probe errors in CI
aram356 Oct 28, 2026
cd8e77e
test(outbound): cover per-call expiry during late collection
aram356 Oct 28, 2026
87b5e1c
Update reviewed Spin SDK and retain outbound task ownership
aram356 Oct 29, 2026
8c11307
test: verify buffered caps during outbound batch progress
aram356 Oct 29, 2026
279c5a9
test: bind core batch receipt acceptance
aram356 Oct 29, 2026
abbc2c1
test: prove response-owned outbound work after handoff
aram356 Oct 29, 2026
15615da
test: prove Fastly response cleanup preserves callback work
aram356 Oct 29, 2026
fbdc060
test: cover Fastly response cleanup failures
aram356 Oct 29, 2026
5271994
test: verify retained outbound lifecycle cleanup
aram356 Oct 29, 2026
350c4b0
test: bind core outbound policy acceptance
aram356 Oct 29, 2026
7e9619c
test: bind forwarding and shared-head acceptance
aram356 Oct 29, 2026
be99226
test: expand native outbound acceptance and tighten timing evidence
aram356 Oct 30, 2026
ede796e
fix(http): protect ingress hooks and harden runtime guards
aram356 Oct 30, 2026
4470e73
fix(ci): format isolated ingress fixture
aram356 Oct 30, 2026
a9051e8
test: bind Spin response caps and repair CI evidence
aram356 Oct 30, 2026
0a04ddb
test: consolidate runtime harness and CI execution
aram356 Oct 30, 2026
ce1257f
docs: record CI consolidation verification
aram356 Oct 30, 2026
3b4e1f8
docs: record green CI and cache retention gap
aram356 Oct 30, 2026
9126631
docs: record warm CI cache verification
aram356 Oct 30, 2026
862eef3
test: bind Axum forwarding mode acceptance
aram356 Oct 30, 2026
9eaef2e
test: consolidate integration ownership and runners
aram356 Oct 30, 2026
c0379ee
test: remove backtracking from CI argument checks
aram356 Oct 30, 2026
a0fd6f7
test: complete Spin response normalization acceptance
aram356 Oct 30, 2026
80f7375
test: bind mixed batch recovery across adapters
aram356 Oct 30, 2026
0b949f0
test: restore Cloudflare wire acceptance without inspector
aram356 Oct 31, 2026
52d89c1
test: bind outbound client precedence across adapters
aram356 Oct 31, 2026
d1175fb
test: bind policy precedence and native marker acceptance
aram356 Oct 31, 2026
00a9edb
feat: expose request-scoped Fastly registration observations
aram356 Oct 31, 2026
2cbbc54
feat: publish independent connect-timeout capabilities
aram356 Oct 31, 2026
9fe6c56
test: replace Ruby workflow parsing with Node
aram356 Oct 31, 2026
c0e8aeb
fix: preserve empty ingress and verify native forwarding
aram356 Oct 31, 2026
dcd5ffc
test: bind strict Axum ingress deadline acceptance
aram356 Oct 31, 2026
9aaf0f5
test: bind native encoding and relay acceptance
aram356 Oct 31, 2026
d5dd8f1
test: repair lifecycle scheduling and callback attestation
aram356 Oct 31, 2026
96fb203
test: separate source and guest lifecycle timing evidence
aram356 Oct 31, 2026
071bbd4
test: bind local request overflow acceptance
aram356 Oct 31, 2026
dffca16
test: bind reader and fallback acceptance
aram356 Oct 31, 2026
1ff9ff9
test: consolidate dependency and forwarding checks in Rust
aram356 Nov 1, 2026
45ac7ef
test: bind outbound setting acceptance across adapters
aram356 Nov 1, 2026
fc97371
test: verify outbound provider mapping boundaries
aram356 Nov 1, 2026
b522a8e
fix: align focus invariants and Fastly CLI fixture lint
aram356 Nov 1, 2026
fb41b85
docs: format outbound approval audit tables
aram356 Nov 1, 2026
78f7a1b
test: bind image optimizer numeric and compiler acceptance
aram356 Nov 1, 2026
6920def
test: bind Fastly post-preparation dispatch acceptance
aram356 Nov 2, 2026
3523e12
test(outbound): witness native pending body reads
aram356 Nov 2, 2026
c6f3aaf
test(axum): use canonical observation cutoff name
aram356 Nov 2, 2026
deb0084
test(cloudflare): load native module manifests
aram356 Nov 2, 2026
92e03fe
test(spin): witness native pending body reads
aram356 Nov 2, 2026
5950548
test(fastly): witness native body readiness waits
aram356 Nov 2, 2026
eb8ac5d
test(fastly): cover arrivals during origin body reads
aram356 Nov 2, 2026
f0ce2b3
test(fastly): cover trickling slots and live-batch sends
aram356 Nov 2, 2026
775366f
test(fastly): prove batch execution after response handoff
aram356 Nov 2, 2026
f8f2dc5
test(outbound): complete local bindings and preserve qualification fa…
aram356 Nov 3, 2026
22c6386
fix(outbound): repair CI fixtures and pending-source observation
aram356 Nov 3, 2026
f036425
test(outbound): isolate cancellation and verify Linux connect
aram356 Nov 3, 2026
cd21436
test(outbound): isolate explicit reset cancellation control
aram356 Nov 3, 2026
8fbc4f8
test(spin): characterize response-result readiness before EOF
aram356 Nov 4, 2026
158b0c0
test(outbound): preserve absolute deferred batch dispatch timing
aram356 Nov 4, 2026
f82e402
fix(ci): recognize completed tests before host diagnostics
aram356 Nov 4, 2026
9f0a398
test(outbound): isolate cold entry timing before dispatch
aram356 Nov 4, 2026
55e07f6
test(outbound): isolate admission timing on original request clocks
aram356 Nov 4, 2026
3399588
fix(ci): recognize interrupted tests with diagnostic suffixes
aram356 Nov 4, 2026
562acc1
fix(cloudflare): retain absolute deadlines through timer setup
aram356 Nov 5, 2026
46019b2
docs: map outbound evidence to the reviewed revision
aram356 Nov 5, 2026
8f82547
fix(cloudflare): bound batch observation by its own cutoff
aram356 Nov 5, 2026
b56fccd
Merge latest main into outbound HTTP branch
aram356 Nov 6, 2026
6e5ce76
fix(cloudflare): retain absolute response-write deadlines
aram356 Nov 6, 2026
9b31a69
Replace Workers egress abort polling with owned events
aram356 Nov 6, 2026
3cc111c
Dispatch remaining Fastly slots after synchronous batch outcomes
aram356 Nov 6, 2026
daed2d0
Use one condition for unpromoted evidence deferrals
aram356 Nov 6, 2026
a95b7c8
Record Fastly arrivals during nonblocking observations
aram356 Nov 6, 2026
46dfa2d
Correct current lifecycle APIs and toolchain in changelog
aram356 Nov 6, 2026
16699f1
Keep Workers inbound reads on their absolute deadline
aram356 Nov 6, 2026
0e064bf
Observe parked Spin deadlines before ending batch collection
aram356 Nov 6, 2026
fbd3fb7
Record implemented Axum begun-request test coverage
aram356 Nov 6, 2026
8866a01
Preflight routed caller caps against the original body length
aram356 Nov 6, 2026
fb22efb
Align Axum guide with current toolchain and shared application lifetime
aram356 Nov 6, 2026
522537f
Describe complete Fastly backend identity and capacity risks
aram356 Nov 6, 2026
bdee04c
Correct Fastly guide entrypoint and response examples
aram356 Nov 6, 2026
edef031
Align capability guidance and guards with adapter-owned delivery
aram356 Nov 6, 2026
153874f
Document implemented GET and HEAD settlement across adapters
aram356 Nov 6, 2026
1afbf8c
Publish outbound behavior support without extra capability flags
aram356 Nov 6, 2026
6504037
Clarify native optimizer blocking and measurement boundaries
aram356 Nov 6, 2026
9f34724
Document Fastly deadline behavior and synchronous exceptions
aram356 Nov 6, 2026
a2c67a4
Preserve Cargo proxy launching in the Spin CI harness
aram356 Nov 6, 2026
179573a
Correct configuration reference and extraction wire terminology
aram356 Nov 6, 2026
42c9e8d
Clarify the repaired Viceroy baseline for bounded reads
aram356 Nov 6, 2026
6f15983
Describe elapsed time at recorded arrival rather than collection
aram356 Nov 6, 2026
7d959e3
Correct SDK feature and deploy-action pin migration guidance
aram356 Nov 6, 2026
4951310
Correct handler examples and bounded context API reference
aram356 Nov 6, 2026
cc20b94
Document outbound client selection precedence across adapters
aram356 Nov 6, 2026
1b99901
List only implemented options retained by followed requests
aram356 Nov 6, 2026
139a928
State per-target DNS and TLS connect-timeout coverage
aram356 Nov 6, 2026
6aa1dfd
Document the two deadlines of begun streamed responses
aram356 Nov 6, 2026
70b6ae9
Correct streaming ownership and decompression examples
aram356 Nov 6, 2026
a9becc6
Distinguish route-conflict timing across application entrypoints
aram356 Nov 6, 2026
12bedb3
Name batch collection results and bodiless forwarding semantics
aram356 Nov 6, 2026
0783467
Update architecture diagram to the admitted head-first lifecycle
aram356 Nov 6, 2026
7568083
Name both unsupported optimizer modes in the Fastly error
aram356 Nov 6, 2026
6004d8a
fix(fastly): preserve SDK cache selection for batch slots
aram356 Nov 6, 2026
c2656c9
fix(fastly): identify failures observed while waiting for headers
aram356 Nov 6, 2026
9849617
fix(fastly): log deterministic backend refusals safely
aram356 Nov 6, 2026
7dfaf49
test(framing): isolate known SDK deviations from regression failures
aram356 Nov 6, 2026
c41f5fd
style(docs): format reviewed API guides
aram356 Nov 6, 2026
aa0f9fd
fix(test-harness): preserve cancellation across child exit observation
aram356 Nov 6, 2026
c739091
test(adapters): cover refusal delivery and runtime failure diagnostics
aram356 Nov 6, 2026
4606c45
test(outbound): bind shipped follow-up acceptance proofs
aram356 Nov 6, 2026
9956829
test: consolidate outbound acceptance tooling in Rust
aram356 Nov 7, 2026
d675b4b
test: provide single-request Fastly qualification package
aram356 Nov 7, 2026
958e214
docs: reconcile adoption guides and qualification status
aram356 Nov 7, 2026
598f0a2
test: share Cloudflare release witness across test features
aram356 Nov 7, 2026
6f0cc74
fix: address reposted TS outbound review findings
aram356 Nov 7, 2026
e65394a
fix: address outbound review contracts and evidence validation
aram356 Nov 7, 2026
5ea8d93
test: isolate Fastly logger facade capture
aram356 Nov 7, 2026
dcbf622
test: align HTTP qualification with approved requirements
aram356 Nov 8, 2026
2661205
test(fastly): make callback ownership assertions deterministic
aram356 Nov 8, 2026
ebab57e
test: observe native reuse and retain shutdown evidence
aram356 Nov 8, 2026
25114e6
fix(axum): preserve absolute native timer targets
aram356 Nov 9, 2026
c8fd193
test: lock signed-origin image cache policies
aram356 Nov 9, 2026
a7d7fd0
test: retain startup fixture listener ownership
aram356 Nov 10, 2026
ac5a6aa
fix: retain approved outbound review repairs
aram356 Nov 13, 2026
1467e28
fix: rebuild outbound ownership and SDK integration
aram356 Nov 13, 2026
737f845
fix: install managed logging and preserve streamed upload lengths
aram356 Nov 13, 2026
5c32ae6
fix: unify Fastly managed logging and isolate timing qualification
aram356 Nov 14, 2026
e9ffaa8
Merge branch 'main' into docs/outbound-http-spec
aram356 Nov 14, 2026
4cbabfe
fix(fastly): validate logging and reject setup failures
aram356 Nov 15, 2026
fe32185
fix(http): preserve terminal errors and response policies
aram356 Nov 16, 2026
c7e3ac9
test(fastly): attest canonical assembly failures
aram356 Nov 16, 2026
b65e714
feat(macros): bake logging config for hand-written hooks
aram356 Nov 16, 2026
f40fe1b
fix(core): wake revoked waiters during cleanup unwinding
aram356 Nov 16, 2026
2471dac
fix(fastly): retain observed batch body failures and timing
aram356 Nov 16, 2026
5e4883a
fix(cloudflare): checkpoint shared response finalization
aram356 Nov 16, 2026
840af94
test(harness): replay persisted redirect outcomes
aram356 Nov 16, 2026
fd8ff37
docs(outbound): track four-finding repairs and remaining send work
aram356 Nov 16, 2026
35f4458
fix(outbound): share retained failures with response finalization
aram356 Nov 16, 2026
4f1c50a
fix(fastly): order progress fields for CLI-only lint
aram356 Nov 16, 2026
bd390b2
fix(core): retain rejected outbound values in their captured scope
aram356 Nov 17, 2026
99e17b6
fix(core): reject manual body results after reentrant revocation
aram356 Nov 17, 2026
0ddf7d2
fix(fastly): retire wakers safely and reuse released progress slots
aram356 Nov 17, 2026
877de7d
fix(harness): supervise remaining Axum fixture builds
aram356 Nov 17, 2026
262fa4b
fix(cli): preserve pinned native deployment and serving targets
aram356 Nov 17, 2026
f783ad7
fix(fastly): encode private response handle ownership
aram356 Nov 17, 2026
73dda7a
fix(examples): classify configured URI failures as server errors
aram356 Nov 17, 2026
1be8c35
fix(macros): avoid conflicting literal field-pattern lints
aram356 Nov 17, 2026
ea2549f
docs: record verified review repairs and admission ordering
aram356 Nov 17, 2026
32ce59b
Pin Fastly SDK 0.13.3 and url 2.5.9
aram356 Nov 25, 2026
9ef25ce
Merge main into PR #275 for the Fastly SDK 0.13.3 upgrade
aram356 Nov 25, 2026
c56df36
Move the Viceroy readiness repair to 0.22.0
aram356 Nov 25, 2026
1967c05
Name Fastly SDK 0.13.3 and Viceroy 0.22.0 in the remaining pins
aram356 Nov 25, 2026
2830d07
Keep Image Optimizer unavailability typed under SDK 0.13.3
aram356 Nov 25, 2026
e9c05d6
Pin the Image Optimizer guard to the SDK's disabled-product check
aram356 Nov 25, 2026
dbe9085
Drain declared uploads before closing an early-response HTTP/1 connec…
aram356 Nov 25, 2026
d8cd85c
Install wasm32-unknown-unknown before building the Viceroy readiness …
aram356 Nov 25, 2026
41cdf03
Make conditional KV inserts atomic in the Viceroy readiness repair
aram356 Nov 26, 2026
0e2a58a
Advance the batch cutoff test's clock when its request arms its deadline
aram356 Nov 26, 2026
61d3351
Bound handed-off Axum responses by their deadline until the flush com…
aram356 Dec 1, 2026
773ca92
Return 500 for outbound contract violations
aram356 Dec 1, 2026
ee988fb
Re-arm Spin body-read and egress timers after an early wake
aram356 Dec 1, 2026
0a8fa3f
Keep rejected values out of validation error messages
aram356 Dec 1, 2026
083604e
Document the no-op waker ordering rule for outbound readiness checks
aram356 Dec 1, 2026
a529b12
Enable cache_option_enabled in generated and demo Workers
aram356 Dec 1, 2026
3fc2295
Run the Cloudflare native bounded secret tests in CI
aram356 Dec 1, 2026
d59b850
Use RequestContext::headers in the middleware CORS sample
aram356 Dec 1, 2026
4165a6e
Document the request-context, Axum service, manifest and Spin host mi…
aram356 Dec 1, 2026
8e386dc
Exclude internal audit records from the published docs site
aram356 Dec 1, 2026
b4c8514
Name the Fastly backend policy tests by behavior
aram356 Dec 1, 2026
72831ce
Restore main's dependency versions in the root lockfile
aram356 Dec 1, 2026
0d14f30
Record the outbound contract status, validation message and Axum hand…
aram356 Dec 1, 2026
afea86a
Expect the Fastly terminal error body in its production key order
aram356 Dec 1, 2026
97bc501
Fail Viceroy generation-match inserts on keys with no live entry
aram356 Dec 1, 2026
a3c5f3d
Move yanked crates in the lockfiles to their replacements
aram356 Dec 3, 2026
343f5cb
fix(fastly): bound cooperative readiness work per turn
aram356 Dec 4, 2026
a2f7fd8
Count only idle Fastly readiness turns against the turn limit
aram356 Dec 4, 2026
9950539
Describe the Fastly readiness bound on cooperative yields
aram356 Dec 4, 2026
f332e2a
Return 500 when adapters reject an outbound request the handler built
aram356 Dec 4, 2026
079e0dc
Record the Spin host denial as a 500 in the redirect acceptance crite…
aram356 Dec 4, 2026
6a07919
Record the adapter contract-violation status change in the migration …
aram356 Dec 4, 2026
9c770af
Reject a declared upload length over the cap before dispatch
aram356 Dec 4, 2026
b58afe8
Assert egress completion ordering outside the completion callback
aram356 Dec 4, 2026
a5ee0b9
Test finish_bounded_secret_read directly and share it with the in-mem…
aram356 Dec 4, 2026
a355fed
Test that a continuing hook cannot swallow a routed read deadline
aram356 Dec 4, 2026
005c594
Test the Fastly batch driver-failure arm through the production stream
aram356 Dec 4, 2026
43a14eb
Test the Fastly bounded secret read through its real lookup path
aram356 Dec 4, 2026
df79716
Test that only Bypass sends the no-store fetch cache mode on Workers
aram356 Dec 4, 2026
f844600
Name the config store and file in Axum snapshot startup diagnostics
aram356 Dec 4, 2026
234ec3e
Check the occupied listener in the Axum configuration-failure test
aram356 Dec 4, 2026
de918aa
Answer 503 config_out_of_date when a store rejects a secret key name
aram356 Dec 4, 2026
b20319b
Validate the normalized request head in dispatch_ingress
aram356 Dec 4, 2026
3b30f22
Keep line and column locations in manifest type errors
aram356 Dec 4, 2026
cd93c81
Detect grouped and valued non-interactive flags before Fastly deploy …
aram356 Dec 4, 2026
3167f10
Ignore non-HTTP Spin outbound entries in the outbound host drift check
aram356 Dec 4, 2026
2b3c3d2
Check the scaffold's Spin pin against the repo tool versions
aram356 Dec 4, 2026
0181f7f
Skip manifest discovery scans outside a Cargo project
aram356 Dec 4, 2026
84a204f
Test the Spin outbound host gate through the deploy entry point
aram356 Dec 4, 2026
591af41
Check the application-root spin.toml when no Spin manifest is selected
aram356 Dec 4, 2026
77bb50c
Note the InvalidSecretKey extraction reason in the changelog
aram356 Dec 4, 2026
d982b10
Keep the fallback TCP fixture's port reservation from racing its own …
aram356 Dec 4, 2026
92b7158
Add migration rows for removed adapter entry points, Fastly endpoint …
aram356 Dec 4, 2026
148961e
Describe the Cloudflare and Spin managed loggers in the logging migra…
aram356 Dec 4, 2026
c71a1dc
Document that Spin into_core_request never fails and leaves the body …
aram356 Dec 4, 2026
d5d2a3a
Point the guides' Viceroy repair and evidence links at main
aram356 Dec 4, 2026
39c9ac3
Correct the Viceroy repair README's stock control, CI inventories and…
aram356 Dec 4, 2026
c7b748d
Describe the runtime logging level sources in the store migration guide
aram356 Dec 4, 2026
598b339
Make the configuration guide's capability example pass the gate on ev…
aram356 Dec 4, 2026
25e9888
Name spin-sdk 8 and stock Viceroy 0.22.0 in the routing and capabilit…
aram356 Dec 4, 2026
f59716a
Lint every feature-gated Fastly lifecycle fixture in CI
aram356 Dec 4, 2026
aab556c
Run the native-body-witness and progress fixture tests in CI
aram356 Dec 4, 2026
1209bb3
Require a serde_json anchor before auditing its map features
aram356 Dec 4, 2026
a92b6e9
Validate native transport evidence in the Axum and Fastly CI wire check
aram356 Dec 4, 2026
b34f689
Stream the namespace-wide TCP table instead of capping it at 64 KiB
aram356 Dec 4, 2026
f36b148
Reseal draft captures in the frozen export rejection test
aram356 Dec 4, 2026
e925ce4
Aim the premature-timeout and late-read readiness mutations at their …
aram356 Dec 4, 2026
e1d2845
Assert acceptance CLI option rejections against the real checkout
aram356 Dec 4, 2026
06c0f47
Record the budget inventory as failed when a case, cleanup or readbac…
aram356 Dec 4, 2026
624600f
Print EZ-1 forwarding sentinels after the length controls and readback
aram356 Dec 4, 2026
d964f6f
Bind persisted Spin policy receipts to the redirect origin
aram356 Dec 4, 2026
0f80a6f
Reject application-rendered 500s as early callback-exit evidence
aram356 Dec 4, 2026
9d515e0
Print lifetime acceptance sentinels only after teardown and log tails…
aram356 Dec 4, 2026
1b1cee0
Reject symlinks when staging fixture artifacts
aram356 Dec 4, 2026
131fb74
Run runtime version and help probes under process supervision
aram356 Dec 4, 2026
901005f
Apply the Viceroy pin check to the Fastly outbound-lifetimes suite
aram356 Dec 4, 2026
e69caa9
Compare admission refusal header names case-insensitively
aram356 Dec 4, 2026
d371d61
Fail the Spin fixture run when its manifest rewrite does not match
aram356 Dec 4, 2026
a0f1cf0
Fail run_tests.sh early when VICEROY_BIN does not name the repaired V…
aram356 Dec 4, 2026
6d99e79
Refuse an existing Viceroy source directory before arming its cleanup…
aram356 Dec 4, 2026
39cc2e9
Keep the allowlisted scheme and re-check the allowlist for begin-uplo…
aram356 Dec 4, 2026
e3705ee
Install managed logging on the retained Cloudflare and Spin fixture p…
aram356 Dec 4, 2026
180437f
Run the Spin eager begin and batch checks through the production comp…
aram356 Dec 4, 2026
15141e6
Review the changed Fastly dispatch and lifetime settlement owners
aram356 Dec 4, 2026
dc27eda
Hold the unreachable runtime port bound in the budget inventory test
aram356 Dec 4, 2026
33d540c
Say the Spin outbound-host check reads the app-root spin.toml when no…
aram356 Dec 4, 2026
3d4c805
Compile the Spin host-denial classifier test only with the spin feature
aram356 Dec 4, 2026
b3d6c02
Avoid template braces the docs site evaluates in the Spin outbound ho…
aram356 Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .claude/agents/code-architect.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ architectural principles:

3. **Thin adapters**: each adapter translates platform types to/from core types.
Business logic never lives in adapters. The adapter file structure is:
`context.rs`, `request.rs`, `response.rs`, `proxy.rs`, `logger.rs`, `cli.rs`.
`context.rs`, `request.rs`, `response.rs`, `outbound.rs`, `logger.rs`, `cli.rs`.

4. **Contract testing**: every adapter has `tests/contract.rs` that validates
request/response mapping. New adapters must follow this pattern.
Expand Down
13 changes: 10 additions & 3 deletions .claude/commands/check-ci.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
Run the full CI gate checks locally before pushing. Run all four commands sequentially and report any failures:
Run the primary Rust gates locally before pushing, then the standalone integration harness. Report each actual result:

1. `cargo fmt --all -- --check`
2. `cargo clippy --workspace --all-targets --all-features -- -D warnings`
3. `cargo test --workspace --all-targets`
4. `cargo check --workspace --all-targets --features "fastly cloudflare"`
4. `cargo check --workspace --all-targets --features "fastly cloudflare spin"`
5. `cargo check -p edgezero-adapter-spin --target wasm32-wasip2 --features spin`
6. `cargo test --offline --locked --manifest-path crates/edgezero-test-harness/Cargo.toml`

If any step fails, show the errors and suggest fixes. Do not proceed to the next step until the current one passes.
Use `scripts/run_tests.sh` for the complete prescribed suite, including excluded
demo/generated workspaces and target feature matrices. Set `VICEROY_BIN` to the repaired
Viceroy built per `patches/viceroy/README.md` first; the pinned stock release cannot pass
the Fastly suite. Runtime and hosted
qualification have separate gates in `crates/edgezero-test-harness/SUITES.md`.
Retain every failed attempt; a partial or retried pass is not a complete-suite pass.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Unified patches contain single-space context lines; check whitespace in the applied source.
patches/viceroy/*.patch -whitespace
4 changes: 2 additions & 2 deletions .github/actions/deploy-core/tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2795,8 +2795,8 @@ test_fastly_logical_link_documentation() {
grep -Fq -- '--service-id "$FASTLY_SERVICE_ID"' "$fastly_deployment"
assert_fails "Fastly managed deployment does not recommend direct provider deployment" \
grep -Fq 'fastly compute deploy' "$fastly_deployment"
assert_succeeds "bare Fastly deploy is explicitly store-free production compatibility" \
grep -Fq 'store-free production compatibility' "$fastly_deployment_flat"
assert_succeeds "bare Fastly deploy is explicitly limited to store-free production" \
grep -Fq 'supports store-free production deployments using a manifest command' "$fastly_deployment_flat"

# shellcheck disable=SC2016 # GitHub expression is the literal documentation contract.
assert_fails "lifecycle examples do not reference a cross-job archive path output" \
Expand Down
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,32 @@ updates:
interval: "weekly"
cooldown:
default-days: 7
groups:
audited-decoders:
patterns:
- "alloc-no-stdlib"
- "alloc-stdlib"
- "adler2"
- "async-compression"
- "brotli"
- "brotli-decompressor"
- "compression-codecs"
- "compression-core"
- "crc32fast"
- "flate2"
- "miniz_oxide"
- "simd-adler32"

- package-ecosystem: "npm" # See documentation for possible values
directory: "docs/" # Location of package manifests
schedule:
interval: "weekly"
cooldown:
default-days: 7

- package-ecosystem: "npm"
directory: "/scripts"
schedule:
interval: "weekly"
cooldown:
default-days: 7
131 changes: 107 additions & 24 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,37 +30,55 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
tests/fixtures/reusable-app/target/
crates/edgezero-test-harness/fixtures/reusable-app/target/
crates/edgezero-test-harness/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-

- name: Retrieve Rust version
id: rust-version
run: echo "rust-version=$(grep '^rust ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
run: echo "rust-version=$(grep '^rust ' .tool-versions | awk '{print $2}')" >> "$GITHUB_OUTPUT"
shell: bash

- name: Set up rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: "false"
components: "clippy, rustfmt"
toolchain: ${{ steps.rust-version.outputs.rust-version }}

- name: Fetch dependencies (locked)
run: cargo fetch --locked
run: |
cargo fetch --locked
cargo fetch --locked --manifest-path crates/edgezero-test-harness/fixtures/reusable-app/Cargo.toml
cargo fetch --locked --manifest-path crates/edgezero-test-harness/Cargo.toml
cargo fetch --locked --manifest-path crates/edgezero-test-harness/fixtures/request-fidelity/Cargo.toml

- name: Run cargo fmt
run: cargo fmt --all -- --check

- name: Run cargo fmt (lifecycle fixtures)
run: cargo fmt --manifest-path tests/fixtures/reusable-app/Cargo.toml --all -- --check
run: cargo fmt --manifest-path crates/edgezero-test-harness/fixtures/reusable-app/Cargo.toml --all -- --check

- name: Run cargo fmt (test harness)
run: cargo fmt --manifest-path crates/edgezero-test-harness/Cargo.toml --all -- --check

- name: Run cargo fmt (ingress fixtures)
run: cargo fmt --manifest-path crates/edgezero-test-harness/fixtures/request-fidelity/Cargo.toml --all -- --check

- name: Run cargo clippy (native lifecycle fixtures)
run: cargo clippy --locked --manifest-path tests/fixtures/reusable-app/Cargo.toml -p fixture-harness -p fixture-core -p fixture-axum --all-targets -- -D warnings
run: |
cargo clippy --locked --manifest-path crates/edgezero-test-harness/Cargo.toml --all-targets -- -D warnings
cargo clippy --locked --manifest-path crates/edgezero-test-harness/fixtures/reusable-app/Cargo.toml -p fixture-core -p fixture-axum --all-targets -- -D warnings
cargo clippy --locked --manifest-path crates/edgezero-test-harness/fixtures/reusable-app/Cargo.toml -p fixture-core -p fixture-axum --all-targets --features fixture-core/native-body-witness,fixture-axum/progress -- -D warnings

- name: Run cargo clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

- name: Check CLI-only library feature
run: cargo check --offline --locked -p edgezero-cli --lib --no-default-features --features cli

# The all-features build unifies the fastly adapter's `cli` and `fastly`
# features, which can MASK a dead-code or cfg mistake that only surfaces in
# one supported mode. Gate the two the matrix above does not: `cli` alone
Expand All @@ -84,28 +102,41 @@ jobs:
working-directory: examples/app-demo
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

adapter-wasm-clippy:
name: ${{ matrix.adapter }} wasm clippy
adapter-clippy:
name: ${{ matrix.check_name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- adapter: cloudflare
target: wasm32-unknown-unknown
features: cloudflare
- adapter: fastly
target: wasm32-wasip1
features: fastly
# The `cli` feature is a valid wasip1 build combination (the CLI host
# code compiled for the guest target); gate it so a dead-code or
# portability regression there is caught, not only in the fastly-only build.
check_name: cloudflare wasm clippy
feature_sets: |-
cloudflare
cloudflare,test-utils
- adapter: fastly
target: wasm32-wasip1
features: fastly cli
check_name: fastly wasm clippy
# The `cli` feature is valid on wasip1. Lint it independently so
# feature unification cannot mask target-specific cfg mistakes.
feature_sets: |-
fastly
fastly,cli
fastly,test-utils
fastly,cli,test-utils
- adapter: spin
target: wasm32-wasip2
features: spin
check_name: spin wasm clippy
feature_sets: |-
spin
spin,test-utils
- adapter: axum
target: native
check_name: axum native clippy
feature_sets: |-
axum
axum,test-utils
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -119,34 +150,83 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
tests/fixtures/reusable-app/target/
crates/edgezero-test-harness/fixtures/reusable-app/target/
crates/edgezero-test-harness/fixtures/request-fidelity/target/
key: ${{ runner.os }}-cargo-${{ matrix.adapter }}-clippy-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-${{ matrix.adapter }}-clippy-

- name: Retrieve Rust version
id: rust-version
run: echo "rust-version=$(grep '^rust ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
run: echo "rust-version=$(grep '^rust ' .tool-versions | awk '{print $2}')" >> "$GITHUB_OUTPUT"
shell: bash

- name: Set up Rust tool chain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: "false"
toolchain: ${{ steps.rust-version.outputs.rust-version }}
components: clippy

- name: Add wasm target
if: matrix.target != 'native'
run: rustup target add ${{ matrix.target }}

- name: Fetch dependencies (locked)
run: cargo fetch --locked
run: |
cargo fetch --locked
cargo fetch --locked --manifest-path crates/edgezero-test-harness/fixtures/reusable-app/Cargo.toml
cargo fetch --locked --manifest-path crates/edgezero-test-harness/fixtures/request-fidelity/Cargo.toml

- name: Clippy ${{ matrix.adapter }} feature combinations on ${{ matrix.target }}
env:
ADAPTER: ${{ matrix.adapter }}
FEATURE_SETS: ${{ matrix.feature_sets }}
TARGET: ${{ matrix.target }}
run: |
target_args=()
if [[ "${TARGET}" != "native" ]]; then
target_args=(--target "${TARGET}")
fi

- name: Clippy ${{ matrix.adapter }} (${{ matrix.features }}) on ${{ matrix.target }}
run: cargo clippy -p edgezero-adapter-${{ matrix.adapter }} --features "${{ matrix.features }}" --target ${{ matrix.target }} --all-targets -- -D warnings
while IFS= read -r features; do
echo "==> edgezero-adapter-${ADAPTER} ${TARGET} features=[${features}]"
cargo clippy \
--package "edgezero-adapter-${ADAPTER}" \
--no-default-features \
--features "${features}" \
"${target_args[@]}" \
--all-targets \
-- \
-D warnings
done <<<"${FEATURE_SETS}"

- name: Clippy ${{ matrix.adapter }} lifecycle fixture
if: matrix.features != 'fastly cli'
run: cargo clippy --locked --manifest-path tests/fixtures/reusable-app/Cargo.toml -p fixture-${{ matrix.adapter }} --target ${{ matrix.target }} --all-targets -- -D warnings
env:
ADAPTER: ${{ matrix.adapter }}
TARGET: ${{ matrix.target }}
run: |
target_args=()
feature_args=()
if [[ "${TARGET}" != "native" ]]; then
target_args=(--target "${TARGET}")
fi
if [[ "${ADAPTER}" == fastly ]]; then
feature_args=(--all-features)
fi
cargo clippy --locked --manifest-path crates/edgezero-test-harness/fixtures/reusable-app/Cargo.toml \
-p "fixture-${ADAPTER}" "${target_args[@]}" "${feature_args[@]}" --all-targets -- -D warnings
if [[ "${ADAPTER}" == spin ]]; then
cargo clippy --locked --manifest-path crates/edgezero-test-harness/fixtures/reusable-app/Cargo.toml \
-p fixture-spin-async -p fixture-spin-wire "${target_args[@]}" --all-targets -- -D warnings
fi

- name: Clippy ${{ matrix.adapter }} ingress fixture
if: matrix.adapter != 'axum'
run: >-
cargo clippy --locked --manifest-path crates/edgezero-test-harness/fixtures/request-fidelity/Cargo.toml
--features ${{ matrix.adapter }} --target ${{ matrix.target }}
--all-targets -- -D warnings

format-docs:
runs-on: ubuntu-latest
Expand All @@ -162,7 +242,7 @@ jobs:
- name: Retrieve Node.js version
id: node-version
working-directory: .
run: echo "node-version=$(grep '^nodejs ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
run: echo "node-version=$(grep '^nodejs ' .tool-versions | awk '{print $2}')" >> "$GITHUB_OUTPUT"
shell: bash

- name: Use Node.js
Expand All @@ -180,3 +260,6 @@ jobs:

- name: Run Prettier (check)
run: npm run format

- name: Build documentation
run: npm run build
Loading
Loading