Skip to content

Feature wasm#43

Merged
yiye-github merged 20 commits into
master-aifrom
feature-wasm
May 27, 2026
Merged

Feature wasm#43
yiye-github merged 20 commits into
master-aifrom
feature-wasm

Conversation

@yiye-github

Copy link
Copy Markdown
Collaborator

No description provided.

jianxin5335 and others added 20 commits May 14, 2026 14:44
- 工作区加入 plugin-wasm crate 与 spacegate-plugin-wasm 依赖
- shell 增加 plugin-wasm feature,启动时注册 wasm 插件避免循环依赖
- 二进制增加 wasm feature 开关
- 补充 hai-wasm-demo 与 wasm 示例资源

Co-authored-by: Cursor <cursoragent@cursor.com>
- 补全所有缺失 host fn:shared_data/queue/metrics/properties/buffer/status/
  grpc(Unimplemented)/foreign_function(NotFound)/log_level/header_map_size 等
- 新增 shared.rs:进程级 SharedData(CAS)、SharedQueue、MetricRegistry
- 扩展 abi.rs 枚举到完整 spec 值集
- 重构 shell.rs:长生命 Vm + Arc<Mutex<Vm>> 复用,取代每请求新建
- 实现 proxy_on_tick:后台 50ms 颗粒度 tokio 任务驱动
- Vm::new 改为同步;process() 起始加跨请求清理
- 新增 3 个 proxy-wasm-rust-sdk guest 插件用于验证:
  spec_test_guest(20 scenario)、sdk_examples_guest(4 mode)、on_tick_guest
- 新增 4 个集成测试文件:
  spec_compliance / sdk_examples / http_call(mock server) / on_tick
- 全部 13 test passed,clippy + workspace check 干净

Co-authored-by: Cursor <cursoragent@cursor.com>
Expose schema/readme and tenant queue quota admin APIs so the queue gateway can be configured from the frontend while keeping existing runtime behavior compatible.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add tenant quota TTL expiry, aligned callback/status payloads, richer metrics, object-store body offload tests, Wasm VM pause handling, and demo gateway resources for SpaceGate smoke runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
补齐集成测试与测试规格、K8s manifest/部署脚本及 README,并完善 ai-gateway-service 与 Wasm 插件配置能力,便于本地与集群环境验证队列限流。

Co-authored-by: Cursor <cursoragent@cursor.com>
插件保存改为单文件写入,避免 Docker 共享挂载下清空配置树导致 Read-only/EBUSY;并补充管理界面配置指南与 admin-server 镜像构建说明。

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire run-gateway-e2e.sh to the gateway large-body test and bump
admin-server Docker build to Rust 1.88.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add admin UI manifests and infra-only kustomize overlay, wire SgFilter to
Harbor OCI wasm URL, extend build-images/verify scripts, and document OCI
artifact publishing in ai-gateway-queue README.

Co-authored-by: Cursor <cursoragent@cursor.com>
@yiye-github yiye-github merged commit 7f46044 into master-ai May 27, 2026
19 of 22 checks passed
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.

2 participants