Skip to content

test(pi): isolate workspace tests from runtime installation - #4870

Merged
cmunley1 merged 1 commit into
NVIDIA-NeMo:mainfrom
ko3n1g:ko3n1g/test/pi-workspace-offline
Oct 24, 2026
Merged

cmunley1 merged 1 commit into
NVIDIA-NeMo:mainfrom
ko3n1g:ko3n1g/test/pi-workspace-offline

Conversation

@ko3n1g

@ko3n1g ko3n1g commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Background / motivation

What changed

  • Mock ensure_pi in the workspace staging/cleanup test, matching the other mocked local-run tests.

Details

  • Keep all eight MCP, context-policy, timeout, file-permission and cleanup assertions.
  • Installer behavior remains covered by the existing install-once, retry and cancellation tests.
  • Runtime behavior and benchmark results are unchanged. Model rollouts: N/A, test isolation only.

Tested

  • Reproduction: invoke the eight cases with responses_api_agents.pi_agent.app.ensure_pi forced to raise. Unchanged source: 8 failed; patched source: 8 passed.
  • PYTHONPATH="$PWD" ../Gym-4837-ci/.venv/bin/python -m pytest -o addopts= -o log_cli=false -q responses_api_agents/pi_agent/tests: 288 passed, 11 skipped. Environment installed from build(env): AUT-2574 lock managed environments and use uv sync #4837's locked Pi component; one upstream Starlette deprecation warning.
  • PYTHONPATH="$PWD" ../Gym-4837-ci/.venv/bin/pre-commit run --all-files: passed, including the private guardwords check; Markdown-name hook had no matching files.
  • git diff --check: passed. Commit includes DCO sign-off.

@ko3n1g ko3n1g added ci CI, automation, test queue, or workflow infrastructure work area:ci CI workflows, test routing, and repository automation needs-review PR is ready for code review and waiting on a reviewer labels Oct 21, 2026
@nemo-automation-bot
nemo-automation-bot Bot requested review from a team October 21, 2026 19:37
@github-actions

Copy link
Copy Markdown
Contributor

@cmunley1
cmunley1 added this pull request to the merge queue Oct 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/40114177589

@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/40114564095

Merged via the queue into NVIDIA-NeMo:main with commit 026948f Oct 24, 2026
52 of 58 checks passed

This branch was previously deployed

1 inactive deployment
public — 76536bb0 Deployed Oct 21, 2026 by copy-pr-bot[bot] via release / finalize / notify #6380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI workflows, test routing, and repository automation ci CI, automation, test queue, or workflow infrastructure work needs-review PR is ready for code review and waiting on a reviewer sla:triage-overdue Review assignment is over the one-business-day SLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants