Skip to content

fix(snapshot): separate read-only data refresh from trading activation - #607

Merged
Pigbibi merged 1 commit into
mainfrom
codex/website-independent-account-snapshot-20261024
Oct 24, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
codex/website-independent-account-snapshot-20261024

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

现有账户只读同步仍依赖交易probe,返回200却可能没有新快照,最终等待超时;独立GET观察器又只接受HK手动调用,并把最新部署模板当作现役版本。补丁让现有PAPER/HK/SG使用同一只读观察器,允许原定时或手动入口,核对实际100%流量revision的快照开关。目标、账户范围、来源绑定、原生金额、时间和接收ACK校验保留。

增加默认关闭的snapshot_only手动选项,用于首户有限验证,跳过heartbeat通知、运行投影及摘要候选。此PR不改Cloud Run服务、交易启停、IAM或主业务定时计划;各目标采用仍串行核验。

验证:两处现役失败条件已先复现;267项相关测试、ruff、actionlint、diff检查通过,覆盖三目标×手动/原schedule×交易启停、失败新模板与健康serving分离,以及精确revision读取失败时不重试。没有真实账户、金额或凭据进入源码/测试。

@Pigbibi
Pigbibi merged commit 4f49d00 into main Oct 24, 2026
1 check passed
@Pigbibi
Pigbibi deleted the codex/website-independent-account-snapshot-20261024 branch October 24, 2026 07:40
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.

1 participant