Skip to content

refactor(remote_agent): single-pass unpaired-call guard - #2321

Merged
adil-a merged 2 commits into
mainfrom
remote-agent-single-pass-guard
Aug 4, 2026
Merged

refactor(remote_agent): single-pass unpaired-call guard#2321
adil-a merged 2 commits into
mainfrom
remote-agent-single-pass-guard

Conversation

@adil-a

@adil-a adil-a commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #2163, the unpaired call guard now makes one pass over the output items instead of two comprehensions.

🤖 Generated with Claude Code

Replace the two comprehensions with one pass over the output items, per
review suggestion on #2163. Behavior change pinned by a new test: duplicate
call_ids now collapse to the last occurrence instead of executing each
(call_id is unique by contract).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: adil-a <adil.asif2000@hotmail.com>
@copy-pr-bot

copy-pr-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@adil-a
adil-a requested a review from ffrujeri August 4, 2026 17:52
@adil-a adil-a added the r0.5.0 Auto-cherrypick to release branch. Apply before merge; cherrypick happens after merge. label Aug 4, 2026
@adil-a
adil-a merged commit a513744 into main Aug 4, 2026
22 checks passed
@adil-a
adil-a deleted the remote-agent-single-pass-guard branch August 4, 2026 18:32
ananthsub pushed a commit that referenced this pull request Aug 6, 2026
…into `r0.5.0` (#2322)

beep boop [🤖]: Hi @adil-a 👋,

    we've cherry picked #2321 into  for you! 🚀

    Please review and approve this cherry pick by your convenience!

Signed-off-by: adil-a <adil.asif2000@hotmail.com>
Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
Co-authored-by: Adil <47084919+adil-a@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: kajalj22 <kajalj@nvidia.com>
OlegSudakov pushed a commit to OlegSudakov/Gym that referenced this pull request Aug 7, 2026
…2321)

Follow-up to NVIDIA-NeMo#2163, the unpaired call guard now makes one pass over the
output items instead of two comprehensions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: adil-a <adil.asif2000@hotmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

r0.5.0 Auto-cherrypick to release branch. Apply before merge; cherrypick happens after merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants