diff --git a/tests/test_new_serve_stack.py b/tests/test_new_serve_stack.py index c14f2b09..7f648355 100644 --- a/tests/test_new_serve_stack.py +++ b/tests/test_new_serve_stack.py @@ -51,8 +51,11 @@ def test_empty_ingest_returns_empty(self, tracker): @pytest.mark.parametrize("event_type", [ "plugin.added", + "plugin.updated", "connector.updated", "reference.updated", + "catalog.updated", + "integration.updated", ]) def test_bootstrap_lifecycle_events_silently_dropped(self, tracker, event_type): assert tracker.ingest({"type": event_type, "properties": {"id": "test"}}) == [] diff --git a/tools/events/state_tracker.py b/tools/events/state_tracker.py index 7eae384b..8c6632a4 100644 --- a/tools/events/state_tracker.py +++ b/tools/events/state_tracker.py @@ -113,8 +113,9 @@ def ingest(self, event: dict[str, Any]) -> list[dict[str, Any]]: return [mapped] if mapped else [] if event_type in ("session.updated", - "plugin.added", "connector.updated", - "reference.updated"): + "plugin.added", "plugin.updated", + "connector.updated", "reference.updated", + "catalog.updated", "integration.updated"): return [] # Pass-through events that don't need accumulation. diff --git a/tools/mock-llm-scripts/comprehensive.json b/tools/mock-llm-scripts/comprehensive.json index 7063ec38..df8430b5 100644 --- a/tools/mock-llm-scripts/comprehensive.json +++ b/tools/mock-llm-scripts/comprehensive.json @@ -8,9 +8,9 @@ {"type": "text", "content": "Now I'll write a file."}, {"type": "tool_call", "id": "call_5", "name": "write", "arguments": {"filePath": "tmp/parity-test.txt", "content": "original\n"}}, {"type": "text", "content": "Running a command."}, - {"type": "tool_call", "id": "call_7", "name": "bash", "arguments": {"command": "echo hello", "description": "Say hello"}}, + {"type": "tool_call", "id": "call_7", "name": "bash", "arguments": {"command": "printf 'hello\\n'; sleep 0.05", "description": "Say hello"}}, {"type": "text", "content": "Creating todos."}, {"type": "tool_call", "id": "call_8", "name": "todowrite", "arguments": {"todos": [{"content":"test","status":"completed","priority":"high"}]}}, {"type": "text", "content": "Done!"}, {"type": "done"} -] \ No newline at end of file +]