docs(plans): 留痕 K68 编译期接口地址
This commit is contained in:
1 parent
fdc7314087
commit
bce8d37d88
2 files changed
+76
-40
No files matched your search
@@ -22422,3 +22422,33 @@ Running Gradle task 'assembleDebug'...
|
||||
```
|
||||
|
||||
解读:静态检查零告警,478 条测试全部通过,debug APK 构建成功。真机验收由用户执行。
|
||||
|
||||
## 2026-10-20 ReelShort:K68-A 指定 API_BASE_URL 时跳过地址探测
|
||||
|
||||
- 前置状态:K67-A 已完成并合并,develop 合并提交 `2c5ff35`。
|
||||
- 分支:`fix/lock-compiled-base-url`
|
||||
- 功能提交:`9ebb54e fix(config): 指定 API_BASE_URL 时跳过地址探测`
|
||||
- develop 合并提交:`51c3635 merge: 合并 K68-A 锁定编译期接口地址`,已推送。
|
||||
- `probeAndApplyBaseUrl()` 新增仅测试注入用的 `compiledOverride`;编译期地址非空时立即返回,不再发起任何候选探测。
|
||||
- 编译期地址仅在运行时地址为空时应用;用户运行时地址仍保持最高优先级,不会被 `API_BASE_URL` 覆盖。
|
||||
- 未指定编译期地址时,环回、开发机、公网的候选顺序、并行探测、超时与 fallback 行为均保持不变。
|
||||
|
||||
测试:新增编译期地址零探测、运行时地址不被覆盖、空编译期地址继续原探测流程三条用例;测试结束复位运行时地址。
|
||||
|
||||
门禁原始输出:
|
||||
|
||||
```text
|
||||
$ dart analyze lib test
|
||||
Analyzing lib, test...
|
||||
No issues found!
|
||||
|
||||
$ flutter test
|
||||
00:51 +481: All tests passed!
|
||||
|
||||
$ flutter build apk --debug
|
||||
Running Gradle task 'assembleDebug'...
|
||||
8.4s
|
||||
✓ Built build/app/outputs/flutter-apk/app-debug.apk
|
||||
```
|
||||
|
||||
解读:静态检查零告警,481 条测试全部通过,debug APK 构建成功。正式包由 Trae 按任务书命令重打并验收。
|
||||
Reference in new issue
Block a user