-
Notifications
You must be signed in to change notification settings - Fork 11
Add trusted-server-adapter-axum native dev server (PR 16) #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
302 commits
Select commit
Hold shift + click to select a range
774a07f
Add services param to generate_synthetic_id, remove Fastly IP/geo cal…
prk-Jr 95ce45e
Revert premature publisher geo change from Task 3
prk-Jr b10dcec
Replace deprecated GeoInfo::from_request in publisher.rs with service…
prk-Jr 888170d
Remove Fastly IP extraction from Didomi copy_headers, use ClientInfo …
prk-Jr f856b68
Move IpAddr import to test module level in didomi.rs
prk-Jr eb12522
Apply rustfmt formatting to didomi.rs, publisher.rs, and synthetic.rs
prk-Jr 7fcb3b4
Add test coverage for generate_synthetic_id with concrete client IP
prk-Jr 1844290
Align geo lookup warn log format with codebase convention ({e} not {e…
prk-Jr 0132a36
Apply Prettier formatting to PR7 plan and spec docs
prk-Jr ffa1174
Document content rewriting as platform-agnostic in platform module
prk-Jr fbbf767
Document html_processor as platform-agnostic
prk-Jr b89a9e6
Document streaming_processor as platform-agnostic
prk-Jr 6fa8b38
Fix unresolved doc link: replace EdgeRequest with edgezero_core::http…
prk-Jr e9ce63d
Add plan for content rewriting
prk-Jr 794b66d
Add plan for PR9: wire signing to store primitives
prk-Jr e13537b
Add build_services_with_config_and_secret to test_support
prk-Jr b0c6571
Merge branch 'main' into feature/edgezero-pr6-backend-http-client
prk-Jr 14f282b
Merge branch 'feature/edgezero-pr6-backend-http-client' into feature/…
prk-Jr 34c44bd
Merge branch 'feature/edgezero-pr7-geo-client-info' into feature/edge…
prk-Jr 04b9cda
Merge branch 'feature/edgezero-pr8-content-rewriting' into feature/ed…
prk-Jr 2c0c4eb
Add FastlyManagementApiClient to adapter
prk-Jr f6b00c8
Implement FastlyPlatformConfigStore and FastlyPlatformSecretStore wri…
prk-Jr ec62970
Migrate KeyRotationManager from FastlyApiClient to RuntimeServices st…
prk-Jr 27a0949
Migrate signing.rs from FastlyConfigStore/FastlySecretStore to Runtim…
prk-Jr 5b6555f
Delete storage/api_client.rs from core; remove FastlyApiClient
prk-Jr 0a8915c
Fix formatting after CI gate check
prk-Jr 2f1cc97
Add services to AuctionContext; remove deprecated from_config shim
prk-Jr ba141fa
Fix prettier formatting in PR9 plan document
prk-Jr 7310198
Add PR 10 logging initialization design
prk-Jr a05189e
Add PR 10 logging initialization plan
prk-Jr 4617253
Fix PR 10 logging plan to avoid per-log allocation
prk-Jr 236eecf
Extract Fastly logging initialization into adapter module
prk-Jr cd68357
Wire Fastly main.rs to adapter-local logging module
prk-Jr 41cb0df
Remove log-fastly from core dependencies
prk-Jr e437454
Format Fastly logging module declaration
prk-Jr f9b4d62
format plan docs
prk-Jr 1a0c0b6
Address PR findings
prk-Jr 49e3f1d
Restore idiomatic fern logging and improve target label extraction
prk-Jr 086b32c
Migrate utility layer to HTTP types
prk-Jr a9dd665
Migrate handler layer to HTTP types
prk-Jr 7365ec4
Address PR review findings
prk-Jr 079a97f
Address review findings
prk-Jr e9ec0a8
Migrate integration and provider HTTP types
prk-Jr 3924a98
Address review findings
prk-Jr dd6929c
Resolve review findings
prk-Jr 2817761
Resolve PR review findings
prk-Jr ba9c608
Address review findings
prk-Jr 4cd511c
Removed unused import
prk-Jr d2fa12d
Merge branch 'feature/edgezero-pr12-handler-layer-types' into feature…
prk-Jr 442a6e2
Resolve PR findings
prk-Jr 0db7beb
Resolve PR findings
prk-Jr f5a984a
Add dual-path entry point with feature-flag dispatch and legacy_main …
prk-Jr a81b1d6
Fix clippy doc_markdown, fmt, and add warn log on flag-read failure
prk-Jr 7d2f059
Add FinalizeResponseMiddleware and AuthMiddleware with golden header-…
prk-Jr 4410813
Simplify EdgeError::internal call and fix comment accuracy in middleware
prk-Jr 68ddcba
Revert anyhow direct dependency; use std::io::Error::other for EdgeEr…
prk-Jr 8c9cb56
Implement TrustedServerApp with all routes via Hooks trait
prk-Jr 5e30906
Fix app.rs spec gaps: remove double-Arc, move tsjs into catch-all, fi…
prk-Jr e1bce63
Clean up app.rs: remove gratuitous allocation, Box::pin inconsistency…
prk-Jr 181d866
Reference legacy-cleanup issue in legacy_main comment
prk-Jr e8e0d9f
Fix lint issues
prk-Jr d3c2798
Pin edgezero dependencies to branch=main and bump toml to 1.1
prk-Jr a300109
Switch EdgeZero dispatch to dispatch_with_config, add routing log lines
prk-Jr 86a44b6
Register explicit GET / and POST / routes to cover matchit root path gap
prk-Jr a48d956
Add trusted_server_config config store for local dev
prk-Jr dacc403
Address PR review findings in app.rs
prk-Jr 6c4965b
Add PR15 implementation plan: remove fastly from core crate
prk-Jr f67be31
Move compat conversion fns to adapter, delete core compat.rs
prk-Jr c2e0776
Move geo_from_fastly from core to adapter platform
prk-Jr 25bcf99
Move BackendConfig from core to adapter backend module
prk-Jr 8303b84
Delete dead backend_name_for_url from adapter backend
prk-Jr 76087e4
Delete legacy FastlyConfigStore and FastlySecretStore from core
prk-Jr 7795e69
Remove fastly::kv_store from core consent module
prk-Jr abd1f26
Fix consent KV trait design and formatting
prk-Jr d96dbbe
Move tokio to dev-dependencies in core (test-only usage)
prk-Jr 8f40601
Remove fastly dependency from trusted-server-core
prk-Jr 9a4357c
Remove stale fastly:: references from core doc comments
prk-Jr 46704c0
Apply cargo fmt formatting fixes
prk-Jr 60611fa
Wire consent KV into auction path and remove tokio from core tests
prk-Jr d5f5c0d
Fix rotate/delete atomicity, HTTP verb, idempotent deletes, and weak …
prk-Jr f9df8da
Merge branch 'main' into feature/edgezero-pr9-wire-signing-to-store-p…
prk-Jr 1acbfa7
Resolve PR review feedback on logging module
prk-Jr ae402ff
Address review findings
prk-Jr ff2e0cd
Resolve PR review findings
prk-Jr 6a2ad3f
Merge feature/edgezero-pr11-utility-layer-migration-v2
prk-Jr 5dbbfb0
Merge feature/edgezero-pr12-handler-layer-types
prk-Jr 94ec947
Address review findings: safe body reads and bounded inbound forwarding
prk-Jr c2b4bc9
Merge remote-tracking branch 'origin/feature/edgezero-pr13-integratio…
prk-Jr 40b4598
Resolve PR review findings and format lint
prk-Jr 02639db
Merge feature/edgezero-pr14-entry-point-dual-path into PR15
prk-Jr 8ac395a
Add trusted-server-adapter-axum crate skeleton with lib + bin targets
prk-Jr 8f0be1b
Add .gitignore to exclude target/ from axum adapter crate
prk-Jr 0e81b2a
Add Axum platform trait implementations (config/secret/backend/geo/http)
prk-Jr 3a0bcad
Add Axum middleware: FinalizeResponseMiddleware + AuthMiddleware
prk-Jr 450a459
Add Axum app wiring: TrustedServerApp Hooks implementation
prk-Jr 3e3016b
Add Axum adapter integration tests: route parity + middleware
prk-Jr ec2f5f5
Add CI job for Axum adapter native build and test
prk-Jr 93ec543
Update CLAUDE.md: add Axum adapter to workspace layout and build comm…
prk-Jr a5a7719
Fix clippy warnings: add #[must_use], Panics doc, replace eprintln wi…
prk-Jr ba6ca2e
Promote axum adapter to workspace member, remove global wasm32 target
prk-Jr a783330
Add Axum runtime environment to integration test matrix
prk-Jr e2b1a61
Remove unused StatusCode import from routes integration test
prk-Jr 8b54aca
Update docs to cover Axum dev server alongside Fastly
prk-Jr e967133
Reorder local dev options: Fastly first, Axum second
prk-Jr 6059de2
Fix CI: build and pass Axum binary to integration test job
prk-Jr 75fe0d0
fix integration test
prk-Jr 1a2cb46
Address round-3 review findings
prk-Jr e8c06e9
Address PR review: add body-size caps and remove orchestrator duplica…
prk-Jr 6d9d96a
Merge feature/edgezero-pr12-handler-layer-types: resolve body-cap and…
prk-Jr 4b27087
Address PR review: fmt, testlight body cap, auction constant, stale R…
prk-Jr 3bd4a1b
Merge feature/edgezero-pr13: use AUCTION_MAX_BODY_BYTES and testlight…
prk-Jr 373c8e4
Address PR14 review findings: middleware finalize and missing HTTP me…
prk-Jr 6c016d8
Make AppState private — not part of any public API
prk-Jr d8060d3
Address PR15 review findings: diagnostic regression, header dedup, co…
prk-Jr 6b6c221
Address PR16 review findings: unused deps, stale lockfile, middleware…
prk-Jr 0a15d1d
Fix fixed-port TIME_WAIT flakiness and add send_async/select divergen…
prk-Jr a780034
Restore request-scoped Axum HTTP client and fix dynamic-port logging
prk-Jr eb6a9e9
Resolve review findings
prk-Jr 9a1fd41
Resolve PR review findings
prk-Jr cd9cda7
Resolve PR review findings
prk-Jr 3a53f33
Resolve PR15 consent and backend review findings
prk-Jr 54d191b
Merge feature/edgezero-pr14-entry-point-dual-path into feature/edgeze…
prk-Jr cf0df8e
Resolve PR review findings
prk-Jr 3bb3006
Use append_header in place of set_header
prk-Jr ed3c161
Merge branch 'feature/edgezero-pr11-utility-layer-migration-v2' into …
prk-Jr 7321e79
fix lint
prk-Jr dfa0386
Merge branch 'main' into feature/edgezero-pr9-wire-signing-to-store-p…
prk-Jr e0c9bb8
Merge branch 'feature/edgezero-pr9-wire-signing-to-store-primitives' …
prk-Jr 5f5b067
Merge branch 'feature/edgezero-pr10-abstract-logging-initialization' …
prk-Jr 1d22f8c
Route Fastly cookie calls through compat bridge after PR10 merge
prk-Jr 8eb72ee
Remove unused Logger import
prk-Jr 2986f33
Merge branch 'feature/edgezero-pr10-abstract-logging-initialization' …
prk-Jr caaface
Merge branch 'feature/edgezero-pr11-utility-layer-migration-v2' into …
prk-Jr a2036eb
Merge branch 'feature/edgezero-pr12-handler-layer-types' into feature…
prk-Jr 16c0978
Merge branch 'feature/edgezero-pr13-integration-provider-type-migrati…
prk-Jr fb8beac
fix cargo fmt
prk-Jr a94ddd8
resolve PR review findings
prk-Jr b901037
Added E2E tests dispatch_auth_rejected_401_carries_finalize_headers, …
prk-Jr 2e128f7
Merge feature/edgezero-pr14-entry-point-dual-path into PR15
prk-Jr f5b7097
fix cargo fmt
prk-Jr 725ccdc
Resolve PR review suggestions
prk-Jr 0dcc750
Resolve PR review findings
prk-Jr d3138fd
Merge feature/edgezero-pr15-remove-fastly-core into PR16
prk-Jr 6d1184d
Complete PR15 merge and restructure workspace for mixed-target adapters
prk-Jr 9a0d38c
Set default-members to fastly adapter so Viceroy can locate the binary
prk-Jr 76df6f8
Resolve PR review findings
prk-Jr 2a908d4
Merge branch 'main' into feature/edgezero-pr11-utility-layer-migratio…
prk-Jr 65d1e2d
Fix fmt lint
prk-Jr 73734dd
Rename synthetic_id_cookie_value_is_safe → ec_cookie_value_is_safe
prk-Jr c23663c
Resolve PR review findings
prk-Jr ca5585c
Merge branch 'feature/edgezero-pr11-utility-layer-migration-v2' into …
prk-Jr 86bd21e
Resolve PR review findings
prk-Jr 9694980
Merge branch 'feature/edgezero-pr12-handler-layer-types' into feature…
prk-Jr c17fa27
Address PR review findings
prk-Jr f797f56
Resolve PR 624 review findings
prk-Jr e50068e
Merge main into feature/edgezero-pr12-handler-layer-types
prk-Jr cd4c621
Call StreamingBody::finish() to properly terminate chunked response
prk-Jr e093d01
Apply cargo fmt formatting
prk-Jr bf31cca
Resolve PR 626 review findings
prk-Jr f360b82
Apply cargo fmt formatting
prk-Jr 28205a0
Merge feature/edgezero-pr12-handler-layer-types into PR13
prk-Jr 611c68f
Merge feature/edgezero-pr13-integration-provider-type-migration
prk-Jr 3cca51c
Address review Non blocker findings
prk-Jr 50dc61f
Restore EdgeZero consent KV wiring
prk-Jr 4bb18cb
Merge EdgeZero PR14 updates into PR15 branch
prk-Jr 978fbb2
Resolve PR review findings and add startup listen log
prk-Jr 130de76
Merge feature/edgezero-pr15-remove-fastly-core into PR16
prk-Jr 6574790
Address PR 628 review findings
prk-Jr 314575b
Fix .gitignore comment: attribute .edgezero/ to upstream framework
prk-Jr bff1adc
Remove unused backend.rs — duplicate DEFAULT_FIRST_BYTE_TIMEOUT alrea…
prk-Jr b4851c4
Fix integration test failure
prk-Jr 189c57c
Update pr review findings
prk-Jr 6475490
Resolve PR review findings: Axum fallback method parity and stale cli…
prk-Jr b30581c
Merge branch 'main' into feature/edgezero-pr12-handler-layer-types
prk-Jr f9e46dd
Resolve PR review findings: Axum/Fastly parity and stale docs
prk-Jr a6e1073
Resolve PR review findings: Axum/Fastly parity and stale docs
prk-Jr 58b754a
Resolve PR 624 round-6 review findings
prk-Jr 62923fd
Merge branch 'main' into feature/edgezero-pr12-handler-layer-types
prk-Jr f551544
Resolve PR 626 round-1 review findings
prk-Jr 2b17d4c
Merge feature/edgezero-pr12-handler-layer-types into PR13
prk-Jr 1973b5d
Resolve PR 628 round-1 review findings
prk-Jr 8a83c5e
Merge feature/edgezero-pr13-integration-provider-type-migration into …
prk-Jr 72ddc42
Resolve PR 635 round-1 review findings
prk-Jr 5225c01
Merge feature/edgezero-pr14-entry-point-dual-path into PR15
prk-Jr 746993c
Resolve PR 643 round-2 review findings
prk-Jr 5f8397c
Merge feature/edgezero-pr15-remove-fastly-core into PR16
prk-Jr ed4e225
Fix missing compat::from_fastly_response conversion in edgezero_main
prk-Jr e6206a5
Fix dead code and spurious mut from PR15 merge in main.rs
prk-Jr 971a7f5
Bound publisher response body size and document interim buffering
prk-Jr a2af24a
Merge main into feature/edgezero-pr12-handler-layer-types
prk-Jr acf775a
Add edge_cookie module, test helpers, and integration handle signatures
prk-Jr 78302a2
Fix remaining code review findings from merge
prk-Jr c229146
Fix cargo fmt lint
prk-Jr 936e721
Resolve merge conflicts from feature/edgezero-pr12-handler-layer-types
prk-Jr b71da80
Resolve PR 626 round-2 review findings
prk-Jr 6c4b66c
Resolve merge conflicts between PR14 and PR13
prk-Jr ed065ba
Resolve PR14 round-1 review findings
prk-Jr 04ca534
Update integration-tests lock file to fix CI --locked failure
prk-Jr 63538f5
Update root workspace lock file to match integration-tests versions
prk-Jr f31ecbf
Resolve merge conflicts and make PR15 compile cleanly
prk-Jr 98dac49
Update integration-tests lock file for getrandom wasm dep and tokio d…
prk-Jr cfdaf82
Finish tokio removal from trusted-server-core
prk-Jr cedea8b
Fix stale fastly::Body doc reference in platform/mod.rs
prk-Jr 1c5882b
Merge feature/edgezero-pr15-remove-fastly-core into PR16 (round 2)
prk-Jr 87bbd25
Remove fastly dependency from core via EcKvStore platform trait
prk-Jr 8841e24
Fix adapter tests broken by strict placeholder-secret validation
prk-Jr 02b0605
Address round-4 review findings on Axum dev server PR
prk-Jr 4a2e113
Update integration-tests lock file after fastly removal from core
prk-Jr d541bbd
Install wasm32-wasip1 target in test-axum CI job
prk-Jr 79531d6
Merge remote-tracking branch 'origin/main' into feature/edgezero-pr12…
prk-Jr 4fbafd5
Resolve PR14 round-2 review findings
prk-Jr 726301d
Port EC identity lifecycle and EC API routes to the EdgeZero path
prk-Jr cc9a2e5
Align shared dependency versions in integration-tests lock file
prk-Jr f8df5b7
Merge feature/edgezero-pr14-entry-point-dual-path into PR15
prk-Jr 32d37db
Resolve PR15 re-review findings
prk-Jr 711dd6c
Document why trusted-server-core still depends on fastly
prk-Jr 47b746e
Merge feature/edgezero-pr15-remove-fastly-core into PR16
prk-Jr f7e8846
Resolve PR16 round-5 review findings
prk-Jr afecb5d
Strip internal fastly-ssl signal from publisher origin requests
prk-Jr 34e1609
Enforce max_buffered_body_bytes on the buffered publisher post-proces…
prk-Jr 6e191e9
Merge branch 'main' into feature/edgezero-pr12-handler-layer-types
aram356 cf39f2d
Migrate auction format tests to edgezero http types after merge
prk-Jr 609154e
Merge remote-tracking branch 'origin/feature/edgezero-pr12-handler-la…
prk-Jr 4d57b83
Give auction transport failures a consistent error envelope
prk-Jr 023cb2e
Merge remote-tracking branch 'origin/feature/edgezero-pr13-integratio…
prk-Jr c869faf
Bound the HTML post-processing accumulator by max_buffered_body_bytes
prk-Jr eeabc24
Correct max_buffered_body_bytes failure status in sample config
prk-Jr 50c9e2e
Merge remote-tracking branch 'origin/main' into feature/edgezero-pr14…
prk-Jr 75ad738
Merge remote-tracking branch 'origin/feature/edgezero-pr14-entry-poin…
prk-Jr 96f2bd6
Sync integration-tests lockfile after dropping core wasm js deps
prk-Jr 36a0ba7
Fix EdgeZero fallback asset-route and EC partner parity
prk-Jr a1e108f
Merge remote-tracking branch 'origin/main' into feature/edgezero-pr14…
prk-Jr 9785872
Capture EdgeZero device signals before request conversion
prk-Jr bb180ff
Preserve origin Content-Length for bodiless EdgeZero asset responses
prk-Jr b0a57ac
Align Publisher Default with the config buffer-cap default
prk-Jr 19a1070
Merge remote-tracking branch 'origin/feature/edgezero-pr14-entry-poin…
prk-Jr 4a4b4b9
Add trusted-server-adapter-cloudflare crate (PR 17) (#644)
prk-Jr 486e62d
Resolve PR16 round-6 review nitpicks
prk-Jr 12859d5
Merge feature/edgezero-pr15-remove-fastly-core into PR16
prk-Jr b391b86
Sync integration-tests lockfile after merging PR15
prk-Jr ba07d4b
Run integration request filters on the EdgeZero entry point
prk-Jr d44074f
Merge remote-tracking branch 'origin/feature/edgezero-pr14-entry-poin…
prk-Jr a50d293
Merge remote-tracking branch 'origin/feature/edgezero-pr15-remove-fas…
prk-Jr 254c849
Merge origin/main into feature/edgezero-pr16-axum-dev-server
prk-Jr 7f5c89c
Address Cloudflare adapter review findings
prk-Jr f7a7721
Pin worker-build to ^0.7 in the Cloudflare dev build
prk-Jr 9ac8205
Merge origin/main into feature/edgezero-pr16-axum-dev-server
prk-Jr 9c2e116
Fix integration workflow duplicate job
prk-Jr 2aa7330
Sync integration test lockfile
prk-Jr a8f3264
Merge branch 'main' into feature/edgezero-pr16-axum-dev-server
prk-Jr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,38 @@ | ||
| # No global [build] target — the workspace contains adapters for multiple targets: | ||
| # trusted-server-adapter-fastly → wasm32-wasip1 (Fastly Compute) | ||
| # trusted-server-adapter-axum → native (dev server) | ||
| # trusted-server-adapter-cloudflare → wasm32-unknown-unknown (Cloudflare Workers) | ||
| # | ||
| # All adapters are workspace members so `-p` resolves each. | ||
| # default-members = [fastly] — required so Viceroy can locate the binary via `cargo run --bin`. | ||
| # Use the aliases below to target each adapter with the correct toolchain. | ||
|
|
||
| [alias] | ||
| test_details = ["test", "--target", "aarch64-apple-darwin"] | ||
| # Fastly adapter + shared crates (wasm32-wasip1 via Viceroy) | ||
| # Excludes Axum (native-only) and Cloudflare (wasm32-unknown-unknown, separate job) | ||
| test-fastly = ["test", "--workspace", "--exclude", "trusted-server-adapter-axum", "--exclude", "trusted-server-adapter-cloudflare", "--target", "wasm32-wasip1"] | ||
| # Axum dev server adapter (native) | ||
| test-axum = ["test", "-p", "trusted-server-adapter-axum"] | ||
| # Cloudflare adapter (native host; WASM target checked separately in CI) | ||
| test-cloudflare = ["test", "-p", "trusted-server-adapter-cloudflare"] | ||
| # Cloudflare adapter WASM target check (wasm32-unknown-unknown requires --features cloudflare) | ||
| check-cloudflare = ["check", "-p", "trusted-server-adapter-cloudflare", "--target", "wasm32-unknown-unknown", "--features", "cloudflare"] | ||
|
|
||
| # Clippy — target-matched to avoid cross-target compile failures | ||
| clippy-fastly = ["clippy", "--workspace", "--exclude", "trusted-server-adapter-axum", "--exclude", "trusted-server-adapter-cloudflare", "--all-targets", "--all-features", "--target", "wasm32-wasip1", "--", "-D", "warnings"] | ||
| clippy-axum = ["clippy", "-p", "trusted-server-adapter-axum", "--all-targets", "--all-features", "--", "-D", "warnings"] | ||
| # No --all-features: the `cloudflare` feature has a compile_error! guard on | ||
| # non-wasm32 targets. WASM-feature coverage comes from `cargo check-cloudflare`. | ||
| clippy-cloudflare = ["clippy", "-p", "trusted-server-adapter-cloudflare", "--all-targets", "--", "-D", "warnings"] | ||
|
|
||
| # Build — target-matched, same split as test/clippy | ||
| build-fastly = ["build", "--workspace", "--exclude", "trusted-server-adapter-axum", "--exclude", "trusted-server-adapter-cloudflare", "--target", "wasm32-wasip1"] | ||
| build-axum = ["build", "-p", "trusted-server-adapter-axum"] | ||
| build-cloudflare = ["build", "-p", "trusted-server-adapter-cloudflare", "--target", "wasm32-unknown-unknown", "--features", "cloudflare"] | ||
|
|
||
| [build] | ||
| target = "wasm32-wasip1" | ||
| # Check — fast compile validation, same split | ||
| check-fastly = ["check", "--workspace", "--exclude", "trusted-server-adapter-axum", "--exclude", "trusted-server-adapter-cloudflare", "--target", "wasm32-wasip1"] | ||
| check-axum = ["check", "-p", "trusted-server-adapter-axum"] | ||
|
|
||
| [target.'cfg(all(target_arch = "wasm32"))'] | ||
| runner = "viceroy run -C ../../fastly.toml -- " |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,11 @@ | ||
| Run all CI checks locally, in order. Stop and report if any step fails. | ||
|
|
||
| 1. `cargo fmt --all -- --check` | ||
| 2. `cargo clippy --workspace --all-targets --all-features -- -D warnings` | ||
| 3. `cargo test --workspace` | ||
| 4. `cd crates/trusted-server-js/lib && npx vitest run` | ||
| 5. `cd crates/trusted-server-js/lib && npm run format` | ||
| 6. `cd docs && npm run format` | ||
| 2. `cargo clippy-fastly && cargo clippy-axum && cargo clippy-cloudflare` | ||
| 3. `cargo test-fastly && cargo test-axum && cargo test-cloudflare` | ||
| 4. `cargo check-cloudflare` (wasm32-unknown-unknown target check, mirrors CI) | ||
| 5. `cd crates/trusted-server-js/lib && npx vitest run` | ||
| 6. `cd crates/trusted-server-js/lib && npm run format` | ||
| 7. `cd docs && npm run format` | ||
|
|
||
| Report a summary of all results when done. |
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.