trustgraph/tests/unit/test_gateway
cybermaggedon aa4f5c6c00
Remove redundant metadata (#685)
The metadata field (list of triples) in the pipeline Metadata class
was redundant. Document metadata triples already flow directly from
librarian to triple-store via emit_document_provenance() - they don't
need to pass through the extraction pipeline.

Additionally, chunker and PDF decoder were overwriting metadata to []
anyway, so any metadata passed through the pipeline was being
discarded.

Changes:
- Remove metadata field from Metadata dataclass
  (schema/core/metadata.py)
- Update all Metadata instantiations to remove metadata=[]
  parameter
- Remove metadata handling from translators (document_loading,
  knowledge)
- Remove metadata consumption from extractors (ontology, agent)
- Update gateway serializers and import handlers
- Update all unit, integration, and contract tests
2026-03-11 10:51:39 +00:00
..
test_auth.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_config_receiver.py Fix flow loading (#611) 2026-01-14 16:23:15 +00:00
test_dispatch_config.py Fix tests (#593) 2025-12-19 08:53:21 +00:00
test_dispatch_manager.py Fix tests (#593) 2025-12-19 08:53:21 +00:00
test_dispatch_mux.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_dispatch_requestor.py Fix tests (#593) 2025-12-19 08:53:21 +00:00
test_dispatch_sender.py Fix tests (#593) 2025-12-19 08:53:21 +00:00
test_dispatch_serialize.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_endpoint_constant.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_endpoint_manager.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_endpoint_metrics.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_endpoint_socket.py Fix import export graceful shutdown (#476) 2025-08-28 13:39:28 +01:00
test_endpoint_stream.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_endpoint_variable.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_rows_import_dispatcher.py Remove redundant metadata (#685) 2026-03-11 10:51:39 +00:00
test_running.py Test suite executed from CI pipeline (#433) 2025-07-14 14:57:44 +01:00
test_service.py Fix tests (#593) 2025-12-19 08:53:21 +00:00
test_socket_graceful_shutdown.py Fix test async warnings (#601) 2026-01-06 22:09:34 +00:00
test_streaming_translators.py GraphRAG Query-Time Explainability (#677) 2026-03-10 10:00:01 +00:00