forgexa-cli 1.24.4__tar.gz → 1.24.6__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.
Files changed (24) hide show
  1. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/PKG-INFO +1 -1
  2. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli/__init__.py +1 -1
  3. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli/daemon.py +19 -3
  4. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli.egg-info/PKG-INFO +1 -1
  5. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/pyproject.toml +1 -1
  6. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/README.md +0 -0
  7. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli/_build_config.py +0 -0
  8. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli/autoupgrade.py +0 -0
  9. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli/main.py +0 -0
  10. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli/py.typed +0 -0
  11. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli.egg-info/SOURCES.txt +0 -0
  12. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli.egg-info/dependency_links.txt +0 -0
  13. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli.egg-info/entry_points.txt +0 -0
  14. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli.egg-info/requires.txt +0 -0
  15. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/forgexa_cli.egg-info/top_level.txt +0 -0
  16. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/setup.cfg +0 -0
  17. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_auth_and_runtime_commands.py +0 -0
  18. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_autoupgrade.py +0 -0
  19. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_check_command.py +0 -0
  20. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_expiry_warnings_and_revoke.py +0 -0
  21. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_runtime_credentials.py +0 -0
  22. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_session_credentials.py +0 -0
  23. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_silent_install.py +0 -0
  24. {forgexa_cli-1.24.4 → forgexa_cli-1.24.6}/tests/test_upgrade_observability.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.24.4
3
+ Version: 1.24.6
4
4
  Summary: Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform
5
5
  Author-email: Jason Sun <dev.winds@gmail.com>
6
6
  License-Expression: MIT
@@ -1,2 +1,2 @@
1
1
  """forgexa-cli — Forgexa command-line client."""
2
- __version__ = "1.24.4"
2
+ __version__ = "1.24.6"
@@ -870,7 +870,7 @@ except (ImportError, ModuleNotFoundError):
870
870
  # DAEMON_VERSION is the protocol/logic version of the daemon code.
871
871
  # Kept in sync with pyproject.toml version via bump-version.sh.
872
872
  # CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
873
- DAEMON_VERSION = "1.24.4"
873
+ DAEMON_VERSION = "1.24.6"
874
874
 
875
875
 
876
876
  def _detect_client_type() -> str:
@@ -10850,7 +10850,10 @@ class RuntimeDaemon:
10850
10850
  timeout=10,
10851
10851
  )
10852
10852
 
10853
- # Fetch latest refs.
10853
+ # Fetch the configured integration branch explicitly. A daemon
10854
+ # workspace is a shallow single-branch clone, so a plain fetch may
10855
+ # leave origin/<integration_branch> at a stale commit after a user
10856
+ # resolves and manually merges a conflict on that branch.
10854
10857
  await git(
10855
10858
  "fetch",
10856
10859
  "origin",
@@ -10858,6 +10861,16 @@ class RuntimeDaemon:
10858
10861
  timeout=settings.GIT_FETCH_TIMEOUT,
10859
10862
  project_key=_proj_key,
10860
10863
  )
10864
+ if integration_branch:
10865
+ integration_remote_ref = f"refs/remotes/origin/{integration_branch}"
10866
+ await git(
10867
+ "fetch",
10868
+ "origin",
10869
+ f"+refs/heads/{integration_branch}:{integration_remote_ref}",
10870
+ cwd=workspace_path,
10871
+ timeout=settings.GIT_FETCH_TIMEOUT,
10872
+ project_key=_proj_key,
10873
+ )
10861
10874
 
10862
10875
  # Determine base SHA: use recorded base, else the integration
10863
10876
  # branch's current HEAD (NOT the default branch — the first merge
@@ -11271,7 +11284,10 @@ class RuntimeDaemon:
11271
11284
  except Exception as exc:
11272
11285
  logger.error("deployment_merge: job %s exception: %s", job_id, exc)
11273
11286
  await _report(
11274
- {"merge_outcome": "conflict_needs_human"},
11287
+ {
11288
+ "merge_outcome": "merge_execution_failed",
11289
+ "failure_code": "merge_execution_failed",
11290
+ },
11275
11291
  status="failed",
11276
11292
  error=str(exc),
11277
11293
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.24.4
3
+ Version: 1.24.6
4
4
  Summary: Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform
5
5
  Author-email: Jason Sun <dev.winds@gmail.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "forgexa-cli"
3
- version = "1.24.4"
3
+ version = "1.24.6"
4
4
  description = "Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform"
5
5
  requires-python = ">=3.9"
6
6
  license = "MIT"
File without changes
File without changes