feat(data): 统一多市场财经新闻与披露 - #152
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Review base: 787a855 🤖 GLM-5.2 PR Review |
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Deploying inalpha-web with
|
| Latest commit: |
5186af8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1be582d6.inalpha-web.pages.dev |
| Branch Preview URL: | https://feat-global-market-news.inalpha-web.pages.dev |
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.
Summary
/news契约与 provider router,覆盖东财、Yahoo 单标的及市场代理、SEC、HKEX、Crypto RSS/Atom;按 market / venue / symbol / kind / language 声明真实能力。snapshot_only历史覆盖;无来源覆盖时显式返回NEWS_SCOPE_NOT_SUPPORTED,请求级 4xx 不再伪装为空结果。as_of/since过滤;实时查询以抓取时点排除未来新闻;HKEX 按香港自然日查询并保留双语部分成功;SEC 正确解析BRK.B等份额类别。<untrusted_evidence>JSON 引用,清理控制字符并转义标签;原始 provider 错误不进入 prompt;覆盖不足或来源失败时以代码限制置信度。历史 sentiment 过滤未来 FNG,并禁用无可靠发布时间的 Web 证据。data.get_news,统一各市场data.get_market_news到/news;Dashboard 区分空结果、部分失败、完整失败和快照覆盖,并本地化 provider 状态。created_at DESC, id DESC展示最新记录;组合总览最近订单稳定倒序、显示完整日期时间,并支持鼠标/键盘跳转对应模拟盘详情。strategy_run_decisions(order_id)部分索引,使用CREATE INDEX CONCURRENTLY/DROP INDEX CONCURRENTLY避免阻塞持续写入。Behavior and contracts
ok、no_results、timeout、rate_limited、upstream_error、unsupported。coverage_complete=false时,标题缺失不能解释为历史上没有事件。Test plan
scripts/check-consistency.sh:10 passed / 218 warnings / 0 failuresgit diff --checkReview notes
发布前审查额外修复了:
kinds的 TS / FastAPI 逗号分隔契约。Codex 未安装,未运行跨模型 Codex review。
🤖 Generated with Claude Code