lab: automated intel and verification sync codex/intel-20260317-000751
这个提交包含在:
@@ -212,15 +212,16 @@ def render_dashboard() -> Dict[str, str]:
|
||||
if not bundle_dir.exists():
|
||||
continue
|
||||
symlink_path = runs_dir / item["run_id"]
|
||||
relative_target = os.path.relpath(bundle_dir, symlink_path.parent)
|
||||
try:
|
||||
if symlink_path.is_symlink() or symlink_path.exists():
|
||||
if symlink_path.is_symlink() and symlink_path.resolve() == bundle_dir.resolve():
|
||||
if symlink_path.is_symlink() and os.readlink(symlink_path) == relative_target:
|
||||
pass
|
||||
else:
|
||||
symlink_path.unlink()
|
||||
os.symlink(bundle_dir, symlink_path, target_is_directory=True)
|
||||
os.symlink(relative_target, symlink_path, target_is_directory=True)
|
||||
else:
|
||||
os.symlink(bundle_dir, symlink_path, target_is_directory=True)
|
||||
os.symlink(relative_target, symlink_path, target_is_directory=True)
|
||||
except OSError:
|
||||
continue
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户