Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

chore: Snowflake Cortex caching follow-ups (walk-back continuation, image-block probe, cross-process cooldown)

未关闭
#1,023 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
typescript
领域
ai, backend

调研方向

先从 #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.

  1. 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).
  2. 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.
  3. 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.
  4. 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)?
  5. 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AltimateAI/altimate-code 的其他 Issue

查看 AltimateAI/altimate-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。