Track vfox-erlang#33 until a vfox release fixes the search cache
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 22/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- go, markdown
- 领域
- documentation, tooling
调研方向
This is a tracking issue: nothing can be edited until a released vfox contains vfox#817, so the first step is checking the checklist, not the code. When it unblocks, start with mygo/core/profile/erlang.go (the English and Chinese search-cache tip), then the Erlang sentence in docs/en/user/using.md and docs/zh-CN/user/using.md, then the cache wording in docs/*/dev/vfox-cli-contract.md and the SearchVersions comment in mygo/core/vfox/cli.go. Done means those workaround texts are gone and the prebuilt/search behaviour is confirmed against a released vfox, not main. Open a newcomer-friendly issue only once the upstream fix ships.
由索引模型根据 Issue 内容生成。
描述
vfox-erlang#33 is still open. This issue tracks it until both of its parts are fixed in released versions, and the workarounds in vfox-plus can be removed.
vfox-erlang#33 is about USE_PREBUILT_OTP, in two parts:
- Install: fixed. The value is checked before the version list is read, so an invalid value gets one message that names the supported values. This is in vfox-erlang 1.2.3, released on 2026-11-22.
- Search: open. With a warm vfox search cache,
vfox search erlanglists the cached releases for any value of the variable, and it accepts an invalid value. The plugin cannot fix this, because vfox returns a cachedAvailableresult without calling the hook.
The vfox side is vfox#816, which is open. Its fix is vfox#817: it is not merged, and it has changes requested. The latest vfox release is 1.1.0, and vfox main at 90a96e1 does not have the fix.
Checked on 2026-11-22 with vfox 1.1.0 on Linux x86-64 and vfox-erlang 1.2.3. After a plain vfox search erlang has filled the cache, USE_PREBUILT_OTP=ubuntu-24.04 vfox search erlang prints the same output as the plain search: the source list, 546 lines. A cold search with the same variable prints the prebuilt list, 179 lines.
Checklist
- vfox-erlang#33, install part: fixed in vfox-erlang 1.2.3.
- vfox#817 is merged, and a released vfox version contains it.
- With that release, a search after a plain search prints the prebuilt list for
USE_PREBUILT_OTP=ubuntu-24.04, the same as a cold search, andUSE_PREBUILT_OTP=trueis refused. - vfox-erlang's
docs/prebuilt.mdanddocs/troubleshooting.mdno longer tell users to turn the search cache off. - vfox-erlang#33 is closed.
Check a box when a released version of vfox contains the fix. Confirm the fix with that release, not with main.
When an item is fixed, update vfox-plus to match
mygo/core/profile/erlang.go: remove the search-cache tip, in English and Chinese. It says the cache does not depend onUSE_PREBUILT_OTP, and it tells users to turn the cache off.docs/en/user/using.mdanddocs/zh-CN/user/using.md: remove the sentence in the Erlang section that tells users to turn the search cache off before they use prebuilt releases.docs/en/dev/vfox-cli-contract.mdanddocs/zh-CN/dev/vfox-cli-contract.md: the sentences that say vfox keeps a search answer per list of arguments whatever the environment says, so a changed mirror shows only after the cache expires. After the fix, that holds only for a hook that reads no environment variable, so rewrite them.mygo/core/vfox/cli.go, the comment onSearchVersions: it says vfox keeps one answer per list of arguments. Update it the same way.
- 主要语言
- Go
- 星标
- 1
- 派生
- 0
- 平均合并
- 12 小时 4 分钟
- 30 天内合并 PR
- 28
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
version-fox/vfox-plus 的其他 Issue
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 45/100
version-fox/vfox-plus#75 ·
维护者通常 1 天内回复
-
使用疑问可能已有人在做 @linghengqian 于 23 天前认领。 未关闭question
难度 1/5 1 小时以内 新手友好度 55/100
version-fox/vfox-plus#41 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
TODO for the initial release of `version-fox/vfox-plus`可能重新可做 @linghengqian 于 36 天前认领,目前没有进行中的 PR。 未关闭enhancement
version-fox/vfox-plus#3 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 version-fox/vfox-plus 的全部 Issue
相似的 Issue
-
go good first issue test
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
[UI] Guard webApis against undefined window in SSR environments可能已有人在做 @madhavzanwar 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
kind/enhancement
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
automated-analysis code-quality refactoring
难度 2/5 1-3 小时 新手友好度 72/100
github/gh-aw-mcpg#17105 ·
维护者通常 1 天内回复