fix: Windows test failures and add Windows CI support (#273)

Signed-off-by: Drew Cain <groksrc@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Drew Cain
2025-08-25 06:58:24 -07:00
committed by GitHub
parent 9aa40246a8
commit 7a8b08d11e
14 changed files with 147 additions and 29 deletions
@@ -9,7 +9,6 @@ Create Date: 2025-08-19 22:06:00.000000
from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
@@ -106,8 +106,15 @@ class DirectoryService:
List of DirectoryNode objects matching the criteria
"""
# Normalize directory path
# Strip ./ prefix if present (handles relative path notation)
if dir_name.startswith("./"):
dir_name = dir_name[2:] # Remove "./" prefix
# Ensure path starts with "/"
if not dir_name.startswith("/"):
dir_name = f"/{dir_name}"
# Remove trailing slashes except for root
if dir_name != "/" and dir_name.endswith("/"):
dir_name = dir_name.rstrip("/")