Skip to content

fix: validate an OpenHands setup before using it - #2387

Open
tdene wants to merge 6 commits into
NVIDIA-NeMo:mainfrom
tdene:tde/openhands_env_validation
Open

tdene wants to merge 6 commits into
NVIDIA-NeMo:mainfrom
tdene:tde/openhands_env_validation

Conversation

@tdene

@tdene tdene commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The reuse gate for a pre-existing OpenHands setup was 'the venv interpreter file exists', which conflates two very different states with a healthy environment: an interrupted build (a python binary with no packages behind it) and a venv whose packages an episode has since downgraded (episodes run pip inside the sandbox).

Attempting to use pre-existing venv's in either case causes all subsequent episodes to fail and mistakenly return 0 reward.

Nothing ever rebuilds the env on main because the gate always passes.

@tdene

tdene commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 406b66a

@github-actions github-actions Bot added the sla:triage-overdue Review assignment is over the one-business-day SLA label Aug 7, 2026
@tdene

tdene commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/claude review

Comment thread responses_api_agents/swe_agents/app.py Outdated
"assert Version(version('pyjwt')) >= Version('2.9'); "
"assert Version(version('sqlalchemy')) >= Version('2.0.40'); "
"assert Version(version('flask')) >= Version('2.2'); "
"import datasets, wandb"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: the probe's version floors (jinja2>=3.1.3, pyjwt>=2.9, sqlalchemy>=2.0.40, flask>=2.2) are decoupled from what a rebuild actually installs. openhands.sh never pins these — they come from whatever OpenHands' poetry lock resolves. If the lockfile ever resolves any of them below a floor, _existing_setup_is_reusable returns False on every server startup, so the reuse fast-path is silently disabled and each process pays a full rebuild (which resolves the same sub-floor versions and would fail the probe again next time). No infinite loop (setup() doesn't re-probe after rebuild) and no data corruption — the cost is a permanent, silent loss of the reuse optimization. If these floors encode a known-bad OpenHands version, consider pinning them in openhands.sh alongside the wandb/datasets install so the rebuild actually satisfies what the probe demands.

@claude

claude Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

SHIP — startup-only reuse gate, well-tested, off the scoring/async hot paths.

This adds a runtime probe to the OpenHands harness setup() so a stale .venv (missing wandb, or with dep versions below required floors) is rebuilt instead of reused — previously a corpse venv would be republished and fail every subsequent episode after the agent had done its real work. Good defensive change.

Blast-radius check: _existing_setup_is_reusable/_probe_openhands_venv run once per server process in model_post_init → setup(), under file_lock — not per episode, not on verify() or any score/reward path. Worst case is a wasted rebuild at startup, never silent score corruption or an async hang. subprocess_run here is the same synchronous helper used elsewhere in this file's setup paths. The empty-stderr fallback (" ".join(...[-1:]) → "" → f"exit code {...}") is handled. Tests cover the three-way gate (no setup / healthy / failing probe) and the stderr-reporting path.

One non-blocking NOTE inline: the probe's version floors are decoupled from what a rebuild installs — if OpenHands' lock ever resolves a probed package below a floor, the reuse fast-path silently disables itself on every startup (permanent rebuild cost, no corruption). Consider pinning those floors in openhands.sh if they encode a known-bad version.

Comment thread responses_api_agents/swe_agents/app.py Outdated
"assert Version(version('pyjwt')) >= Version('2.9'); "
"assert Version(version('sqlalchemy')) >= Version('2.0.40'); "
"assert Version(version('flask')) >= Version('2.2'); "
"import datasets, wandb"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: the probe's version floors (jinja2>=3.1.3, pyjwt>=2.9, sqlalchemy>=2.0.40, flask>=2.2) are decoupled from what a rebuild actually installs. openhands.sh never pins these — they come from whatever OpenHands' poetry lock resolves. If the lockfile ever resolves any of them below a floor, _existing_setup_is_reusable returns False on every server startup, so the reuse fast-path is silently disabled and each process pays a full rebuild (which then resolves the same sub-floor versions and would fail the probe again). No infinite loop (setup() doesn't re-probe after rebuild) and no data corruption — the cost is a permanent, silent loss of the reuse optimization. If these floors encode a known-bad OpenHands version, consider pinning them in openhands.sh alongside the wandb/datasets install so the rebuild actually satisfies what the probe demands.

@github-actions github-actions Bot removed the sla:triage-overdue Review assignment is over the one-business-day SLA label Aug 7, 2026
@tdene
tdene force-pushed the tde/openhands_env_validation branch from 406b66a to f389df0 Compare August 18, 2026 10:59
@tdene
tdene force-pushed the tde/openhands_env_validation branch from f389df0 to bb6fba8 Compare August 21, 2026 15:16
@tdene
tdene force-pushed the tde/openhands_env_validation branch from bb6fba8 to 858a7ad Compare August 25, 2026 08:56
@tdene
tdene force-pushed the tde/openhands_env_validation branch from 858a7ad to e5178fa Compare September 1, 2026 11:32
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the needs-review PR is ready for code review and waiting on a reviewer label Oct 20, 2026
@weijiac0619

Copy link
Copy Markdown
Contributor

@sdevare-nv could you review this one?

@weijiac0619

Copy link
Copy Markdown
Contributor

I'm not sure whether it will be an issue: the venv probe runs twice, if the first passes and the second fails, can rmtree(setup_dir) delete the shared prestaged legacy_dir? cc @sdevare-nv

@adil-a

adil-a commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

@sdevare-nv PTAL

@adil-a

adil-a commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

/review

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SHIP WITH CARE

I found four setup/probe reliability risks, one required validation gap, and one test suggestion. I inspected all three changed files and traced startup through the container mounts. Tests and rollouts were not executed in this review.

RISK — Required representative smoke-rollout evidence is missing. The supplied PR description and discussion record no real model rollout for this behavior-changing agent work. The new tests use shell substitutes for the OpenHands interpreter, so they don't establish that the changed installation, probe, and rebuild path work together. The trusted quality bar requires representative real smoke rollouts, and the PR requirements require recording that evidence.

Add evidence from a representative OpenHands task using an installation built by the changed setup script. Then remove wandb only from a disposable cached setup, restart, and repeat the task. Record the head, config, framework commit, model, task, commands, startup logs, and inspected agent/verifier outcomes. Acceptance: the unhealthy cache rebuilds, the resulting environment passes the probe and is reused on the next startup, and the real rollouts produce trajectories and completed verification. Preserve existing task/reward semantics: the model needn't solve the task for the smoke check to succeed. These are proposed checks, not executed results.


Inline comments (escaped v1):

  • responses_api_agents/swe_agents/app.py line 1809: RISK — A failed second probe can delete the shared pre-staged tree

    With the default cache, let the pre-staged venv pass the probe in _openhands_setup_target, then fail the second probe in setup(), while the interpreter still exists. setup_dir remains legacy_dir, so this rmtree deletes the pre-staged checkout and Miniforge installation and rebuilds in place. Existing servers retain that path, and containers mount the shared installation after the setup lock is released. Read-only container mounts don't prevent host-side deletion. An unhealthy pre-staged installation should remain untouched while its replacement is built in the cache.

    Could you redirect a failed legacy recheck to the repository/commit cache, release the legacy lock, and acquire the cache lock before inspecting or rebuilding there? One suggested replacement for the locked block at lines 1799–1821 is:

            while True:
                with file_lock(setup_dir, "OpenHands setup"):
                    openhands_dir = setup_dir / "OpenHands"
                    miniforge_dir = setup_dir / "miniforge3"
    
                    if self._existing_setup_is_reusable(openhands_dir):
                        print(f"OpenHands already set up at {setup_dir}", flush=True)
                        self._sync_openhands_to_commit(openhands_dir, commit)
                        return setup_dir
    
                    if setup_dir == legacy_dir:
                        setup_dir = (
                            self.setup_root / "swe_openhands_setup" / _repo_slug(repo) / commit
                        )
                        continue
    
                    print(f"Setting up OpenHands environment at {setup_dir}...", flush=True)
                    rmtree(setup_dir, ignore_errors=True)
                    setup_dir.mkdir(parents=True, exist_ok=True)
    
                    script_fpath = self.parent_dir / "setup_scripts/openhands.sh"
                    command = f"""SETUP_DIR={setup_dir} \
    MINIFORGE_DIR={miniforge_dir} \
    OPENHANDS_DIR={openhands_dir} \
    AGENT_FRAMEWORK_REPO={self.config.agent_framework_repo} \
    AGENT_FRAMEWORK_COMMIT={commit} \
        {script_fpath}"""
                    self._run_setup_command(command)
                    return setup_dir

    The continue exits the old lock context; the next iteration recomputes both dependent paths under the cache lock.

    Proposed acceptance: call setup() with temporary legacy/cache roots, a full commit SHA, and a legacy sentinel; make the probe succeed once, then fail. Expect the build destination and returned path to be the repository/commit cache, with the legacy sentinel unchanged. Also check that a healthy cache is reused after redirection and an unhealthy cache is rebuilt. Retain healthy legacy reuse, initially unhealthy legacy fallback, explicit-cache opt-out, and the no-remote warning-and-reuse branch. Preserve the path assertions in the resolution tests. This patch is source-reasoned, not executed; please verify it before adopting it.

  • responses_api_agents/swe_agents/app.py line 1738: RISK — Convert interpreter launch errors into failed probes

    An existing .venv/bin/python file without execute permission passes the existence gate, but this subprocess.run call raises PermissionError instead of returning a failure description. An invalid executable has the same problem. The exception reaches server initialization, so startup aborts rather than rejecting the partial setup and recovering through the cache/build path.

    Could you catch OSError around this call and return an actionable diagnostic? The probe must classify an unusable interpreter as unhealthy even when it cannot launch. Suggested replacement for the subprocess call below also includes the isolation and decoding corrections described in the other probe findings:

            try:
                probe = subprocess_run(
                    [
                        str(venv_python),
                        "-I",
                        "-c",
                        (
                            "from importlib.metadata import version; "
                            "from packaging.version import Version; "
                            "assert Version(version('jinja2')) >= Version('3.1.3'); "
                            "assert Version(version('pyjwt')) >= Version('2.9'); "
                            "assert Version(version('sqlalchemy')) >= Version('2.0.40'); "
                            "assert Version(version('flask')) >= Version('2.2'); "
                            "import datasets, wandb"
                        ),
                    ],
                    capture_output=True,
                    text=True,
                    errors="replace",
                    env={**os.environ, "PYTHONNOUSERSITE": "1"},
                )
            except OSError as exc:
                return f"{type(exc).__name__}: {exc}"

    Proposed acceptance: create a non-executable interpreter file; expect a failure diagnostic and _existing_setup_is_reusable(...) == False, without an exception. Repeat with an executable file containing invalid executable bytes. Retain healthy executable → reusable, missing interpreter → not reusable, nonzero exit → not reusable, and the no-remote caller's warning-and-return behavior. These checks and the suggested code haven't been executed; please verify them before adoption.

  • responses_api_agents/swe_agents/app.py line 1740: RISK — Isolate validation from the host's Python settings

    The probe inherits all host environment variables except that it overrides PYTHONNOUSERSITE. With PYTHONOPTIMIZE=1, all four assert statements are disabled: a venv below a required version floor can be declared reusable as long as the remaining imports succeed. Likewise, an otherwise empty target venv can pass when host PYTHONPATH points to a healthy donor's site-packages. The actual harness is launched with apptainer exec --cleanenv, so that host search path isn't evidence that the target environment works.

    Could you run the target interpreter in isolated mode by inserting -I here?

                    str(venv_python),
                    "-I",
    

    This ignores inherited Python environment controls and excludes the host search path while retaining the target venv's installed packages. The probe imports installed dependencies only; none of its inspected callers requires the current directory on the import path.

    Proposed acceptance: a target containing one sub-floor package must remain rejected with PYTHONOPTIMIZE=1. An empty target venv must remain rejected when PYTHONPATH points to a healthy donor venv. A self-contained healthy target must remain reusable with or without those variables, and missing datasets or wandb must still fail. These are source-reasoned checks, not executed results; please verify the suggestion.

  • responses_api_agents/swe_agents/app.py line 1753: RISK — Decode failed-probe output with replacement

    Under a UTF-8 locale, an executable probe fixture containing the following produces an undecodable stderr byte:

    #!/bin/sh
    printf '\377' >&2
    exit 1

    Because text=True uses strict decoding here, the call raises UnicodeDecodeError before the helper can return its failure description. Setup therefore aborts instead of rejecting the unhealthy venv. The trusted subprocess guidance explicitly requires replacement decoding.

    Could you add:

                text=True,
                errors="replace",
    

    The invariant is that arbitrary probe output cannot prevent the reuse decision. Preserve the last-stderr-line diagnostic and empty-stderr exit-code fallback; only undecodable bytes should change.

    Proposed acceptance: under a UTF-8 locale, the fixture above should return a nonempty diagnostic and make reuse return False, without raising. Retain the ASCII ModuleNotFoundError case in the diagnostic test, empty stderr plus exit 1 → exit code 1, and successful exit → reusable. These checks weren't executed; please verify the suggestion.

  • responses_api_agents/swe_agents/tests/test_app.py line 1249: NOTE — Suggestion: make the diagnostic test distinguish the last line from all stderr

    The fixture and assertion supply one stderr line and check only a substring. Returning the entire stderr would keep this test green despite breaking its named last-line behavior. This is a diagnostic-coverage improvement, not a demonstrated runtime defect.

    Replace the test body with a multiline fixture and an exact assertion:

            openhands_dir = self._fake_openhands_dir(
                tmp_path,
                "#!/bin/sh\necho 'traceback detail' >&2\n"
                "echo 'ModuleNotFoundError: No module named wandb' >&2\nexit 1\n",
            )
            failure = self._reuse_processor()._probe_openhands_venv(openhands_dir)
            assert failure == "ModuleNotFoundError: No module named wandb"

    Proposed acceptance: this should pass with the current helper and fail if it returns the first line or full stderr. Retain the neighboring missing/healthy/failing reuse cases; an empty-stderr case should still expect exit code 1, keeping that fallback distinct. I haven't executed these checks; please verify the replacement.

Review generated by codex. This was a full review. Request a full review with /review reset=true.

@athitten

Copy link
Copy Markdown
Contributor

@tdene can you please address the comments above ? Thanks

@athitten

Copy link
Copy Markdown
Contributor

@tdene still needed before review: if the second check fails on the pre-staged tree, build in the cache directory instead of deleting the shared tree. Treat a check that can't start or prints non-UTF-8 output as a failed check, and run it with -I. Please also add one real OpenHands smoke run, and say why wandb is now required.

@tdene

tdene commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

@athitten Sorry for the delay. I've addressed all the comments.

  • wandb was not required, it got added in at some point by an agent's rebase on top of the most recent main. Removed.
  • Fixed non UTF-8 output.
  • Fixed the deletion of the shared tree.
  • Fixed all of Claude's points.

@tdene
tdene force-pushed the tde/openhands_env_validation branch from 6bc4eb7 to ac4d299 Compare November 25, 2026 19:48
@tdene

tdene commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test ac4d299

@nemo-automation-bot
nemo-automation-bot Bot requested a review from a team November 25, 2026 19:49
@tdene
tdene force-pushed the tde/openhands_env_validation branch from ac4d299 to bce41ab Compare November 26, 2026 22:57
@tdene

tdene commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test bce41ab

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

@svcnvidia-nemo-ci svcnvidia-nemo-ci added the risk:mid Autobot PR risk: mid label Nov 26, 2026
Signed-off-by: Teodor-Dumitru Ene <[email protected]>
@tdene
tdene force-pushed the tde/openhands_env_validation branch from bce41ab to 9a6578f Compare November 27, 2026 03:21
@tdene

tdene commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Rollout evidence (one golden-patch episode of
astropy__astropy-12907 per server start, an empty cache directory to begin with):

  • Fresh install: servers ready after 181 s, episode resolves.
  • Restart on that install: "OpenHands already set up", servers ready after 15 s, episode resolves.
  • Install interrupted during make build (venv present, datasets missing, logs, evaluation/oh and .eval_sessions not created). main reuses it ("OpenHands already set up"), every container fails to start and the episode scores 0. This PR reports "failed its runtime probe (ModuleNotFoundError: No module named 'datasets'); not reusing it", rebuilds, and the episode resolves.

@athitten

Copy link
Copy Markdown
Contributor

/review reset=true

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SHIP WITH CARE

I found one cache-rebuild reliability risk and a remaining required validation gap. I inspected both changed files and traced setup, locking, container mounts and output collection. The earlier pre-staged-tree deletion, interpreter-launch, Python-isolation, UTF-8 decoding and last-line diagnostic findings are fixed.

RISK: The supplied smoke evidence still bypasses the OpenHands agent

The author's rollout report provides useful fresh-install, restart/reuse and interrupted-install recovery evidence. Those episodes use golden patches, however. process_single_datapoint takes the golden-verification branch before launching the agent; that branch writes the reference patch and starts only evaluation. It does not show that the rebuilt environment launches OpenHands, reaches a model and produces a usable trajectory.

Could you add a representative model-driven OpenHands rollout after unhealthy-cache recovery with verify_golden_patch=false? Record the reviewed SHA, config, framework commit, model, task and commands, then inspect the trajectory and completed verification. The model need not solve the task. This closes the required real-model smoke check without changing task or reward semantics. This narrows the earlier evidence finding: setup/evaluation evidence now exists, but model-driven agent evidence is still missing.

Validation

  • CI for this head merged into the admitted base passed Unit tests / Changed server tests: 256 passed, 2 warnings. Unit tests / Test, Unit tests / Server suite and Lint check also succeeded. The non-blocking Environment Server compliance aggregate failed, while its responses_api_agents/swe_agents check succeeded; I have not attributed that aggregate failure to this change.
  • I used 766267172432.dkr.ecr.us-east-1.amazonaws.com/gym:e58425147cf1729131f8cf3f16dad5fe266944dd, the default-branch CI image because this head's container build was skipped. Existing passing suites were not rerun locally.
  • CPU probes under /workspace/review-probes/ exercised the exact extracted methods with disposable interpreters and controlled dependency fixtures. They confirmed dependency-floor rejection, missing-datasets rejection, isolation, launch-error handling and replacement decoding. Lifecycle probes confirmed the pre-staged fallback fix and reproduced the live-cache/output deletion described inline. A mutation probe showed all seven diagnostic fixtures still pass with the dependency-check payload replaced by pass. A golden-route probe confirmed that mode bypasses agent execution.
  • These probes stubbed installation, Git synchronization and external execution. I did not run OpenHands, Apptainer or a real model rollout.

I checked the previous review's findings against the current source. Its commit 6bc4eb72f01391dcb691ec4094ae16bf01583ccf was not reachable in the admitted sources, so I could not compare revisions directly.

Review generated by codex. This was a full review. Request a full review with /review reset=true.

Comment thread responses_api_agents/swe_agents/app.py Outdated
miniforge_dir = setup_dir / "miniforge3"

if self._openhands_tree_valid(setup_dir):
if self._existing_setup_is_reusable(openhands_dir):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RISK: Rebuilding an unhealthy cache can delete another driver's live installation and output.

This new predicate sends an interpreter-present repository/commit cache to rmtree(setup_dir) when its health probe fails. Another driver can already be using that directory because file_lock protects setup only. Its containers mount the shared tree and writable output directories, and its host collector keeps reading that concrete path. Read-only container mounts do not prevent host-side deletion.

The disposable base-vs-head probe at /workspace/review-probes/setup-lifecycle-1/probe.py showed active_output_survived=true on base and false on head after a second startup observed a failing probe. consumer_probe.py then exercised the actual collector and produced FileNotFoundError with partial_output_lost=true. Installation and Git sync were stubbed; deletion and collection used the real methods.

Could the rebuild use a new concrete cache generation and keep the old directory until existing consumers drain, or explicitly coordinate a drain before deleting it? Keep healthy-cache reuse, repository/commit isolation and the fixed pre-staged fallback. Acceptance: driver A's installation and output survive driver B's repair, A's collector still succeeds, concurrent repairs converge on one healthy replacement, and later startups reuse it. This is separate from the now-fixed pre-staged-tree deletion finding.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in b0e9edc. A tree that has an interpreter is never deleted any more.

@pytest.mark.parametrize(
("probe_script", "mode", "failure"),
[
('#!/bin/sh\n[ "$1" = -I ]\n', 0o755, None), # healthy, and run in isolated mode

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: Suggestion: test the dependency-check payload with Python too.

These shell interpreters protect useful OS-boundary behavior, but none executes the -c program containing the version checks and datasets import. In /workspace/review-probes/tests-contracts-1/probe_test_oracles.py, all seven diagnostic fixtures accepted both the actual helper and a helper whose Python payload was replaced by pass. Removing the central health checks would therefore leave these cases green.

Could you add a focused behavioral test using a real disposable Python environment with controlled distribution metadata/imports? Cover a healthy environment, each below-floor dependency and missing datasets, through the actual probe. Keep the shell cases for launch and decoding failures. Acceptance: removing any required dependency check makes its corresponding test fail, without asserting command text or duplicating the implementation.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added test_probe_checks_the_dependencies_of_a_real_venv in b0e9edc.

Signed-off-by: Teodor-Dumitru Ene <[email protected]>
@tdene

tdene commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test b0e9edc

Signed-off-by: Teodor-Dumitru Ene <[email protected]>
@tdene

tdene commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test aafac3a

@ffrujeri ffrujeri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes. The pre-staged tree, launch-error, -I, decoding and live-cache points are all addressed, and the tests now run a real venv. Two questions remain. Which real case needs the four version floors (inline)? And could the rollout evidence run again on this head? The 2026-11-27 evidence comes before the <sha>.<n> path and the probe after a build, and golden-patch episodes do not start the OpenHands agent. One episode with verify_golden_patch=false, after recovery from an interrupted install, would also close the open request from the 2026-11-30 bot review.

Also, README.md line 88 gives the cache layout as swe_openhands_setup/<repo>-<hash>/<sha> and tells operators to prune old trees. Could one sentence there say that a tree that fails the probe stays on disk, and that the next tree is built at <sha>.<n>?

Comment thread responses_api_agents/swe_agents/app.py Outdated
(
"from importlib.metadata import version; "
"from packaging.version import Version; "
"assert Version(version('jinja2')) >= Version('3.1.3'); "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The venv is mounted read-only into every container, so an episode cannot change these packages. Which real case do these four version floors catch? The rollout evidence shows only the missing datasets case. Also, with the probe after a build, an agent_framework_commit whose lock pins one of these packages below its floor now stops server startup, where main works. If no real case needs the floors, could the probe check only import datasets?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which real case do these four version floors catch?

None, this was some legacy check for my setup when the PR was still opened. My bad. Fixed, thank you.

Signed-off-by: Teodor-Dumitru Ene <[email protected]>
@nemo-automation-bot
nemo-automation-bot Bot requested a review from a team December 2, 2026 18:10

This branch was previously deployed

1 inactive (outdated) deployment
public — 6bc4eb72 Deployed Oct 2, 2026 by copy-pr-bot[bot] via release / finalize / notify #4155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent Agent harnesses and Responses API agent behavior bug Something isn't working needs-review PR is ready for code review and waiting on a reviewer risk:mid Autobot PR risk: mid

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants