Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 143 additions & 46 deletions docs/remote_job_monitoring.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies = [
"phonopy>=2.38.0",
"seekpath>=2.1.0",
"rdkit>=2025.9.1",
"google-adk>=1.28.0",
"google-adk>=2.0.0",
"google-cloud-storage",
"lbg>=1.2.29",
"litellm>=1.77.4",
Expand All @@ -29,6 +29,7 @@ dependencies = [
"mp-api",
"bcrypt>=4.0.0",
"docker>=7.0.0",
"e2b<=2.20.0",
"e2b-code-interpreter",
"matcraft-kit",
"know-do-graph>=0.1.8",
Expand Down
232 changes: 0 additions & 232 deletions src/matcreator/agents/execution_agent/e2b_tools.py

This file was deleted.

5 changes: 5 additions & 0 deletions src/matcreator/agents/execution_agent/recovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,16 @@ def _active_remote_job(

def remote_job_reference(job: dict[str, Any]) -> dict[str, Any]:
"""Return the identity subset of a remote job stored on a graph node."""
snapshot = job.get("snapshot") if isinstance(job.get("snapshot"), dict) else {}
return {
"job_id": job["job_id"],
"provider": job["provider"],
"external_id": job["external_id"],
"status": job["status"],
# Surfaced so re-attach instructions can tell a fresh executor to poll
# an in-flight background command instead of guessing whether one is
# running or safely re-issuing it (see start_job_command/poll_job_command).
"has_background_command": bool(snapshot.get("background_command")),
}


Expand Down
Loading
Loading