Merge branch 'main' into acl-vector-stores

This commit is contained in:
Francisco Arceo 2025-07-21 13:51:52 -04:00 committed by GitHub
commit a859bf47ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,6 +50,7 @@ def setup_telemetry_data(llama_stack_client, text_model_id):
yield yield
@pytest.mark.skip(reason="Skipping telemetry tests for now")
def test_query_traces_basic(llama_stack_client): def test_query_traces_basic(llama_stack_client):
"""Test basic trace querying functionality with proper data validation.""" """Test basic trace querying functionality with proper data validation."""
all_traces = llama_stack_client.telemetry.query_traces(limit=5) all_traces = llama_stack_client.telemetry.query_traces(limit=5)
@ -105,6 +106,7 @@ def test_query_traces_basic(llama_stack_client):
assert hasattr(trace, "root_span_id") and trace.root_span_id, "Each trace should have non-empty root_span_id" assert hasattr(trace, "root_span_id") and trace.root_span_id, "Each trace should have non-empty root_span_id"
@pytest.mark.skip(reason="Skipping telemetry tests for now")
def test_query_spans_basic(llama_stack_client): def test_query_spans_basic(llama_stack_client):
"""Test basic span querying functionality with proper validation.""" """Test basic span querying functionality with proper validation."""
spans = llama_stack_client.telemetry.query_spans(attribute_filters=[], attributes_to_return=[]) spans = llama_stack_client.telemetry.query_spans(attribute_filters=[], attributes_to_return=[])
@ -153,6 +155,7 @@ def test_query_spans_basic(llama_stack_client):
assert hasattr(span, attr) and getattr(span, attr), f"All spans should have non-empty {attr}" assert hasattr(span, attr) and getattr(span, attr), f"All spans should have non-empty {attr}"
@pytest.mark.skip(reason="Skipping telemetry tests for now")
def test_telemetry_pagination(llama_stack_client): def test_telemetry_pagination(llama_stack_client):
"""Test pagination in telemetry queries.""" """Test pagination in telemetry queries."""
# Get total count of traces # Get total count of traces