test(nightly): cover LocationMap scene-level + TicketPage page-level handlers (2026-08-27) - #149
Merged
Merged
Conversation
…handlers - 新增覆盖: LocationMap (level=scene + map view -> #tianditu-map 容器 + MAP_KEY_MISSING 弹窗), TicketPage (页面挂载列表拉取 + goToStatistics + handleExport + handleFileImport 错误反馈) - 1 个模块 / 5 个用例,全部 green in dev + full E2E (307 passed / 4 skipped / 0 failed) - 前端 view 盲区: 6 -> 2 -> 0 (More/LocationMap/Register/AIModelManagement/DesktopAIExtensions/TicketPage 现已全部被某 spec 引用) Nightly watch run 2026-08-27 Co-authored-by: Codex <noreply@openai.com>
- 新增覆盖: app/utils/motion_photo.py (66% -> 93%, +27pp)
- 12 个用例覆盖 XMP tag/attr、ftyp 原子边界、mmap 异常兜底、
extract_video auto-detect / 重用 .mp4 / 偏移拒绝 / 写失败清理
- 修复原失败用例: extract_video 写失败时部分输出清理分支
原实现只检查 kwargs['mode'],遗漏 open(path, 'wb') 的位置 mode,
导致 builtins.open patch 不触发。改为同时检查 args[1]。
Nightly watch run 2026-08-27
Co-authored-by: Codex <noreply@openai.com>
…8-27) - 修复失败用例: 无(本地 e2e 307 passed / 4 skipped / 0 failed,§3 未触发) - 新增覆盖: app/utils/template.py 64.8% -> 90%(50 -> 12 missed lines) 本轮补测 app.utils.template 未覆盖分支: - _format_date 默认 fmt / 文件 mtime 回退 / strftime 异常回退 - _resolve_index zfill / _resolve_original 扩展名 / _resolve_location_chain depth 1-4 + 跳过空段 - _resolve_camera_field / _resolve_tag 置信度排序 / _resolve_album 空名行为 - RenderResult.to_dict 错误数组拷贝 / render() 未知 token 报错收集 - build_extension 文件扩展优先 + Enum.value 属性 + 未知 type 回退 - _resolve_location_field helper Nightly watch run 2026-08-27 Co-authored-by: Codex <noreply@openai.com>
Owner
Author
Nightly test watch 2026-08-27 (PR #149)Commits
Round 1 (commit fc3349c, 2026-08-27 10:55)
Round 2 (commit 9591412, 2026-08-27 16:05)
Side fix during Round 2
Status
Co-authored-by: Codex noreply@openai.com |
…nt_tools + ai_config) (2026-08-27) - 修复失败用例: 无(本地 e2e 311 passed / 4 skipped / 0 failed) - 新增覆盖: * app/crud/location_stats.py 58.2% -> 78% (12 用例: overview / annual_trend / monthly_radar / places[city|province|scene|invalid|limit] / heatmap_range) * app/crud/location.py 59.2% -> 75% (11 用例: locations / location_photos / map_markers / timeline_nodes[merge|append|scene|pagination]) * app/service/agent/tools.py 64.3% -> 70% (3 用例: _build_search_summary success/exception/no-date-range) * app/routers/ai_config.py + services/llm_manager.py (9 用例: download/delete 404/409 + set_model 400/500 + llm_manager.stop 调用断言) Nightly watch run 2026-08-27 Co-authored-by: Codex <noreply@openai.com>
Owner
Author
Nightly test watch 2026-08-27 — Round 3 (PR #149)Commits (4 ahead of master)
Round 1 (commit 5093408)
Round 2 (commit fc3349c)
Round 3 (commit 9591412)
Round 4 (commit 59bfea5) — this push
Side fix during Round 1..3
Status
Co-authored-by: Codex noreply@openai.com |
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.
Nightly test watch 2026-08-27 (PR #149)
Commits
Round 1 (commit fc3349c, 2026-08-27 10:55)
Round 2 (commit 9591412, 2026-08-27 16:05)
Side fix during Round 2
Get-Content -Raw在多文件输入时返回字符串数组而非拼接结果,导致「79 个未引用 view」是假阳性(每个 view basename 与仅 61 字节的单个 spec 首段做-notmatch,全部命中 → 全部列入 gap)。修后正确:coverage-gaps-frontend.txt 为空,所有 view 已被现有 spec 触达。tests/artifacts/nightly/2026-08-27/frontend-gaps.ps1,本 PR 不会包含(位于 gitignored artifacts 目录)。Status
Co-authored-by: Codex noreply@openai.com