chore: Snowflake Cortex caching follow-ups (walk-back continuation, image-block probe, cross-process cooldown)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- typescript
调研方向
先从 #1020 共识审查和 v0.9.2 发布审查开始,然后检查当前的 attachMarker 和 cacheDisabledUntil 路径。检查 src/plugin/snowflake-cortex.ts 和 packages/core 中的 cortexFetch PluginV2 移植,并运行或添加提到的 image-block 单元测试。完成的标准是:每个延期的后续事项都有已确定的范围,在需要时进行了实时验证,并且有相应的覆盖,或明确延期。
由索引模型根据 Issue 内容生成。
描述
Consolidated follow-ups from the #1020 consensus code review and the v0.9.2 release review. Deferred because: each needs design or live verification beyond a quick fix.
- attachMarker walk-back: when the target block already has a marker, continue scanning earlier blocks/messages for an unmarked spot to preserve a second trailing breakpoint (MiMo/GLM-5.1 finding; rare in the shipped pipeline).
- Live-probe whether Cortex honors cache_control on image blocks; add a unit test for a newly-relocated marker landing on a non-text last block.
- Cache-disable cooldown (cacheDisabledUntil) is per-process; concurrent processes each pay the probe-retry tax independently on marker-rejecting accounts (Chaos Gremlin P1). Consider shared state only if such accounts are ever observed.
- Discussion: should a (non-SyntaxError) transform bug be able to fail a chat turn, or degrade to pass-through with a loud log (Tech Lead P2)?
- Dormant paths (src/plugin/snowflake-cortex.ts, packages/core cortexFetch PluginV2 port) lack the caching fix — port it if either is revived.
- 主要语言
- TypeScript
- 星标
- 813
- 派生
- 134
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 65
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AltimateAI/altimate-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
AltimateAI/altimate-code#1359 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
AltimateAI/altimate-code#1323 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
AltimateAI/altimate-code#1288 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
AltimateAI/altimate-code#1285 ·
-
privacy: Altimate Base consent dialog no longer discloses persistent per-installation identifier 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
AltimateAI/altimate-code#1284 ·
查看 AltimateAI/altimate-code 的全部 Issue
相似的 Issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
Crush 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
catppuccin/catppuccin#3125 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/cln-application#167 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Quantco/pnpm-licenses#17 ·
-
难度 2/5 1-3 小时 新手友好度 75/100