forgexa-cli 1.22.4__tar.gz → 1.22.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/PKG-INFO +1 -1
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli/daemon.py +11 -4
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/pyproject.toml +1 -1
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/README.md +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli/autoupgrade.py +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/setup.cfg +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/tests/test_auth_and_runtime_commands.py +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/tests/test_autoupgrade.py +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/tests/test_check_command.py +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/tests/test_silent_install.py +0 -0
- {forgexa_cli-1.22.4 → forgexa_cli-1.22.5}/tests/test_upgrade_observability.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.22.
|
|
2
|
+
__version__ = "1.22.5"
|
|
@@ -555,7 +555,7 @@ except (ImportError, ModuleNotFoundError):
|
|
|
555
555
|
# DAEMON_VERSION is the protocol/logic version of the daemon code.
|
|
556
556
|
# Kept in sync with pyproject.toml version via bump-version.sh.
|
|
557
557
|
# CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
|
|
558
|
-
DAEMON_VERSION = "1.22.
|
|
558
|
+
DAEMON_VERSION = "1.22.5"
|
|
559
559
|
|
|
560
560
|
|
|
561
561
|
def _detect_client_type() -> str:
|
|
@@ -2622,6 +2622,13 @@ class WorkspaceManager:
|
|
|
2622
2622
|
self._safe_rmtree(ws_path)
|
|
2623
2623
|
|
|
2624
2624
|
if main_repo.exists():
|
|
2625
|
+
# Prune also preserves explicitly locked worktrees, even after
|
|
2626
|
+
# their directories disappear. Unlock before pruning so a stale
|
|
2627
|
+
# registration cannot keep its branch ref occupied forever.
|
|
2628
|
+
try:
|
|
2629
|
+
await self._git("worktree", "unlock", str(ws_path), cwd=main_repo)
|
|
2630
|
+
except RuntimeError:
|
|
2631
|
+
pass
|
|
2625
2632
|
try:
|
|
2626
2633
|
await self._git("worktree", "prune", cwd=main_repo)
|
|
2627
2634
|
except RuntimeError:
|
|
@@ -2706,9 +2713,9 @@ class WorkspaceManager:
|
|
|
2706
2713
|
for candidate_path, candidate_branch in entries:
|
|
2707
2714
|
if candidate_path == main_repo or candidate_branch != target_ref:
|
|
2708
2715
|
continue
|
|
2709
|
-
if not
|
|
2710
|
-
|
|
2711
|
-
if
|
|
2716
|
+
if not healthy_only:
|
|
2717
|
+
return candidate_path
|
|
2718
|
+
if candidate_path.exists() and await self._is_healthy_worktree(candidate_path, main_repo=main_repo):
|
|
2712
2719
|
return candidate_path
|
|
2713
2720
|
|
|
2714
2721
|
return None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|