PowerShell numeric multiplier 1KB and Tailwind @apply values with parentheses are flagged parse_partial
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 56/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- css, powershell, tailwindcss
- 领域
- tooling
调研方向
Start by tracing how index_repository in fast mode reports parse_partial ranges for the PowerShell and CSS examples in the issue, then inspect the relevant parser or error-range handling. Reproduce each file separately and check which syntax construct triggers its line 2 range. Done means both examples produce zero parse_partial ranges while existing coverage behavior remains intact.
由索引模型根据 Issue 内容生成。
描述
Version
codebase-memory-mcp 0.12.1
Platform
Windows (x64)
Install channel
GitHub release archive / install.sh / install.ps1
Binary variant
standard
What happened, and what did you expect?
Two isolated, valid files are reported as parse_partial. Neither construct is proprietary, and both are accepted by the toolchain that actually runs them (Windows PowerShell, and Tailwind's @apply).
Expected: parse_partial_count: 0. These ranges are legal syntax, and in a real index the surrounding symbols were still extracted, so the flag is a false coverage gap.
I searched existing issues. This is not #2174 (PowerShell nested type [System.Environment+SpecialFolder]) and not #1700 (SCSS @use ... as *). The related TypeScript case, import('...').T[] inside a generic call type argument, is already open as #2576, so it is not re-filed here. On 0.12.1 that construct still flags the call line.
Reproduction
- Two files:
size.ps1
function Show-Size($bytes) {
"size=$([math]::Round($bytes / 1KB))KB"
}
ui.css
.plain { @apply grid grid-cols-2; }
.repo-columns { @apply grid grid-cols-[minmax(0,1fr)_auto]; }
The only unusual PowerShell token is the numeric multiplier 1KB. The only unusual CSS token is minmax(0,1fr) inside a Tailwind @apply arbitrary value. The plain @apply on line 1 is not flagged.
-
Command: MCP
index_repositorywithmode: faston a directory that contains only those two files. -
Actual result:
parse_partial_count: 2
size.ps1 error_ranges: 2-2
ui.css error_ranges: 2-2
Expected: parse_partial_count: 0.
In a larger repository the same lines were the only flagged ranges (scripts/probe-modelscope.ps1 113-113, src/styles.css 147-147). PowerShell functions in that script were still indexed, and the CSS file only contributes a file node, so no declaration was dropped. The coverage warning is still wrong for both constructs.
Logs
parse_partial:
size.ps1 2-2
ui.css 2-2
Diagnostics trajectory (memory / performance / leak issues)
Not a memory or performance issue.
Project scale (if relevant)
Reproduction: 7 nodes / 6 edges / 2 files. The same two constructs were first seen while indexing a 2999-node repository.
Confirmations
- I searched existing issues and this is not a duplicate.
- My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.
- 主要语言
- C
- 星标
- 45.8k
- 派生
- 3.8k
- 平均合并
- 2 天 18 小时
- 30 天内合并 PR
- 108
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DeusData/codebase-memory-mcp 的其他 Issue
-
bug ux/behavior
难度 2/5 1-3 小时 新手友好度 70/100
DeusData/codebase-memory-mcp#3191 ·
维护者通常 1 天内回复
-
documentation enhancement parsing/quality ux/behavior
难度 1/5 1-3 小时 新手友好度 82/100
DeusData/codebase-memory-mcp#3131 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
hook-augment: the five-row cap keeps the first five search_graph rows, so variables and modules displace function definitions (v0.12.1)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug editor/integration parsing/quality ux/behavior
难度 2/5 1-3 小时 新手友好度 75/100
DeusData/codebase-memory-mcp#3062 · 2 条评论 ·
维护者通常 1 天内回复
-
bug documentation editor/integration parsing/quality
难度 2/5 1-3 小时 新手友好度 75/100
DeusData/codebase-memory-mcp#3050 · 1 条评论 ·
维护者通常 1 天内回复
-
editor/integration parsing/quality
难度 2/5 1-3 小时 新手友好度 68/100
DeusData/codebase-memory-mcp#2286 ·
维护者通常 1 天内回复
查看 DeusData/codebase-memory-mcp 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
维护者通常 1 天内回复
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the game未关闭game: 010065A014024000 ios
难度 2/5 1-3 小时 新手友好度 76/100
seedds/nxnative#3714 · 1 条评论 ·
维护者通常 2 天内回复