Skip to content

feat: add gateway protocol tests and criterion benchmarks#4

Merged
jbold merged 1 commit into
mainfrom
feat/gateway-protocol-tests-benches
Feb 8, 2026
Merged

feat: add gateway protocol tests and criterion benchmarks#4
jbold merged 1 commit into
mainfrom
feat/gateway-protocol-tests-benches

Conversation

@jbold
Copy link
Copy Markdown
Owner

@jbold jbold commented Feb 8, 2026

Summary

  • add protocol-level tests for chat.send validation and stream wiring
  • add gateway integration tests covering auth required, auth rejected, and loopback no-auth flows
  • add Criterion benchmark scaffolding for router resolution and sandbox cold-start calls
  • switch benchmark setup to real criterion crate and register bench targets in Cargo
  • sync protocol/docs/task checklist updates to reflect implemented behavior

Validation

  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test -q
  • cargo bench --no-run
  • cargo test --test gateway_test -- --nocapture
  • cargo bench --bench router_bench -- --noplot --quick
  • cargo bench --bench sandbox_bench -- --noplot --quick

Notes

  • left examples/echo-plugin/Cargo.lock untracked (not part of this PR)

@jbold jbold merged commit f7af6c3 into main Feb 8, 2026
1 check passed
@jbold jbold deleted the feat/gateway-protocol-tests-benches branch February 8, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant