Skip to content

chore: sync 31 upstream commits from ZhuLinsen/daily_stock_analysis - #1

Merged
liyouzi80 merged 32 commits into
mainfrom
claude/pull-upstream-code-6RyOT
May 17, 2026
Merged

chore: sync 31 upstream commits from ZhuLinsen/daily_stock_analysis#1
liyouzi80 merged 32 commits into
mainfrom
claude/pull-upstream-code-6RyOT

Conversation

@liyouzi80

Copy link
Copy Markdown
Owner

改了什么

从上游 ZhuLinsen/daily_stock_analysis 拉取 31 个新提交,同步到 fork。

主要变更(上游提交摘要)

冲突解决

.github/workflows/daily_analysis.yml 存在一处冲突:通知渠道展示代码块。
采用上游版本,原因:

  1. 新增了 ntfyGotify 通知渠道的配置状态显示
  2. 修正了 echo 语句中的引号(单引号 → 双引号),使变量展开正确生效

验证情况

  • 冲突文件无残留冲突标记
  • git log 确认 31 个上游提交均已合入

未验证项

  • 新增数据源适配器(Finnhub/AlphaVantage)需要对应 API key 才能端到端验证
  • 告警 API / Worker 功能需要完整环境验证
  • 桌面端修复需要 Windows/macOS 环境验证

风险点

  • 本次为上游同步 merge,改动面较广;建议合入前确认 CI 通过
  • 若 fork 本地有自定义逻辑与上游冲突,需人工复核

回滚方式

git revert -m 1 <merge_commit_sha> 或直接 reset main 到合并前的 commit。


Generated by Claude Code

ZhuLinsen and others added 30 commits May 10, 2026 21:46
…ongbridge reconnects (ZhuLinsen#1249)

* fix(data-provider): skip unavailable optional fetchers and back off longbridge reconnects

* fix(data-provider): back off unavailable longbridge routes

* fix(data-provider): back off noisy pytdx name lookups

* docs: align PR 1249 changelog and compatibility notes

* fix(config): preserve legacy schedule override precedence
* feat: add notification noise controls

* docs: clarify notification timezone fallback

* fix: address notification noise review feedback
* fix(issue-1266): [bug]-新版本大盘复盘后,下面的界面滑不上去了

* fix(review-feedback-1270): address latest review comments
* feat: add ntfy notification channel

* test: add ntfy smoke evidence images

* fix: validate ntfy endpoint in structured config

* fix: align ntfy endpoint validation
* fix(issue-1287): [bug]-windows-免安装桌面端进入通知/agent-设置可能黑屏
* feat: add market review data sources
* fix analyzer content block responses
Co-authored-by: mumu <42829555+ZhuLinsen@users.noreply.github.com>
* fix(issue-1306): 大盘分析的历史执行记录丢失

* fix(review-feedback-1307): also special-case the history detail/client path to surface the saved

* fix(review-feedback-1307): 补齐大盘复盘历史记录的 Web/API 契约闭环与对应文档落点

* fix(review-feedback-1307): Disable stock rerun for market-review history rows

* fix(review-feedback-1307): Disable follow-up for market-review history rows

* fix(review-feedback-1307): 避免大盘复盘历史被整体回测当作普通股票分析记录处理

* fix(review-feedback-1307): 澄清结构化检测提示中的外部模型/API 与运行时配置迁移风险是否为误报,或补齐对应兼容性证据

* fix(review-feedback-1307): 修复普通个股历史不回归问题
* feat: add alert API MVP

* fix: validate nullable alert updates

---------

Co-authored-by: mumu <42829555+ZhuLinsen@users.noreply.github.com>
* fix: add llm generation parameter adaptation

* fix(review-feedback-1317): 补充官方来源链接或明确写成基于当前兼容测试的保守策略,并说明验证环境

* fix(review-feedback-1317): 补充官方文档/公告链接、当前依赖/运行时验证依据,以及 provider override 的预期扩展方式

* feat: 增强 LLM 参数错误自愈 (ZhuLinsen#1318)

* fix: add llm generation parameter adaptation

* fix: add llm parameter error recovery

* fix(review-feedback-1318): Scope recovery cache to the endpoint and making recovery caching

* fix(review-feedback-1318): Avoid forcing 1.0 for all default-only temperature errors

* fix(review-feedback-1318): 基于目标分支解决冲突,并确保解决后 diff 仍只包含本 PR 声称的 LLM 参数自愈增量

* fix(review-feedback-1318): Scope legacy Router recoveries to their endpoint

* fix(review-feedback-1318): 解决冲突并基于解决后的最终 diff 重新确认测试结果

* fix(review-feedback-1318): 基于目标 base 解决冲突,再重新确认 diff 与 CI

* fix(review-feedback-1318): 解决冲突后重新确认 diff 与 CI

* fix(review-feedback-1318): 补充覆盖 Analyzer legacy multi-key Router 的回归测试
* feat: add alert evaluation worker

* fix: retry failed alert notifications
…insen#1313)

* feat: add Finnhub and AlphaVantage API key config fields

* feat: add FinnhubFetcher for US market OHLCV and realtime quotes

* feat: add AlphaVantageFetcher for US market OHLCV and realtime quotes

* feat: register FinnhubFetcher and AlphaVantageFetcher in DataFetcherManager

* fix: address PR review feedback on US fetcher routing and AlphaVantage pct_chg

- Fix AlphaVantage pct_chg calculation: sort by date ascending before
  computing percentage change to handle newest-first API response
- Extend US daily routing source_order to include FinnhubFetcher and
  AlphaVantageFetcher in the failover chain
- Add newest-first pct_chg regression test for AlphaVantage
- Add US routing fallback order test
- Update CHANGELOG.md with new feature and fix entries
- Add docs/specs/ to .gitignore to prevent accidental commits

Verified: 1956 tests passed, ci_gate.sh clean

* fix: address third round PR review - routing gaps, index isolation, CHANGELOG cleanup

- Isolate US index routing: YFinance-first, skip Finnhub/AlphaVantage for index codes
- Add Finnhub/AlphaVantage to US realtime_quote and get_stock_name routing
- Clean CHANGELOG.md: only our 3 Finnhub/AlphaVantage entries in [Unreleased]
Activer007 and others added 2 commits May 17, 2026 21:34
…re config (ZhuLinsen#1328)

* feat: expand settings help coverage

Add structured help metadata and bilingual in-app help copy for the PR2 configuration coverage slice, including LLM runtime fields, channel editor fields, data sources, notifications, WebUI, auth, schedule, trading-day, and proxy settings.

Clarify restart semantics for startup-only and bind-time settings. WEBUI_HOST and WEBUI_PORT now warn that the running process must be restarted before host or port changes rebind, while RUN_IMMEDIATELY, SCHEDULE_ENABLED, and SCHEDULE_RUN_IMMEDIATELY are marked as startup behavior.

Treat SCHEDULE_TIME separately from startup-only schedule switches: an already-running schedule mode can reload the time and rebuild the daily job, but saving the value will not create a scheduler in a non-schedule process.

Document settings-help maintenance boundaries and add regression coverage for help metadata, restart warning codes, API warnings, service warnings, and the LLM channel editor help affordance.

* feat: enhance settings help documentation and improve test coverage

---------

Co-authored-by: mumu <42829555+ZhuLinsen@users.noreply.github.com>
Pulls 31 upstream commits including:
- feat: Finnhub & AlphaVantage US market data adapters (ZhuLinsen#1313)
- feat: P2 alert evaluation worker (ZhuLinsen#1323)
- feat: alert API MVP (ZhuLinsen#1314)
- feat: settings help coverage for core config (ZhuLinsen#1328)
- fix: LLM parameter adapter layer (ZhuLinsen#1317)
- fix: desktop WebUI stale cache (ZhuLinsen#1321)
- chore: release v3.17.0
- misc fixes and docs updates

Conflict resolved in .github/workflows/daily_analysis.yml:
adopted upstream version which adds ntfy/Gotify notification channels
and fixes variable expansion in echo statements (single→double quotes).

https://claude.ai/code/session_01Vc9uHfG7c5YvCL7HFcYZra
@liyouzi80
liyouzi80 merged commit 9067ae6 into main May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants