Skip to content

fix: 优化 GitHub 加速源连通性测试 - #13

Merged
MimoKit merged 1 commit into
MimoKit:masterfrom
spaxie:fix/github-proxy-batch-test
Jul 30, 2026
Merged

fix: 优化 GitHub 加速源连通性测试#13
MimoKit merged 1 commit into
MimoKit:masterfrom
spaxie:fix/github-proxy-batch-test

Conversation

@spaxie

@spaxie spaxie commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

变更说明

  • 将 GitHub 加速源连通性测试由单源测试改为批量测试直连、全部预设源和有效的自定义源
  • 使用并发数为 2 的测试队列,并在按钮上实时展示测试进度
  • 在每个加速源条幅右上角直接显示延迟、等待中、测试中、超时或失败状态
  • 保留右上角 Toast,在整批测试结束后展示可用、超时和失败数量汇总
  • 自定义源为空时跳过测试,重复地址自动去重,地址变化后清理旧结果
  • 为测速接口增加 successtimeoutfailed 状态,同时保留原有返回字段以维持兼容

验证

  • node --check src/nonebot_plugin_mimo_console/static/assets/app.js
  • uv run ruff check .
  • uv run pytest:143 passed
  • git diff --check

@MimoKit
MimoKit merged commit 40eff63 into MimoKit:master Jul 30, 2026
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