Skip to content

Commit ffa9ad1

Browse files
dengwx2026claude
andauthored
fix: change Ray temp_dir to .tmp/ray (#695) (#696)
* fix: change Ray temp_dir to .tmp/ray (#695) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: skip OpenTelemetry metrics export in test environment Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7ebe40d commit ffa9ad1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rock-conf/rock-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ray:
33
working_dir: ./
44
pip: ./requirements_sandbox_actor.txt
55
namespace: "rock-sandbox-test"
6-
temp_dir: ./tmp/ray
6+
temp_dir: ./.tmp/ray
77

88
warmup:
99
images:

rock/admin/metrics/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def _init_basic_attributes(self, host: str, port: str, pod: str, env: str, role:
119119
self.base_attributes.update(self.user_defined_tags)
120120

121121
def _should_skip(self):
122-
if self.env in {"daily", "aliyun", "local"}:
122+
if self.env in {"daily", "aliyun", "local", "test"}:
123123
return True
124124
return False
125125

0 commit comments

Comments
 (0)