INI: valid pytest multiline values report parse_partial while single-line controls parse cleanly (0.12.1)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C
- Stars
- 45.8k
- Forks
- 3.8k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 108
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DeusData/codebase-memory-mcp
-
bug ux/behavior
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DeusData/codebase-memory-mcp#3191 ·
Maintainers usually reply within 1 day
-
documentation enhancement parsing/quality ux/behavior
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
DeusData/codebase-memory-mcp#3131 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
hook-augment: the five-row cap keeps the first five search_graph rows, so variables and modules displace function definitions (v0.12.1)Possibly taken A pull request linked to this issue is open or already merged. Openbug editor/integration parsing/quality ux/behavior
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
DeusData/codebase-memory-mcp#3062 · 2 comments ·
Maintainers usually reply within 1 day
-
bug documentation editor/integration parsing/quality
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
DeusData/codebase-memory-mcp#3050 · 1 comment ·
Maintainers usually reply within 1 day
-
editor/integration parsing/quality
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DeusData/codebase-memory-mcp#2286 ·
Maintainers usually reply within 1 day
All issues in DeusData/codebase-memory-mcp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Maintainers usually reply within 1 day
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the gameOpengame: 010065A014024000 ios
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
seedds/nxnative#3714 · 1 comment ·
Maintainers usually reply within 2 days