........................................................................ [ 10%]
........................................................................ [ 20%]
........................................................................ [ 30%]
........................................................................ [ 40%]
........................................................................ [ 50%]
........................................................................ [ 60%]
........................................................................ [ 70%]
........................................................................ [ 80%]
........................................................................ [ 90%]
................................................................../Users/forrest/miniconda3/lib/python3.13/ast.py:50: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11c117d30>
  return compile(source, filename, mode, flags,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
       [100%]
=============================== warnings summary ===============================
tests/integration/test_embed_idempotency.py::TestEmbedIdempotency::test_vector_search_returns_each_chunk_once_after_two_runs
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115299210>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestEmbedIdempotency::test_vector_search_returns_each_chunk_once_after_two_runs
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115299e40>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestEmbedIdempotency::test_default_run_skips_complete_then_force_reembeds_all
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529a020>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestEmbedIdempotency::test_default_run_skips_complete_then_force_reembeds_all
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1095e6980>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestEmbedIdempotency::test_default_run_self_heals_partial_state
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:676: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529b100>
    key=lambda entry: entry[0].count('.')):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestEmbedIdempotency::test_default_run_self_heals_partial_state
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:676: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529ae30>
    key=lambda entry: entry[0].count('.')):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestUpdateInvalidatesStaleChunks::test_edited_document_reembeds_with_fresh_content
  /Users/forrest/miniconda3/lib/python3.13/site-packages/click/core.py:2367: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529b880>
    def convert(value: t.Any) -> t.Any:
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestUpdateInvalidatesStaleChunks::test_edited_document_reembeds_with_fresh_content
  /Users/forrest/miniconda3/lib/python3.13/site-packages/click/core.py:2367: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529bc40>
    def convert(value: t.Any) -> t.Any:
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestUpdateInvalidatesStaleChunks::test_edited_document_reembeds_with_fresh_content
  /Users/forrest/miniconda3/lib/python3.13/site-packages/click/core.py:2367: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c8310>
    def convert(value: t.Any) -> t.Any:
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestRemovalPurgesEmbeddings::test_removed_file_leaves_no_embeddings
  <frozen codecs>:189: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1095e6890>
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestRemovalPurgesEmbeddings::test_removed_file_leaves_no_embeddings
  <frozen codecs>:189: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529ab60>
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestRemovalPurgesEmbeddings::test_removed_file_leaves_no_embeddings
  <frozen codecs>:189: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c84f0>
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestPerCollectionTransaction::test_failed_collection_keeps_successful_collections_work
  /Users/forrest/miniconda3/lib/python3.13/site-packages/rich/text.py:809: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1095e6b60>
    extend_spans(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestPerCollectionTransaction::test_failed_collection_keeps_successful_collections_work
  /Users/forrest/miniconda3/lib/python3.13/site-packages/rich/text.py:809: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529a3e0>
    extend_spans(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/integration/test_embed_idempotency.py::TestPerCollectionTransaction::test_failed_collection_keeps_successful_collections_work
  /Users/forrest/miniconda3/lib/python3.13/site-packages/rich/text.py:809: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529b5b0>
    extend_spans(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/test_docs.py::TestDocsCodeBlocks::test_shell_commands_exist
  /Users/forrest/miniconda3/lib/python3.13/site-packages/click/parser.py:113: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529b3d0>
    if first.isalnum():
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/test_docs.py::TestDocsCodeBlocks::test_shell_commands_exist
  /Users/forrest/miniconda3/lib/python3.13/site-packages/click/parser.py:113: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529a110>
    if first.isalnum():
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/test_docs.py::TestDocsCodeBlocks::test_shell_commands_exist
  /Users/forrest/miniconda3/lib/python3.13/site-packages/click/parser.py:113: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c8c70>
    if first.isalnum():
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529b4c0>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c9b70>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529b2e0>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cb790>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c8d60>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cbc40>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c9300>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cb2e0>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153ca4d0>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cb100>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cae30>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cab60>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1095e7a60>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172486d0>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x117249210>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172494e0>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172497b0>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x117249d50>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionRealDatabase::test_exclude_missing
  /Users/forrest/GitHub/SIF/src/sif/database/schema.py:244: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x117249e40>
    self.db.execute("""
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionUpdateCmd::test_collection_update_cmd_set
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:799: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cb010>
    def __setattr__(self, name, value):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionUpdateCmd::test_collection_update_cmd_set
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:799: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c9210>
    def __setattr__(self, name, value):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionUpdateCmd::test_collection_update_cmd_set
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:799: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c9a80>
    def __setattr__(self, name, value):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionUpdateCmd::test_collection_update_cmd_set
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:799: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cbd30>
    def __setattr__(self, name, value):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionUpdateCmd::test_collection_update_cmd_set
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:799: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11529b010>
    def __setattr__(self, name, value):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionUpdateCmd::test_collection_update_cmd_set
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:799: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172496c0>
    def __setattr__(self, name, value):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_collection.py::TestCollectionUpdateCmd::test_collection_update_cmd_set
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:799: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172493f0>
    def __setattr__(self, name, value):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_context.py::TestContextAdd::test_add_updates_existing
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2193: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172488b0>
    setattr(_type, entry, MagicProxy(entry, self))
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestGetRetrieval::test_local_file_fallback_and_read_failure
  /Users/forrest/miniconda3/lib/python3.13/json/encoder.py:252: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cb4c0>
    _iterencode = c_make_encoder(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestGetRetrieval::test_local_file_fallback_and_read_failure
  /Users/forrest/miniconda3/lib/python3.13/json/encoder.py:252: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cb1f0>
    _iterencode = c_make_encoder(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestGetRetrieval::test_local_file_fallback_and_read_failure
  /Users/forrest/miniconda3/lib/python3.13/json/encoder.py:252: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153cbe20>
    _iterencode = c_make_encoder(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestGetRetrieval::test_local_file_fallback_and_read_failure
  /Users/forrest/miniconda3/lib/python3.13/json/encoder.py:252: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c98a0>
    _iterencode = c_make_encoder(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestGetRetrieval::test_local_file_fallback_and_read_failure
  /Users/forrest/miniconda3/lib/python3.13/json/encoder.py:252: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x117249c60>
    _iterencode = c_make_encoder(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestGetRetrieval::test_local_file_fallback_and_read_failure
  /Users/forrest/miniconda3/lib/python3.13/json/encoder.py:252: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172498a0>
    _iterencode = c_make_encoder(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestGetRetrieval::test_local_file_fallback_and_read_failure
  /Users/forrest/miniconda3/lib/python3.13/json/encoder.py:252: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x117248a90>
    _iterencode = c_make_encoder(
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestMultiGet::test_multi_get_comma_separated
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153ca980>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestMultiGet::test_multi_get_comma_separated
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153ca890>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestMultiGet::test_multi_get_comma_separated
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c97b0>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestMultiGet::test_multi_get_comma_separated
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1153c9120>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestMultiGet::test_multi_get_comma_separated
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x117248040>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestMultiGet::test_multi_get_comma_separated
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172495d0>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_get.py::TestMultiGet::test_multi_get_comma_separated
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172484f0>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_pull.py::TestPullCommand::test_pull_url_direct_download
  /Users/forrest/miniconda3/lib/python3.13/functools.py:77: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x1172487c0>
    return partial(update_wrapper, wrapped=wrapped,
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_pull.py::TestPullCommand::test_pull_url_direct_download
  /Users/forrest/miniconda3/lib/python3.13/functools.py:77: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x117249a80>
    return partial(update_wrapper, wrapped=wrapped,
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/cli/test_pull.py::TestPullCommand::test_pull_url_direct_download
  /Users/forrest/miniconda3/lib/python3.13/functools.py:77: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x11724a6b0>
    return partial(update_wrapper, wrapped=wrapped,
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/search/test_bm25.py::TestBM25ContextAttachment::test_search_no_context_returns_none
  /Users/forrest/miniconda3/lib/python3.13/unittest/mock.py:2247: ResourceWarning: unclosed database in <sqlite3.Connection object at 0x119ad2200>
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform darwin, python 3.13.9-final-0 _______________

Name                                 Stmts   Miss  Cover   Missing
------------------------------------------------------------------
src/sif/__init__.py                      5      0   100%
src/sif/_version.py                      1      1     0%   3
src/sif/cli/__init__.py                  3      0   100%
src/sif/cli/commands/__init__.py         7      0   100%
src/sif/cli/commands/bench.py           83     14    83%   77, 86-89, 103-109, 128-129
src/sif/cli/commands/collection.py     234      2    99%   206, 249
src/sif/cli/commands/context.py        134      6    96%   90, 208-209, 231, 244-245
src/sif/cli/commands/get.py            122      0   100%
src/sif/cli/commands/index.py          216     24    89%   65, 70-73, 81, 140-143, 151-153, 220-221, 271, 282-283, 313-315, 324, 343-344, 420-422
src/sif/cli/commands/ls.py              44      2    95%   48, 56
src/sif/cli/commands/mcp.py             46     20    57%   18, 25-39, 61-72, 91
src/sif/cli/commands/pull.py            63      7    89%   30, 35-36, 42, 56, 83-84
src/sif/cli/commands/search.py         356     76    79%   94-95, 97-98, 114-115, 164, 167-169, 184-190, 268, 275-276, 312, 315-320, 338, 343-346, 359-365, 378-379, 394-416, 475, 478-480, 498-504, 528, 534-537, 546-547, 587, 595, 604, 639
src/sif/cli/formatters.py               13      0   100%
src/sif/cli/main.py                    123     16    87%   142-144, 177-178, 197-199, 205-212, 216
src/sif/config/__init__.py               3      0   100%
src/sif/config/constants.py             25      0   100%
src/sif/config/settings.py              87      9    90%   200, 209, 215, 225-232
src/sif/core/__init__.py                 4      0   100%
src/sif/core/collection.py              74     23    69%   41-42, 46-47, 130-140, 148-153, 157-162
src/sif/core/context.py                 73     37    49%   35-36, 84, 93-107, 111, 115, 119-124, 128, 132-134, 146-168
src/sif/core/document.py                63     10    84%   36, 62-67, 72, 76, 80, 84-85
src/sif/core/models.py                 141      7    95%   58, 77, 116, 162, 166, 196, 271
src/sif/database/__init__.py             4      0   100%
src/sif/database/connection.py          73      0   100%
src/sif/database/database.py            85     29    66%   48-49, 87-90, 95-101, 109-110, 115-138
src/sif/database/migrations.py          37     24    35%   123, 127-133, 137-156, 161-168, 172-188
src/sif/database/repositories.py       173     30    83%   53-55, 249, 256-258, 262-266, 329-331, 397, 401-402, 414-419, 423-431, 509, 513-522, 533-538, 557-561
src/sif/database/repository.py          55      0   100%
src/sif/database/schema.py             128     12    91%   129-131, 194, 196, 270, 275, 351-364
src/sif/embedding/__init__.py            5      0   100%
src/sif/embedding/cache.py              77     31    60%   47-50, 105-106, 139-140, 158, 173-174, 185-201, 209-222
src/sif/embedding/embedder.py          263      8    97%   60, 62, 219, 298, 313, 315, 477-478
src/sif/embedding/factory.py            31      2    94%   37, 92
src/sif/embedding/manager.py            83      4    95%   71, 135, 157, 238
src/sif/embedding/model.py              33      0   100%
src/sif/indexing/__init__.py             4      0   100%
src/sif/indexing/chunker.py             98     28    71%   24, 95, 137-138, 143-180, 202, 223, 226
src/sif/indexing/indexer.py             92      0   100%
src/sif/indexing/parser.py              78     38    51%   55-57, 87-104, 150-171, 190-199
src/sif/indexing/scanner.py             48     13    73%   75, 83, 87, 113-114, 120, 122, 136-144
src/sif/indexing/watcher.py             68      0   100%
src/sif/mcp/__init__.py                  5      0   100%
src/sif/mcp/backend.py                 112      9    92%   89-93, 129-131, 145
src/sif/mcp/cli.py                       4      4     0%   3-9
src/sif/mcp/handlers.py                 53     12    77%   111-123, 153-159, 188, 200
src/sif/mcp/protocol.py                141      2    99%   56, 344
src/sif/mcp/server.py                   77     22    71%   63, 95, 112-113, 143-166, 187-193
src/sif/mcp/transports/__init__.py       4      0   100%
src/sif/mcp/transports/http.py         114     26    77%   17-23, 59, 94-95, 105-107, 151, 205-208, 212-215, 225-229
src/sif/mcp/transports/stdio.py         81     13    84%   85-86, 117-121, 129-133, 138
src/sif/models/__init__.py               6      0   100%
src/sif/models/collection.py            27      0   100%
src/sif/models/context.py               21      0   100%
src/sif/models/document.py              43      0   100%
src/sif/models/download.py              69     35    49%   64-66, 74-75, 86, 90-91, 94-95, 114-117, 133-136, 152-155, 166-179, 187-190, 198-203
src/sif/models/embedding.py             39      0   100%
src/sif/models/search.py                50      0   100%
src/sif/search/__init__.py               5      0   100%
src/sif/search/benchmark.py             53      1    98%   61
src/sif/search/bm25.py                  98      6    94%   45, 209, 224, 231-233
src/sif/search/context_attach.py        14      0   100%
src/sif/search/expansion.py             61      7    89%   63, 116-130
src/sif/search/hybrid.py               145     11    92%   70, 79, 189, 212-213, 235-236, 289, 302-313
src/sif/search/rerank.py               214     82    62%   112, 191, 205-206, 210, 213-214, 270-279, 283-333, 338-342, 351-396, 409
src/sif/search/rrf.py                   71      3    96%   47, 131, 188
src/sif/search/snippets.py             122      5    96%   166, 171-172, 193, 217
src/sif/search/strategy.py              20      0   100%
src/sif/search/term_match.py            96      7    93%   50, 62, 87, 101, 138, 162, 177
src/sif/search/vector.py                79      0   100%
src/sif/utils/__init__.py                5      0   100%
src/sif/utils/logging.py                62     26    58%   43-45, 50-69, 75-80, 86-87, 93-94, 134
src/sif/utils/paths.py                  30     15    50%   16-18, 27-29, 38-40, 94-96, 109-112
src/sif/utils/progress.py               31     12    61%   44-51, 59-60, 64-67, 75, 79, 83
src/sif/utils/text.py                   13      9    31%   19-26, 38-40
------------------------------------------------------------------
TOTAL                                 5320    780    85%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
714 passed, 63 warnings in 16.27s
