Repository navigation
MonkeyAI:支持资源包分卷导入与断点续传 - #1420
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.
资源包原先需要在预览和确认时分别上传完整 ZIP,无法直接导入按字节拆分的分卷。逐卷导入又会把其他卷的资源视为缺失项并尝试停用。本次增加持久化上传会话,全部分卷收齐并检查后统一预览、一次事务导入,确认时复用已上传内容。
支持普通 ZIP、按字节拆分的
.zip.001/.002…和解压目录,整包上限保持 2 GiB;暂不支持原生.z01 + .zip或 7z。部署需应用新增迁移000027_resource_import_uploads,本 PR 未部署,也未修改已有 Expert 引用。验证已通过:
go test -p 2 ./...(启用 PostgreSQL/S3 集成)、go vet ./...、make sqlc-check。pnpm build、pnpm test(225 项)、修改源文件 ESLint。git diff --check。全量回归同时将计费集成测试中的旧
/statistics/tasks地址更新为现有/statistics/tasks/overview,未改变统计业务行为。