mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-04 10:52:13 +02:00
The daemon rejects an invalid semantic-query request (unknown source, ambiguous measure, no join path) with a plain ValueError; the Node compute port now maps the daemon's exit code 3 / HTTP 400 to KtxExpectedError so these routine, caller-driven rejections stay out of Error Tracking. A dedicated SemanticLayerRequestError(ValueError) is raised only for engine rejections and routed through both daemon transports and the HTTP handler. Because pydantic v2 ValidationError subclasses ValueError, malformed sources or responses (contract faults) are kept as faults: they are reported and mapped to exit 1 / HTTP 500 / plain Error on every path. Non-object stdin is likewise a fault (exit 1), not exit 3. |
||
|---|---|---|
| .. | ||
| test_app.py | ||
| test_cli.py | ||
| test_code_execution.py | ||
| test_database_introspection.py | ||
| test_embeddings.py | ||
| test_exception_payload.py | ||
| test_exception_telemetry.py | ||
| test_lookml.py | ||
| test_package.py | ||
| test_semantic_layer.py | ||
| test_source_generation.py | ||
| test_sql_analysis.py | ||
| test_telemetry.py | ||
| test_telemetry_schema_sync.py | ||