fix(preflight): unify review worktree regex, resolve Web UI NameError, and fix test isolation
This commit is contained in:
+1
-2
@@ -724,8 +724,7 @@ def _verify_role_mutation_workspace(
|
||||
task: str | None = None,
|
||||
) -> str:
|
||||
"""Bind reviewer/merger mutations to the active namespace workspace (#510)."""
|
||||
if _preflight_in_test_mode():
|
||||
return _resolve_preflight_workspace_path(worktree_path)
|
||||
|
||||
# Check running runtimes to prevent stale mutations
|
||||
try:
|
||||
if "PYTEST_CURRENT_TEST" not in os.environ or "GITEA_FORCE_MCP_RUNTIME_CHECK" in os.environ:
|
||||
|
||||
Reference in New Issue
Block a user