Repository navigation
feat: 支持导入 surveycore-py v1 配置(第一批) - #11
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
此前,surveycore-py 的
serialize_config()输出无法直接用于 Go 任务接口。本 PR 让POST /api/v1/tasks、config.Load()和config.DeserializeRunRequest()接受schema_version: 1,并转换到现有 Go 运行结构。本批内容
X-Answer-Session,修复 HTTP 客户端未携带会话 Cookie 时题目接口返回InvalidArgument的问题,并补充模拟服务回归测试。Verify (ubuntu-latest)与Live Parser Regression检查;现场检查仅解析问卷。411ef6d实际序列化生成的样例,以及配置导入、文件往返、任务入口和模拟提交测试;同步 OpenAPI 与 SDK 文档。验证
go test ./...、go vet ./...、go build ./...go test -race ./pkg/restapi ./pkg/surveycore/runtime ./pkg/surveycore/configtests/consumer外部 SDK 测试git diff --check后续范围
这是 #10 的第一批。当前任务继续使用 Go 的重试、提交间隔和汇总结果规则;单次提交入口、逐次结果与完整运行语义后续分批对齐。
关联 #10。