docs+test(app): correct okhttp version comments; harden throttle test assertions

- UploadPutExecutor.kt / build.gradle.kts:OkHttp 版本注释改为实情——声明 4.12.0,Gradle 冲突仲裁实际解析 5.2.1(fluwx 传递依赖胜出)
- UploadPutExecutorTest.kt:节流测试补 isNotEmpty 守护与 size>=2 断言(堵住过度节流只报终值的盲区)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-28 14:22:24 +08:00
parent 45dbde3719
commit aea797c7c7
3 changed files with 8 additions and 2 deletions
@@ -40,7 +40,9 @@ sealed class PutOutcome {
* 发送,二者不重复注入);
* - 进度:写 body 驱动 [onProgress](已发字节/总字节,IO 线程回调;
* 256KB 步长节流,末块必报 sent==total);
* - OkHttp 独立实例(4.12,与 Flutter 引擎无耦合;连接失败内置静默重试)。
* - OkHttp 独立实例(声明 4.12.0,Gradle 冲突仲裁实际解析 5.2.1——
* fluwx 传递依赖胜出;独立实例、与 Flutter 引擎无耦合的性质不变,
* 连接失败内置静默重试)。
*/
object UploadPutExecutor {