lab: automated intel and verification sync codex/intel-20260317-000751

这个提交包含在:
hao
2026-03-17 00:07:51 -07:00
父节点 dddbe19df8
当前提交 1f2744825f
修改 88 个文件,包含 733 行新增170 行删除

查看文件

@@ -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