Repository navigation
fix: 修复 Yahoo 行情来源、失败状态与昨收基准 - #355
Merged
Merged
Conversation
helsome
marked this pull request as ready for review
October 19, 2026 03:26
5 of 7 tasks
xiaodu55
added a commit
to xiaodu55/folio
that referenced
this pull request
Oct 19, 2026
…nance - rebase 到含 Yahoo Finance provider(helsome#353/helsome#355)的 main - Quote 同时携带 source(轻量展示戳)与 provenance(完整路由溯源, 含 failoverTrail/时间/过期),两者共存互不覆盖 - Compare 表头与 Watchlist 表头采纳主干实现(sources/delayed 汇总), 删除本 PR 的表头汇总逻辑与 mixedSources 文案 - 保留本 PR 独有价值:ComparisonCell 逐指标 provenance、 单元格点击来源明细行与悬停提示、Watchlist 行级来源 tooltip、 MarketDataService 经 getQuoteResult 附加完整 provenance - shared 测试新增表级 sources 与逐单元格 provenance 共存断言
helsome
added a commit
that referenced
this pull request
Oct 20, 2026
3 of 5 tasks
6 tasks done
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.
改动说明
修复 #353 合入后独立审查确认的数据完整性问题:Yahoo 返回的 K 线/公司资料在金融证据中被写成 Longbridge;部分行情失败时 Watchlist 静默替换示例价格;内核测试 mock 缺少新增 Yahoo 类;多日 chart 基准可能被误作当日昨收。
完整复现→修复→验证报告
关联 Issue
Related to #353 的免费行情接线和来源披露。此 PR 不关闭任何母 issue。
测试报告(正式审核前必填)
环境
实际执行命令与结果
回归包括:盘中/盘后/周末/周一盘前与盘中、UTC与交易所跨日、[100,105,null] 当日108、连续同价、重复会话、null/缺失前收、缺整日/时区/时间/价格、Close与Adj Close、拆股口径;三条 adapter→router→capability→evidence 路径。
已知失败 / Baseline
基线 main
038f20cf集成为1963 pass / 7 skip / 1 fail / 1 error,kernelHost mock 缺 export;旧 main ec0b8d2 同文件17 pass。本 PR 已修复,不作为基线忽略。本轮真实 AAPL quote/daily candles 仍失败:DNS
getaddrinfo ETIMEOUT query1.finance.yahoo.com;之前 main 审查为403Domain forbidden。未修改代理、未绕过限制,不将 fixture 当 live 验收。原 E2E runner 硬编码 macOS Electron.app 路径,Linux 上不可用;独立 actual Linux Electron smoke 不代替原套件、real-model 或 macOS 发布包验收。容器 smoke 使用临时 --no-sandbox 启动参数,未改应用 webPreferences。
首轮新增测试的 i18n namespace 和泛型声明错误均已修正并重跑,最终无未解释新增失败。
已提供实际测试命令与 pass/fail 结果
已说明测试环境
已说明 baseline / 环境失败及对照
核心改动有 focused / integration / actual UI smoke
UI 截图
以下均为合成 transport + 真实 Watchlist 组件,不是 Yahoo live 成功证据。
Before
After
Scope / 后续
本 PR 为 Draft,等待精确 HEAD 独立审查。当前没有权威美股休市日历,无法区分休市和整日缺数时保守返回不可用;不能宣称全部交易日均有行情。拆股附近无法核实价格口径同样保守拒绝,不二次除权。真实 Yahoo 网络验收仍待可访问环境完成。standalone live eval 的 Longbridge preflight、#350 发布分支、发布流程均不在本次修改范围,不合并或发版。