feat: try to see the hierarchy in phonenix trace rather than all single events#35027
Open
xuwei95 wants to merge 1 commit intolanggenius:mainfrom
Open
feat: try to see the hierarchy in phonenix trace rather than all single events#35027xuwei95 wants to merge 1 commit intolanggenius:mainfrom
xuwei95 wants to merge 1 commit intolanggenius:mainfrom
Conversation
…le events try to see the hierarchy in phonenix trace rather than all single events
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-04-13 02:21:31.101527433 +0000
+++ /tmp/pyrefly_pr.txt 2026-04-13 02:21:21.314554940 +0000
@@ -58,6 +58,14 @@
--> core/model_manager.py:344:13
ERROR Missing positional argument `function` in function `ModelInstance._round_robin_invoke` [bad-argument-count]
--> core/model_manager.py:361:13
+ERROR Object of class `OTLPSpanExporter` has no attribute `timeout` [missing-attribute]
+ --> core/ops/arize_phoenix_trace/arize_phoenix_trace.py:80:17
+ERROR Object of class `int` has no attribute `replace` [missing-attribute]
+ --> core/ops/arize_phoenix_trace/arize_phoenix_trace.py:245:37
+ERROR Argument `str | None` is not assignable to parameter `workflow_run_id` with type `str` in function `ArizePhoenixDataTrace._get_app_info_from_workflow_run_id` [bad-argument-type]
+ --> core/ops/arize_phoenix_trace/arize_phoenix_trace.py:1337:79
+ERROR Argument `str | None` is not assignable to parameter `workflow_run_id` with type `str` in function `ArizePhoenixDataTrace._get_app_info_from_workflow_run_id` [bad-argument-type]
+ --> core/ops/arize_phoenix_trace/arize_phoenix_trace.py:1586:79
ERROR Argument `dict[str, list[str] | str | None]` is not assignable to parameter `attributes` with type `dict[str, str] | None` in function `mlflow.tracing.fluent.start_span_no_context` [bad-argument-type]
--> core/ops/mlflow_trace/mlflow_trace.py:271:24
ERROR Argument `dict[str, dict[str, Any] | str | None]` is not assignable to parameter `attributes` with type `dict[str, str] | None` in function `mlflow.tracing.fluent.start_span_no_context` [bad-argument-type]
@@ -3988,8 +3996,14 @@
--> tests/unit_tests/core/ops/aliyun_trace/test_aliyun_trace_utils.py:214:34
ERROR Argument `None` is not assignable to parameter `outputs` with type `Mapping[str, Any]` in function `core.ops.aliyun_trace.utils.format_output_messages` [bad-argument-type]
--> tests/unit_tests/core/ops/aliyun_trace/test_aliyun_trace_utils.py:247:35
-ERROR Argument `test_set_span_status.SilentError` is not assignable to parameter `error` with type `Exception | str | None` in function `core.ops.arize_phoenix_trace.arize_phoenix_trace.set_span_status` [bad-argument-type]
- --> tests/unit_tests/core/ops/arize_phoenix_trace/test_arize_phoenix_trace.py:132:27
+ERROR Could not import `error_to_string` from `core.ops.arize_phoenix_trace.arize_phoenix_trace` [missing-module-attribute]
+ --> tests/unit_tests/core/ops/arize_phoenix_trace/test_arize_phoenix_trace.py:12:5
+ERROR Could not import `safe_json_dumps` from `core.ops.arize_phoenix_trace.arize_phoenix_trace` [missing-module-attribute]
+ --> tests/unit_tests/core/ops/arize_phoenix_trace/test_arize_phoenix_trace.py:13:5
+ERROR Could not import `set_span_status` from `core.ops.arize_phoenix_trace.arize_phoenix_trace` [missing-module-attribute]
+ --> tests/unit_tests/core/ops/arize_phoenix_trace/test_arize_phoenix_trace.py:14:5
+ERROR Could not import `wrap_span_metadata` from `core.ops.arize_phoenix_trace.arize_phoenix_trace` [missing-module-attribute]
+ --> tests/unit_tests/core/ops/arize_phoenix_trace/test_arize_phoenix_trace.py:16:5
ERROR Object of class `ModuleType` has no attribute `Histogram` [missing-attribute]
--> tests/unit_tests/core/ops/tencent_trace/test_client.py:88:5
ERROR Object of class `ModuleType` has no attribute `MeterProvider` [missing-attribute]
@@ -4062,6 +4076,10 @@
--> tests/unit_tests/core/ops/tencent_trace/test_client.py:547:12
ERROR Cannot index into `object` [bad-index]
--> tests/unit_tests/core/ops/tencent_trace/test_client.py:558:12
+ERROR Could not import `_NODE_TYPE_TO_SPAN_KIND` from `core.ops.arize_phoenix_trace.arize_phoenix_trace` [missing-module-attribute]
+ --> tests/unit_tests/core/ops/test_arize_phoenix_trace.py:4:62
+ERROR Could not import `_get_node_span_kind` from `core.ops.arize_phoenix_trace.arize_phoenix_trace` [missing-module-attribute]
+ --> tests/unit_tests/core/ops/test_arize_phoenix_trace.py:4:87
ERROR Method `trace` inherited from class `BaseTraceInstance` has no implementation and cannot be accessed via `super()` [missing-attribute]
--> tests/unit_tests/core/ops/test_base_trace_instance.py:17:9
ERROR Missing argument `public_key` in function `core.ops.entities.config_entity.LangfuseConfig.__init__` [missing-argument]
|
Member
|
Please resolve the errors in the CI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Fixes #<issue number>.Summary
Fix #35045
try to see the hierarchy in phonenix trace rather than all single events
Screenshots
Checklist
make lintandmake type-check(backend) andcd web && pnpm exec vp staged(frontend) to appease the lint gods