glm-5.3-flash
|
ea5ac83b57
|
feat(gateway): the 5 core gateway routes wired into the router
- src/gateway/routes.rs: /search /schema /call /batch /subscribe
- SSE projection: data frames per event, error event terminates,
internal/unknown ops -> NOT_FOUND, query-op -> INVALID_OPERATION_TYPE
- /search + /schema ACL-filtered via services/list + services/schema
discovery handlers; /batch ordered per-item envelope JSON
- gateway_router() merged into HttpAdapter's router under the shared
bearer-auth route layer; decoy remains the fallback
- adapted to alkcall 0.1.1: OperationType::Sub, envelope error by value
Verified: cargo test (71 lib tests), clippy -D warnings, fmt.
|
2026-08-28 08:31:43 +00:00 |
|
glm-5.3-flash
|
d070e548ad
|
feat: server foundation (phase 1 core) — state, auth, healthz/decoy, gateway dispatch, HttpAdapter
Tasks completed: server-core-types, server-auth, server-healthz-decoy,
gateway-dispatch, server-adapter (5 of 17).
- src/server/state.rs: DecoyConfig + RouterState (alkcall type paths,
6-endpoint reserved-path docs)
- src/server/auth.rs: bearer middleware + ResolvedIdentity extractor
(10 tests: missing/malformed/basic/failed-resolution matrix)
- src/server/healthz.rs + decoy.rs: raw healthz; nginx-style 404,
static site (path-traversal guarded), redirect decoys
- src/gateway/dispatch.rs: GatewayDispatch invoke/invoke_streaming
(internal:false, forwarded_for:None, bounded deadline) +
src/gateway/error.rs: CallError→HTTP status mapping (HTTP_<status>
passthrough, retryable→Retry-After)
- src/server/adapter.rs: HttpAdapter ProtocolHandler — accept_bi →
BiStream → TokioIo → hyper auto builder (h2 CONNECT enabled);
integration tests over DuplexStream (request/response cycle, healthz,
decoy 404)
Verified: cargo test (46 lib tests), clippy -D warnings, fmt,
test --all-features.
|
2026-08-28 07:35:02 +00:00 |
|