Repository navigation
Commit c3c5271
committed
test: give the index policy fixture distinct repo and cache roots
index_policy_mcp_rejects_forged_override_and_preserves_serving_index called
th_mktempdir twice and kept both returned pointers, but th_mktempdir returns
a shared static buffer. After the second call `repo` and `cache` were the
same string (the cache directory), so the first index_repository request
targeted the cache root and was refused by the workspace guard:
/tmp/cbm_index_policy_mcp_cache_LjrHdR: path is a volume root or holds the
codebase-memory cache; it cannot be indexed.
That guard is intentional (fork commit 19f5bdf, "fix workspace cache root
authorization"), which landed on main after the last green full Jenkins run
(DeusData#88 at 214b87b). The failure therefore pre-exists on main cf63fe6 and
surfaced in release-tooling build DeusData#89; it is not caused by the upstream
13M-1 merge. Copy each path into its own buffer so the fixture's repository
and cache are separate sibling directories. Product behaviour is unchanged.
Root cause found by a Codex gpt-6-luna agent; verified by rerunning the
index_policy and index_supervisor suites.1 parent 3cbefe2 commit c3c5271
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
294 | 300 | | |
295 | 301 | | |
296 | 302 | | |
| |||
0 commit comments