实现本地三节点 K3s 同构环境、脱敏生产快照、Gemini 图片和多参考图视频协议模拟、统一验收报告及故障注入。\n\n新增 Worker 容量控制器、资源与连接预算、任务恢复保护,并将生产验收拆分为 validation 执行和人工 CAS 放量。\n\n验证包括 Go 全量测试、PostgreSQL HTTP 集成测试、go vet、OpenAPI、ShellCheck、前端检查、迁移及发布脚本测试。
36 lines
1.3 KiB
JSON
36 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://easyai.local/schemas/acceptance-snapshot-v1.schema.json",
|
|
"title": "EasyAI acceptance-snapshot/v1",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["schemaVersion", "source", "candidates", "snapshotSha256", "secretSafe"],
|
|
"properties": {
|
|
"schemaVersion": {"const": "acceptance-snapshot/v1"},
|
|
"source": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["releaseSha", "configHash", "createdAt"],
|
|
"properties": {
|
|
"releaseSha": {"type": "string", "pattern": "^[0-9a-f]{40}$"},
|
|
"configHash": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
"createdAt": {"type": "string", "format": "date-time"}
|
|
}
|
|
},
|
|
"candidates": {
|
|
"type": "array",
|
|
"minItems": 2,
|
|
"maxItems": 2,
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["workload", "provider", "baseModel", "platform", "platformModel", "runtimePolicy", "pricingRules", "metadata"],
|
|
"properties": {
|
|
"workload": {"enum": ["gemini_image_edit", "multi_reference_video"]}
|
|
}
|
|
}
|
|
},
|
|
"snapshotSha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
"secretSafe": {"const": true}
|
|
}
|
|
}
|