Skip to content

fix(ci): restore repo-root import path for tests via root conftest#163

Merged
wolverin0 merged 1 commit into
mainfrom
fix/ci-scripts-import
Jun 22, 2026
Merged

fix(ci): restore repo-root import path for tests via root conftest#163
wolverin0 merged 1 commit into
mainfrom
fix/ci-scripts-import

Conversation

@wolverin0

Copy link
Copy Markdown
Owner

Pre-existing main CI breakage (red since the P6 packaging fix), unrelated to feature work.

Cause: CI runs pip install -e ".[dev,mcp,security]". Since packages.find was scoped to memorymaster*, an editable install no longer puts the repo root on sys.path, so tests/test_connectors.py's from scripts import ... raises ModuleNotFoundError during collection — failing the entire suite on every Python/OS combo.

Fix: a root conftest.py that inserts the repo root onto sys.path before collection. Restores import access to scripts/ for tests without changing what the wheel ships. Unblocks #161 and #162.

CI (pip install -e ".[dev,mcp,security]") went red on every run since the P6
packaging fix scoped packages.find to memorymaster*. That correctly stops
shipping scripts/, but it also drops the repo root from sys.path under an
editable install — so tests/test_connectors.py's `from scripts import ...`
raises ModuleNotFoundError during collection, failing the whole suite.

Add a root conftest.py that inserts the repo root on sys.path before
collection. Restores import access to scripts/ for tests without changing what
the wheel ships. Pre-existing main breakage, unrelated to feature work.
@wolverin0 wolverin0 merged commit 2ee93dd into main Jun 22, 2026
7 checks passed
@wolverin0 wolverin0 deleted the fix/ci-scripts-import branch June 22, 2026 18:34
wolverin0 added a commit that referenced this pull request Jun 24, 2026
…+ document v4.0.0→ work) (#167)

* release: v4.1.0 — local-filesystem (Everything) bridge + LLM Atlas extractor

Surfaces the previously-merged-but-undocumented work since v4.0.0:
- #161 local-filesystem search bridge (resolve_project, Everything ES.exe, path redaction)
- #166 LLM typed-entity Atlas extractor
- #162 detect-first installer; #165 steward tiers-every-cycle; #163 CI conftest; #164 IP scrub

README Key features + CHANGELOG now document the Everything integration.

* docs(release): frame local-search honestly — optional, Windows/Codex-focused, graceful-degrade

Re-verified the Everything bridge works end-to-end (es.exe 1.1.0.27): resolve-project
finds real projects with explainable scoring, memory-first cache hits on repeat, paths
redacted. But the value is narrow (path-resolution for weak-file-search agents + cross-
session recall), not a headline; speed is sub-second either way. Docs now say so.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant