Skip to content

Commit 72e26f0

Browse files
committed
test: prove adapter pipeline and close CLI database leaks
1 parent 1d33ff3 commit 72e26f0

6 files changed

Lines changed: 657 additions & 167 deletions

File tree

‎.coveragerc‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[run]
22
branch = True
3-
source =
4-
archive_intent
5-
archive_store
6-
platform_lock
7-
schema_migrations
3+
source = .
4+
omit =
5+
tests/*
6+
scripts/*
7+
.venv/*
8+
build/*
89

910
[report]
10-
fail_under = 90
1111
show_missing = True
1212
skip_covered = True

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ jobs:
1919
cache: pip
2020
- run: python -m pip install -e ".[semantic,dev]"
2121
- run: coverage run --branch -m unittest discover -s tests -q
22-
- run: coverage report --fail-under=90
22+
# All first-party modules hold the clean-run 73% baseline. The four
23+
# hardened helpers hold 90. The facade family and its largest gaps have
24+
# separate floors, so one module cannot hide another module's loss.
25+
- run: coverage report --fail-under=73
26+
- run: coverage report --include="archive_intent.py,archive_store.py,platform_lock.py,schema_migrations.py" --fail-under=90
27+
- run: coverage report --include="session_search.py,ss_*.py" --fail-under=71
28+
- run: coverage report --include="ss_adapters.py" --fail-under=59
29+
- run: coverage report --include="ss_retrieval.py" --fail-under=55
30+
- run: coverage report --include="ss_cli.py" --fail-under=71
2331
- run: python tests/run_public_card_quality_eval.py
2432
- run: python tests/run_public_retrieval_eval.py --mode hybrid
2533
- run: python scripts/check_public_privacy.py
@@ -38,3 +46,5 @@ jobs:
3846
- run: /tmp/session-search-install/bin/pip install dist/*.whl
3947
- run: /tmp/session-search-install/bin/ss capabilities
4048
- run: /tmp/session-search-install/bin/ss demo
49+
- run: /tmp/session-search-install/bin/python ${{ github.workspace }}/tests/test_adapter_pipeline.py -q
50+
working-directory: /tmp

‎public-files.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ tests/benchmark_archive.py
4242
tests/benchmark_public.py
4343
tests/run_public_card_quality_eval.py
4444
tests/run_public_retrieval_eval.py
45+
tests/test_adapter_pipeline.py
4546
tests/test_archive_concurrency.py
4647
tests/test_archive_intent.py
4748
tests/test_behavior_contracts.py

0 commit comments

Comments
 (0)