Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
455 commits
Select commit Hold shift + click to select a range
8ef412c
Skip Fastly logger init when no endpoint is configured
aram356 Jun 2, 2026
c1bc171
Add config push --local for fastly + cloudflare; delegate for spin/axum
aram356 Jun 2, 2026
805dda4
Spin config store: switch from variables to KV backend
aram356 Jun 3, 2026
21f0b72
Spin seed handler + run_app_with_seeder for `config push --local`
aram356 Jun 3, 2026
ffed5b9
config push: HTTP POST to seed handler for spin; AdapterPushContext
aram356 Jun 4, 2026
bb50235
Spin KV-config Stage 5: provision writes config labels to key_value_s…
aram356 Jun 4, 2026
30729af
Spin KV-config Stage 6: drop Spin's variable-name validator
aram356 Jun 4, 2026
00f6bac
Spin KV-config Stage 7: docs + app-demo migration
aram356 Jun 4, 2026
8813d24
Spin KV-config Stage 8: runtime-config.toml scaffold + plan/spec clos…
aram356 Jun 4, 2026
02af450
spin: PR-thread review fixes + per-backend-push plan
aram356 Jun 5, 2026
45f552a
Address June-02 PR #257 review feedback
aram356 Jun 5, 2026
76759ee
spin: drop /__edgezero/config/seed handler (architecture pivot)
aram356 Jun 5, 2026
32f066d
spin: per-backend writers (SQLite-direct + Fermyon Cloud shellout)
aram356 Jun 5, 2026
4189f70
spin: address review findings on per-backend dispatcher
aram356 Jun 5, 2026
b55a6c4
spin: fix `spin cloud key-value set` shape + non-default-label gate +…
aram356 Jun 5, 2026
19e8811
spin: fix parallel-test env race, switch cloud push to --app + --labe…
aram356 Jun 5, 2026
0e47777
spin: fix `link key-value` hint shape; scaffold doc; hermetic mock-sp…
aram356 Jun 5, 2026
8bb0eb7
Merge origin/chore/strict-clippy into feature/extensible-cli
aram356 Jun 6, 2026
a392a39
spin: race-free push tests, defer runtime-config parse for cloud, doc…
aram356 Jun 6, 2026
7484114
scaffold/cloud-dryrun/docs: fix CF template, validate cloud --dry-run…
aram356 Jun 6, 2026
1b10e72
spin/docs: partial-failure cloud-push diagnostic + 3 stale-doc fixes
aram356 Jun 6, 2026
b35d30c
spin: silence strict-clippy on cloud partial-failure diagnostic
aram356 Jun 7, 2026
d08df5c
docs: prettier-format cli-walkthrough Spin config-push bullets
aram356 Jun 7, 2026
0bde8cd
docs: outbound HTTP design spec (consumer driver)
aram356 Jun 8, 2026
96320d6
docs: scrub consumer-specific terminology from outbound HTTP spec
aram356 Jun 8, 2026
2db077b
docs: Fastly SDK correctness pass (round 50)
aram356 Jun 8, 2026
8919e67
docs: round-50 carry-overs and Spin WASI-write mechanics (round 51)
aram356 Jun 8, 2026
3e6e52d
Merge remote-tracking branch 'origin/main' into docs/outbound-http-spec
aram356 Jul 2, 2026
eb915d0
docs: close three completeness gaps in outbound-http spec
aram356 Jul 2, 2026
f840960
docs: close remaining completeness gaps in outbound-http spec
aram356 Jul 2, 2026
a7832c1
docs: self-review fixes to outbound-http spec additions
aram356 Jul 2, 2026
2606b6f
Merge remote-tracking branch 'origin/main' into docs/outbound-http-spec
aram356 Jul 10, 2026
67aa2f7
Merge branch 'main' into docs/outbound-http-spec
aram356 Jul 12, 2026
d1873a4
docs: outbound-http spec amendments + implementation decisions regist…
aram356 Jul 14, 2026
aad51ee
Merge remote-tracking branch 'origin/docs/outbound-http-spec' into do…
aram356 Jul 14, 2026
f2233d3
docs: compile-verified fixes to outbound-http spec (skeleton-adjudica…
aram356 Jul 15, 2026
3995b2f
docs: resolve four outbound-http policy decisions + CLI-gate skeleton
aram356 Jul 15, 2026
6b97988
docs: fix verification-review findings (gate-class propagation + stal…
aram356 Jul 16, 2026
5f3be4b
docs: Phase 1a implementation plan (EdgeError 502/504 + time.rs primi…
aram356 Jul 16, 2026
e2e35f2
fix: review findings in Phase 1a plan + spec pseudocode contradictions
aram356 Jul 16, 2026
0ffb1c3
fix: strict-clippy contract, shared trait-default static, Fastly erro…
aram356 Jul 17, 2026
517f9f6
fix: strict-lint gate (compile-verified), capability schema, Fastly e…
aram356 Jul 17, 2026
bdfdc42
fix: remaining review findings (fail-open gate, CLI/Fastly seams, lin…
aram356 Jul 17, 2026
8e648c6
fix: review findings (lifetime bug, StoredError, Fastly cache bound) …
aram356 Jul 17, 2026
020529c
fix(plan): rustfmt-canonical test snippets; spec appendix from_hours …
aram356 Jul 18, 2026
bba4428
fix(spec): repair rustdoc damaged by the over-aggressive comment cleanup
aram356 Jul 18, 2026
4f8d6ea
fix(spec): baked-manifest fail-open, Fastly bucket overshoot, nonexis…
aram356 Jul 18, 2026
c737e80
fix(spec): Spin early-response race (H3) + run_demo seam, ManifestCon…
aram356 Jul 18, 2026
d08c615
fix: revert wrong Fastly cache model (session-scoped, not cross-reque…
aram356 Jul 19, 2026
92d0983
fix: Cloudflare abort, Spin error map, Fastly Tier2 seam, capability …
aram356 Jul 19, 2026
b8593c3
fix: Fastly cache Send+Sync (Mutex, not RefCell), capability deny_unk…
aram356 Jul 19, 2026
e8ef932
fix: adapter design findings (Axum decode, CF/Spin cancellation, capa…
aram356 Jul 19, 2026
f6b12de
Merge branch 'main' into docs/outbound-http-spec
aram356 Aug 7, 2026
dab146a
Merge branch 'main' into docs/outbound-http-spec
aram356 Aug 7, 2026
e12a832
Merge branch 'main' into docs/outbound-http-spec
aram356 Aug 10, 2026
1b10017
Merge remote-tracking branch 'origin/main' into docs/outbound-http-spec
aram356 Aug 18, 2026
2897401
docs(outbound-http): resolve review round + fix spec conventions
aram356 Aug 28, 2026
e73f8e5
docs(outbound-http): tighten design and phase 1a plan
aram356 Sep 3, 2026
edadd39
Merge remote-tracking branch 'origin/main' into docs/outbound-http-spec
aram356 Sep 3, 2026
32fca0e
docs(inbound-body): document memory and extractor limits
aram356 Sep 3, 2026
92ff240
docs(outbound-http): resolve deep review findings
aram356 Sep 4, 2026
8f00d90
Merge branch 'main' into docs/outbound-http-spec
aram356 Sep 6, 2026
4f42390
docs: finalize outbound HTTP design and phase 1a plan
aram356 Sep 7, 2026
bc99061
feat(core): add typed gateway errors
aram356 Sep 7, 2026
1eee6eb
feat(core): add time module (Deadline + budget constants)
aram356 Sep 7, 2026
b78802d
docs: add outbound HTTP implementation plans
aram356 Sep 7, 2026
60795c5
docs: harden outbound HTTP design and plans
aram356 Sep 8, 2026
eb5d19c
docs(outbound): close lifecycle contract gaps
aram356 Sep 9, 2026
6f7e41c
feat(core): implement outbound HTTP contracts
aram356 Sep 9, 2026
bd1cc4b
feat(axum): implement outbound HTTP contracts
aram356 Sep 9, 2026
06a1f95
feat(core): add outbound capability manifest schema
aram356 Sep 9, 2026
f4a178c
feat(cloudflare): implement outbound capability contracts
aram356 Sep 9, 2026
36b0752
feat(cli): enforce outbound capabilities
aram356 Sep 9, 2026
1d1b0e9
fix(cli): pin capability-checked runtime targets
aram356 Sep 9, 2026
0621173
test(spin): execute WASI HTTP SDK resources
aram356 Sep 9, 2026
0e398d6
feat(spin): implement outbound HTTP contracts
aram356 Sep 9, 2026
0d033a8
feat(fastly): implement outbound HTTP contracts
aram356 Sep 9, 2026
d0eb756
feat(spin): publish outbound capability levels
aram356 Sep 9, 2026
0dc3272
feat(scaffold): generate outbound HTTP clients
aram356 Sep 9, 2026
d1e5292
refactor(app-demo): migrate to outbound HTTP API
aram356 Sep 9, 2026
680899f
fix(adapters): bound response stream conversion
aram356 Sep 9, 2026
a97b103
refactor(core): remove legacy proxy API
aram356 Sep 9, 2026
eddc483
fix(outbound): preserve adapter response marker
aram356 Sep 9, 2026
94e9ebd
docs: publish outbound HTTP and capabilities guide
aram356 Sep 9, 2026
5c2ad13
ci: enforce outbound HTTP completion matrix
aram356 Sep 9, 2026
6158fb7
feat(core): add ingress admission contract
aram356 Sep 9, 2026
a3ad5b7
feat(core): bound ingress config extraction
aram356 Sep 9, 2026
a17f733
feat: address outbound lifecycle requirements
aram356 Sep 10, 2026
fb722e7
fix(ci): cover target-specific adapter builds
aram356 Sep 10, 2026
cedefac
fix(ci): lint app-demo compatibility fixtures
aram356 Sep 10, 2026
86f6e83
fix(ci): exercise lazy request contracts
aram356 Sep 10, 2026
4cb67c2
fix(scaffold): propagate request reconstruction errors
aram356 Sep 10, 2026
1b101ac
fix(outbound): harden lifecycle contracts
aram356 Sep 10, 2026
4aa38ab
fix(ci): gate adapter test helpers
aram356 Sep 10, 2026
0a6d511
docs: record outbound hardening verification
aram356 Sep 10, 2026
91066d2
feat: align demo and generated lifecycle policies
aram356 Sep 10, 2026
8cc17c5
ci: install generator verification components
aram356 Sep 10, 2026
053d38f
docs: close demo generator alignment plan
aram356 Sep 10, 2026
68e5906
feat(ingress): bound fallback request bodies
aram356 Sep 10, 2026
3e7da48
fix(outbound): harden adapter lifecycle semantics
aram356 Sep 11, 2026
5716505
feat(ingress): transfer fallback grants and responses
aram356 Sep 11, 2026
86acb54
feat(ingress): align axum fallback lifecycle
aram356 Sep 11, 2026
fbe88a8
test(cli): pin fallback response mappings
aram356 Sep 11, 2026
95225d7
test(ingress): harden fallback lifecycle coverage
aram356 Sep 11, 2026
6e8954b
test(ingress): cover edge adapter fallback lifecycle
aram356 Sep 11, 2026
4abd1e2
feat(outbound): inject application clocks into adapters
aram356 Sep 11, 2026
e88aea5
fix(outbound): harden injected clock boundaries
aram356 Sep 11, 2026
34276d6
refactor(ingress): share adapter fallback dispatch paths
aram356 Sep 11, 2026
4faa59d
fix(adapters): close ingress and clock review gaps
aram356 Sep 11, 2026
e961a4c
fix(cloudflare): preserve authoritative response headers
aram356 Sep 11, 2026
923c03e
fix(outbound): close final review gaps
aram356 Sep 11, 2026
12cca8c
fix(ci): gate Cloudflare helper import
aram356 Sep 11, 2026
a997e00
fix(outbound): align adapter runtime contracts
aram356 Sep 11, 2026
7524726
refactor(cfg): audit adapter feature boundaries
aram356 Sep 12, 2026
244c793
fix(ci): scope Fastly lint expectations
aram356 Sep 12, 2026
fc1491a
fix(ingress): enforce Spin pending read deadlines
aram356 Sep 12, 2026
4ea9ce4
docs(capabilities): publish config support matrix
aram356 Sep 12, 2026
b60ae83
feat: complete outbound HTTP and response lifecycle support
aram356 Sep 14, 2026
9ed3b9d
fix: restore outbound provider CI contracts
aram356 Sep 14, 2026
28f7516
fix: harden outbound lifecycle contracts
aram356 Sep 14, 2026
b9cbbdb
fix: restore Cloudflare wasm lint gate
aram356 Sep 14, 2026
84e3e75
fix(outbound): close final lifecycle review gaps
aram356 Sep 15, 2026
d23ac81
fix(ci): fetch demo dependencies before offline audit
aram356 Sep 15, 2026
c14361b
feat(outbound): add completion-driven batch control
aram356 Sep 15, 2026
ebb9dfc
fix(outbound): type batch termination
aram356 Sep 16, 2026
02771f1
fix(ci): avoid indexed cutoff assertions
aram356 Sep 16, 2026
6b1e707
docs(outbound): close batch termination plan
aram356 Sep 16, 2026
ea3de8f
fix(outbound): preserve batch driver failures
aram356 Sep 17, 2026
a47400c
docs(plan): complete batch driver failure delivery
aram356 Sep 17, 2026
6221c45
fix(outbound): harden batch and Fastly egress contracts
aram356 Sep 17, 2026
5ff5620
fix(outbound): preserve early Fastly batch timeouts
aram356 Sep 17, 2026
2e7a994
fix(fastly): satisfy CLI item ordering
aram356 Sep 18, 2026
bfdeadf
docs(outbound): clarify batch cancellation lifecycle
aram356 Sep 18, 2026
c20444a
docs(outbound): deduplicate budget source contract
aram356 Sep 18, 2026
4fc571d
docs: design response completion and ingress abort
aram356 Sep 19, 2026
317e9d4
feat(core): add response-scoped egress completion
aram356 Sep 19, 2026
6496e38
feat(core): carry completion through ingress admission
aram356 Sep 19, 2026
57092b5
feat(axum): abort rejected ingress at connection boundary
aram356 Sep 19, 2026
e34795b
feat(adapters): propagate ingress abort without a response
aram356 Sep 19, 2026
111a34b
feat(app): make application assembly fallible
aram356 Sep 19, 2026
477bbbb
docs: align consumers with ingress lifecycle hard cut
aram356 Sep 19, 2026
4ece0ce
test: close lifecycle hard-cut coverage
aram356 Sep 19, 2026
f7bf087
docs: complete lifecycle implementation plan
aram356 Sep 19, 2026
d240d38
feat(core): harden lifecycle and bounded reads
aram356 Sep 20, 2026
a32e4e7
feat(core): allow detached ingress abort decisions
aram356 Sep 20, 2026
cb91564
Merge origin/main into docs/outbound-http-spec
aram356 Sep 20, 2026
366d49f
docs(plan): record detached ingress verification
aram356 Sep 20, 2026
d276c11
docs: define response egress composition and deadlines
aram356 Sep 20, 2026
9d25fb4
feat(core): compose response egress completions
aram356 Sep 20, 2026
c59864b
feat(core): require detached response deadlines
aram356 Sep 20, 2026
71ed199
test(adapters): migrate detached egress deadlines
aram356 Sep 20, 2026
5988bed
feat: align detached response egress examples
aram356 Sep 20, 2026
97b328f
fix: align generated response lifecycle
aram356 Sep 20, 2026
f0ca3eb
fix: harden response egress legacy scan
aram356 Sep 20, 2026
44b1cf5
docs(plan): record response egress verification
aram356 Sep 20, 2026
6e28bca
ci: consolidate adapter clippy checks
aram356 Sep 20, 2026
851f73e
feat(core): add response-relative egress deadlines
aram356 Sep 21, 2026
2e3e79c
fix(core): preserve framework error response contracts
aram356 Sep 24, 2026
a1f0ca2
fix(core): preserve mandatory error headers
aram356 Sep 24, 2026
53bd6ff
fix(cli): isolate template dependency feature
aram356 Sep 25, 2026
6969fa9
Merge remote-tracking branch 'origin/main' into docs/outbound-http-spec
aram356 Sep 25, 2026
8b29079
feat(adapter): expose platform memory ceilings
aram356 Sep 27, 2026
d523e77
fix(app): centralize platform-aware construction
aram356 Sep 27, 2026
4189710
fix: harden outbound clock and decoder contracts
aram356 Sep 27, 2026
2b4d22b
fix: gate spin clock regression helper
aram356 Sep 27, 2026
6fe77d4
docs: specify platform resource metadata
aram356 Sep 29, 2026
02d4fa1
feat(core): model typed platform resource facts
aram356 Sep 29, 2026
ca221c7
feat(core): validate platform memory envelopes
aram356 Sep 29, 2026
ab4ee50
feat(adapters): publish platform resource metadata
aram356 Sep 29, 2026
b52e2c0
docs(outbound): clarify batch observation cutoff
aram356 Sep 29, 2026
89173af
fix(core): support generic platform facts
aram356 Sep 29, 2026
8fa8429
docs: publish platform resource contracts
aram356 Sep 29, 2026
62153bc
docs: record platform resource verification
aram356 Sep 29, 2026
491df84
docs: complete platform resource delivery record
aram356 Sep 29, 2026
97b1a7e
feat(outbound): decode deflate and type passthrough reasons
aram356 Sep 29, 2026
69b86ca
fix(outbound): close adapter lifecycle and scaffold gaps
aram356 Sep 29, 2026
74f864b
fix(fastly): order shared items for CLI-only lint
aram356 Sep 29, 2026
c84996a
fix: preserve declared config bindings and defer Spin opens
aram356 Oct 2, 2026
04353fc
Bound config envelope JSON structure before materialization
aram356 Oct 3, 2026
e1c80b1
refactor: construct ordinary JSON with json!
aram356 Oct 3, 2026
5527b58
test: preserve failed Cloudflare config binding contracts
aram356 Oct 3, 2026
dfd439c
fix(logging): separate boot diagnostics from runtime filtering
aram356 Oct 6, 2026
9211183
fix: validate response EOF and batch driver finalization
aram356 Oct 6, 2026
950cb81
docs: complete PR 275 changelog
aram356 Oct 6, 2026
91f4af3
Merge main and share outbound batch and response policy
aram356 Oct 7, 2026
2cecc2e
Bound Axum HTTP/1 ingress before application admission
aram356 Oct 7, 2026
d1a8157
fix(axum): bound config snapshots before serving
aram356 Oct 8, 2026
633bd84
test(cli): isolate demo startup store state
aram356 Oct 8, 2026
ea66eff
Bound provider config reads and add lifecycle qualification probes
aram356 Oct 8, 2026
28038cc
Merge main while preserving portable HTTP lifecycle contracts
aram356 Oct 13, 2026
6531264
Preserve original outbound Content-Type provenance
aram356 Oct 15, 2026
596f9f4
Merge main into outbound HTTP work for Rust 1.98.1
aram356 Oct 16, 2026
f6c708c
Merge repository transfer while preserving outbound implementation
aram356 Oct 16, 2026
bc300ac
docs: define outbound adoption requirements and implementation plans
aram356 Oct 18, 2026
7cccaf1
docs: finalize outbound adoption contracts and qualification plans
aram356 Oct 19, 2026
0250edc
feat: add outbound policy foundations and runtime evidence
aram356 Oct 20, 2026
8f5a05d
test: verify encoded relay across local adapters
aram356 Oct 20, 2026
852ec74
feat: classify request overflow as payload too large
aram356 Oct 21, 2026
619c69b
test: characterize request overflow across local runtimes
aram356 Oct 21, 2026
cda324d
test: prove generated application fallback limits over TCP
aram356 Oct 21, 2026
0ee5625
test: cover exact ingress overflow boundaries
aram356 Oct 21, 2026
9c4e4d6
fix: preserve declared KV bindings across serverless adapters
aram356 Oct 21, 2026
f85830d
feat: add text-free provider diagnostic foundations
aram356 Oct 21, 2026
31ff21d
feat: preserve typed SDK failure diagnostics
aram356 Oct 22, 2026
8a576f9
feat: retain outbound preparation diagnostics
aram356 Oct 22, 2026
e857243
feat: retain response source diagnostics
aram356 Oct 22, 2026
cfcbe05
feat: preserve typed egress framing diagnostics
aram356 Oct 22, 2026
046ec23
feat: publish provider failure diagnostic capabilities
aram356 Oct 22, 2026
5968cac
feat: report Fastly delivery disposition without unsafe replacement
aram356 Oct 22, 2026
e07a30d
feat: make application route assembly fallible
aram356 Oct 22, 2026
f29fd9f
feat: unify fallible application assembly and error delivery
aram356 Oct 23, 2026
fe0fd4c
feat: serve configured applications through Axum TCP helpers
aram356 Oct 23, 2026
7fdef8b
fix: align buffered response framing across adapters
aram356 Oct 23, 2026
d47c802
feat: bound synthesized headers across response delivery paths
aram356 Oct 23, 2026
70f2ea5
test: verify declared KV failures through response delivery
aram356 Oct 23, 2026
6e33275
test: compile the forwarding guide example in CI
aram356 Oct 23, 2026
fbedaeb
test: assemble pre-freeze outbound evidence
aram356 Oct 24, 2026
ff60e5a
docs: prepare outbound qualification runbook
aram356 Oct 24, 2026
d12730f
fix: retain errors in Viceroy body readiness
aram356 Oct 24, 2026
77819f7
test: expand Fastly deadline-readiness diagnostics
aram356 Oct 24, 2026
b6b4ad8
test: isolate Fastly readiness timer observations
aram356 Oct 24, 2026
3654f35
feat: add head-first outbound finalization foundation
aram356 Oct 24, 2026
08bfb89
feat: add validated outbound image option values
aram356 Oct 24, 2026
9c08622
refactor: model image optimizer regions as an enum
aram356 Oct 24, 2026
98a1d0e
docs: define native image optimizer parity gates
aram356 Oct 24, 2026
fff8d64
fix: require measurements for outbound comparisons
aram356 Oct 24, 2026
8b460dd
feat: integrate native image optimizer single sends
aram356 Oct 24, 2026
1e3614d
fix: preserve transport-known empty Axum bodies
aram356 Oct 25, 2026
4ecbca4
fix: preserve absent Fastly SDK request bodies
aram356 Oct 25, 2026
40ad2dc
refactor: centralize outbound header policy
aram356 Oct 25, 2026
944fc30
docs: reconcile outbound delivery and acceptance tracking
aram356 Oct 25, 2026
ee71817
test: bind local Axum adoption acceptance cases
aram356 Oct 25, 2026
a0d3151
test: consolidate inventory-bound Axum suite execution
aram356 Oct 25, 2026
e1d4fe3
fix: preserve native Cloudflare request body absence
aram356 Oct 25, 2026
069bb35
refactor: centralize outbound dispatch mode validation
aram356 Oct 25, 2026
622f996
fix: reject expired outbound response handoffs
aram356 Oct 25, 2026
b33342d
fix: tolerate Spin connect timeout option refusals
aram356 Oct 25, 2026
0166998
docs: prepare Fastly backend policy review
aram356 Oct 25, 2026
c70e2b0
test: exercise proposed Fastly backend timer vectors
aram356 Oct 26, 2026
92daf00
feat: adopt stable Fastly B31 backend policy
aram356 Oct 26, 2026
f5d74b4
test: strengthen outbound mixed-phase progress coverage
aram356 Oct 26, 2026
1bb75e8
feat: multiplex Fastly outbound receive progress
aram356 Oct 26, 2026
b7a288d
Merge main while preserving outbound HTTP contracts
aram356 Oct 26, 2026
ba486fc
Fix isolated Fastly lint and Cloudflare guest contracts
aram356 Oct 27, 2026
3607576
Scope Fastly batch drivers to callback and response lifetimes
aram356 Oct 27, 2026
14c8b73
Reuse dispatch-selected clients in Fastly lifecycle fixtures
aram356 Oct 27, 2026
d86d4c0
Pair outbound clocks with cancellable runtime timers
aram356 Oct 27, 2026
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
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
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
85 changes: 67 additions & 18 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- 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
Expand Down Expand Up @@ -84,28 +84,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
check_name: cloudflare wasm clippy
feature_sets: |-
cloudflare
cloudflare,test-utils
- 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.
- 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 @@ -126,7 +139,7 @@ jobs:

- 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
Expand All @@ -136,17 +149,46 @@ jobs:
components: clippy

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

- name: Fetch dependencies (locked)
run: cargo fetch --locked

- 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
- 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

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=()
if [[ "${TARGET}" != "native" ]]; then
target_args=(--target "${TARGET}")
fi
cargo clippy --locked --manifest-path tests/fixtures/reusable-app/Cargo.toml \
-p "fixture-${ADAPTER}" "${target_args[@]}" --all-targets -- -D warnings

format-docs:
runs-on: ubuntu-latest
Expand All @@ -162,7 +204,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 +222,10 @@ jobs:

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

- name: Check outbound documentation contract
working-directory: .
run: node scripts/check_outbound_docs_contract.mjs

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