Skip to content

Fix GitHub Actions cache key issues for token reuse#190

Merged
wes-lin merged 2 commits intomainfrom
develop
Mar 18, 2026
Merged

Fix GitHub Actions cache key issues for token reuse#190
wes-lin merged 2 commits intomainfrom
develop

Conversation

@wes-lin
Copy link
Owner

@wes-lin wes-lin commented Mar 18, 2026

No description provided.

wes-lin and others added 2 commits March 17, 2026 22:41
- 统一 Restore 和 Save 使用相同的固定 key `cloud189-token`
- Save 步骤添加 `if: always()` 确保即使运行失败也保存 token

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Restore 改用 hash key + 前缀兜底,精确命中已有缓存
- 运行结束后实时计算 token hash,确保 Save 使用最新 hash
- token 未变时 Save 自动跳过,有更新时保存新缓存

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@wes-lin wes-lin merged commit e4d423d into main Mar 18, 2026
4 of 5 checks passed
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