INI: valid pytest multiline values report parse_partial while single-line controls parse cleanly (0.12.1)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by locating the INI parser and the diagnostics that mark files or lines as parse_partial; the issue does not name their paths or tests. Compare parsing of the supplied multiline and single-line fixtures, then check how Python ConfigParser handles the same values. Done means the pytest-style continuation lines no longer produce partial coverage, or the unsupported dialect is clearly identified while coverage disclosure remains accurate.
由索引模型根据 Issue 内容生成。
描述
Version / environment
codebase-memory-mcp 0.12.1, official GitHub release archive, standard darwin-arm64 binary; macOS 27.2 (Apple Silicon). Full index; default INI detection.
What happened
Valid pytest INI continuation lines are reported as parse_partial. The single-line equivalent has no recorded gap. This is an INI dialect/grammar coverage issue, not an invalid pytest configuration.
Reproduction
In an empty directory create pytest.ini:
[pytest]
addopts =
--strict-markers
--tb=short
And control.ini:
[pytest]
addopts = --strict-markers --tb=short
Run:
codebase-memory-mcp cli index_repository --repo-path "$PWD" --name ini-parser-repro --mode full --persistence false
codebase-memory-mcp cli index_status --project ini-parser-repro --diagnostics full --format json
Actual: pytest.ini is parse_partial at line 4; control.ini has no recorded parse gap. Replacing the continuation values with ordinary words:
[pytest]
addopts =
first
second
produces parse_partial at lines 3–4. Thus this is not limited to command-line dashes.
Python's standard ConfigParser successfully parses all variants, returning the expected multiline value for addopts. No pytest collection or application tests are needed for this reproduction.
Expected / impact
Support pytest's documented multiline INI values, or describe this as an unsupported INI dialect. Keep the existing coverage disclosure until fixed. The small fixtures reproduce partial coverage only; they do not reproduce the whole-file parse_unusable seen in a larger configuration.
Confirmations
- Searched existing issues for pytest and multiline INI; no matching report found.
- These are newly written generic snippets, with no proprietary configuration.
- 主要语言
- 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 天内回复