fix: preserve native share user activation (#2151)

This commit is contained in:
zhulinsen
2026-08-02 21:16:54 +08:00
committed by GitHub
parent 3c849dec19
commit b61ebf9fc5
8 changed files with 50 additions and 15 deletions

View File

@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
## [Unreleased]
- [修复] Web 分享图在按需生成完成后通过第二次用户点击同步打开系统分享,避免首次异步生成使原生分享退化为下载
- [修复] 移除基础设置选股卡片中仍跳转到“数据源”的过期“查看配置项”按钮
- [修复] Web 分享图改为用户点击“分享”后才按需生成,不再在报告加载时自动请求
- [修复] 将 `SCREENING_ENABLED` 及 Web 选股功能开关归入“基础设置”,选股导航入口继续由该开关控制
- [修复] `scripts/ci_gate.sh``offline_test_suite``pytest -m "not network"``--timeout=120 -o timeout_method=thread``-o faulthandler_timeout=300`:单个测试(含其 teardown超过 2 分钟直接 fail单个测试含其 teardown超过 5 分钟时 dump 全部线程栈到 stderr。配合 `.github/requirements-ci.txt` 新增 `pytest-timeout>=2.3.0` 依赖。issue #2131 报告过 backend-gate 在 AlphaSift hotspot 用例附近间歇性无 traceback 卡住直到被 GitHub Actions 取消,此次修复让任何未来 CI hang 都会留下可定位的失败信息或 post-mortem 栈,而不是静默消亡。同步修正 `.github/workflows/docker-publish.yml``Install backend gate dependencies``setup-python cache-dependency-path` 对齐 `ci.yml` 的 backend-gate 依赖安装方式,避免发布流程跑同一个 `./scripts/ci_gate.sh` 时因缺少 `pytest-timeout` 而直接 fail。