fix: keep portable execution identities and core imports consistent
Core regression / Python core and release configuration (push) Failing after 32s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python core and release configuration (pull_request) Failing after 32s
Core regression / JavaScript syntax (pull_request) Successful in 3s

This commit is contained in:
阿白叔 committed 2026-11-06 15:16:11 +08:00
1 parent 5d461ffc6c
commit 960c66b196
6 files changed
+59 -3

No files matched your search

@@ -1935,7 +1935,8 @@ def _write_atomic_queue_text(path: Path, text: str, code: str, message: str) ->
def _path_key(path: str | Path) -> str:
return os.path.normcase(os.path.abspath(str(path)))
# CAD project identities remain case-insensitive on portable test hosts too.
return os.path.normcase(os.path.abspath(str(path))).casefold()
def _selected_projects(projects: tuple[ProjectRecord, ...]) -> tuple[ProjectRecord, ...]:
@@ -1,5 +1,11 @@
"""PySide6 task-center presentation layer."""
from .main_window import TrialTaskCenterWindow
__all__ = ["TrialTaskCenterWindow"]
def __getattr__(name):
# Core projections live in this package too; importing them needs no Qt.
if name == 'TrialTaskCenterWindow':
from .main_window import TrialTaskCenterWindow
return TrialTaskCenterWindow
raise AttributeError(name)