Repository navigation
fix(pi): report session errors and retain ownership - #4739
Merged
giuliolovisotto merged 14 commits intoOct 22, 2026
Merged
giuliolovisotto merged 14 commits into
giuliolovisotto merged 14 commits into
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
giuliolovisotto
marked this pull request as ready for review
October 19, 2026 14:18
giuliolovisotto
marked this pull request as draft
October 19, 2026 14:20
giuliolovisotto
marked this pull request as ready for review
October 19, 2026 14:53
giuliolovisotto
changed the base branch from
main
to
glovisotto/conformance-terminal-errors
October 20, 2026 09:58
giuliolovisotto
force-pushed
the
glovisotto/pi-session-conformance
branch
from
October 20, 2026 09:58
bc5c530 to
b042521
Compare
This was referenced Oct 20, 2026
Contributor
Author
|
Follow-up to the review: 05758df rejects a final willRetry=true report as unfinished execution with a regression test, while legacy-path changes are explicitly out of scope; portable reproduction and current-head CI are linked. |
giuliolovisotto
force-pushed
the
glovisotto/pi-session-conformance
branch
from
October 22, 2026 06:13
05758df to
4b57220
Compare
lafrancef
previously approved these changes
Oct 22, 2026
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/39782171301 |
7 tasks done
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up on 17499e2 (2026-10-22)
Rebased with the shared policy changes; Pi implementation is unchanged in this follow-up. Earlier in this rebase, its full adapter suite passed 300 tests with 40 skipped. Scoped pre-commit on the final combined stack passed.
Rebase validation before the label/formatter follow-up: the combined tip
e5240e16epassed 28/28 Linux conformance scenarios, seven per harness. The policy-only heada928f859epassed 4/7 Hermes scenarios; the dependent stack fixes its evidence gaps. Both returned seven Hermes rollout records with no episode-failure rows; these scenarios do not establish exhausted-provider retry counts. These results are pinned to those revisions, not a claim of fresh CI or a new live-model run on the latest heads.Retain failed provider responses, partial output and token usage in agent sessions, with native causes classified for the shared Environment Server policy. Preserve ownership for interrupted activations and reject a final
agent_endwithwillRetry=trueas unfinished execution rather than a completed provider-error report.Stack: #4834 (policy) → #4742 (Hermes) → #4739 (Pi) → #4741 (OpenCode) → #4740 (Codex), registered as GitHub stack #4899. These changes must land together. Do not merge #4834 alone: the Hermes and Codex classifier fixes are in #4742 and #4740.
Scope: agent-session execution only; legacy paths are not part of this follow-up. No conformance expectations or shared policy defaults are changed.
Validation (2026-10-21)
d0b6b950a34bfbc63dfbfdf23c4abbf6d2e1bf34: 28/28, including Pi 7/7; this is combined-stack evidence, not an isolated-base claim.python -m pytest responses_api_agents/pi_agent/tests --import-mode=importlib -q -o addopts='' -o log_cli=false python scripts/run_harness_conformance.py --harness pi --timeout 300 --output /tmp/fresh-pi-conformanceFresh CI on combined stack tip
d0b6b950a: this harness passed 7/7 (download its report/tests/logs); all four stack harnesses passed, while the separate Kilocodemodel_errorfailure keeps the non-blocking aggregate red (full CI summary).