Skip to content

feat(checkpoint): report every participant's checkpoint mode in status and discovery - #4957

Merged
macandro96 merged 4 commits into
mainfrom
amahishi/agent-status-restart-only
Oct 26, 2026
Merged

macandro96 merged 4 commits into
mainfrom
amahishi/agent-status-restart-only

Conversation

@macandro96

@macandro96 macandro96 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Lets a training framework tell, from discovery alone, whether each checkpoint participant's rollouts can continue after a crash.

An agent that declares checkpoint_mode = "restart_only" (the default) takes part in checkpoints through RestartOnlyAgentParticipant. That is the safe default: its in-flight rollouts are reported as restarts and start over from their input after a crash. But its /ng-control/v1/checkpoint/status reply did not say so. Both agent participants report kind: "agent", and the only difference was that the session participant also reports accepting. Resources servers already report their checkpoint mode; agents had no equivalent.

So a controller that asks for turn-level recovery could only find out at the first checkpoint, from the restarts it reports, that every rollout of that agent would start over. NeMo RL wants to refuse that configuration at setup unless the user opts in (review on NVIDIA-NeMo/RL#4500).

The change. Every checkpoint participant now declares its checkpoint mode (restart_only, stateless or exported) next to its kind, and the control plane refuses a participant without a valid one when it is built:

Participant mode
RestartOnlyAgentParticipant restart_only
AgentSessionParticipant exported
EnvironmentParticipant the server's checkpoint_mode, passed in by setup_environment_checkpoint
ResourcesParticipant its mode, as before
PolicyModelParticipant, CoordinatedPolicyParticipant exported
CoordinatedServerParticipant the wrapped participant's mode, copied as kind is

The status reply reports mode beside kind rather than in status_extra(); the resources participant's extras drop the mode they carried, and the reply's shape is otherwise unchanged. discover() reads it from the status reply it already fetches into Participant.mode, so a controller can find restart-only servers from discovery alone, with no second round of status calls. Because the coordinator copies the mode, a server with several workers reports it even when no worker answers the status call in time.

The agent harness guide notes the field next to checkpoint_mode.

Validation

  • Every participant kind reports its mode beside its kind through the real status route: both agent participants, an environment participant of each mode, a resources participant of each mode, and the policy model.
  • An environment server's status reports its declared checkpoint_mode.
  • A participant whose mode is missing or misspelled is refused when its control plane is built.
  • discover() returns each participant's mode, and refuses a status reply that names none.
  • A server with several workers reports the mode when no worker answers the status call.
  • Mutation checks: not copying the mode in the coordinator, not refusing a missing mode, not validating it in discover(), ignoring the environment server's checkpoint_mode, and a wrong agent mode each fail a test.
  • tests/unit_tests/test_checkpoint_{control,coordination,participant_workers,agent,environment,sequences_mixed}.py and test_environment_server.py: 317 passed, plus the new environment-server test. responses_api_agents/simple_agent/tests: 77 passed. environment_servers/single_agent_turn only changes how its tests build EnvironmentParticipant; it had no local venv, so CI covers it.
  • pre-commit run --files on the changed files: every hook passes.

Rollouts

N/A: this adds a field to the checkpoint control status reply and changes no rollout, verifier or checkpoint behavior.

Compatibility

  • Additive on the wire: status replies gain mode for every participant and lose none of their other fields; a resources server's mode keeps its key and value.
  • EnvironmentParticipant now takes a required keyword mode, and coordination.Participant gains a required mode field.
  • discover() refuses a participant whose status names no mode, so every server in a deployment must run a Gym with this change.

Checklist

  • I have read the contributing guidelines.
  • The change is focused; unrelated "drive-by" edits are tracked as separate issues/PRs.
  • Tests added or updated and pass locally, or N/A for docs-only / non-code changes (so CI unit/server checks pass when applicable).
  • Documentation added or updated, or N/A with justification.
  • Pre-commit checks pass locally (pre-commit run --all-files) (so CI lint/format checks pass). Run with --files on the changed files; every hook passes.
  • New source files include the required Apache-2.0 SPDX header. N/A: no new files.
  • All commits have DCO sign-off (git commit -s) (so the DCO check passes).

🤖 Generated with Claude Code

@copy-pr-bot

copy-pr-bot Bot commented Oct 23, 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.

@macandro96 macandro96 added the area:core Shared APIs, servers, telemetry, health, and registries label Oct 23, 2026
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the feature New capabilities, enhancements, or enablement work label Oct 23, 2026
@macandro96
macandro96 requested a review from ananthsub October 23, 2026 03:44
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 23, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the needs-review PR is ready for code review and waiting on a reviewer label Oct 23, 2026
@macandro96 macandro96 changed the title feat(checkpoint): report whether an agent continues its rollouts in checkpoint status feat(checkpoint): report an agent's checkpoint mode in checkpoint status Oct 26, 2026
@macandro96
macandro96 force-pushed the amahishi/agent-status-restart-only branch from 211f90d to 93aa07d Compare October 26, 2026 02:23
@macandro96

Copy link
Copy Markdown
Contributor Author

/ok to test 93aa07d

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Comment thread nemo_gym/_checkpoint/agent.py Resolved
@ananthsub

ananthsub commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Thanks @macandro96 for this fix.

The inline comment asks to extend from agents to every participant, as a common field next to kind that discover() returns. Environment servers can be restart-only since #4997 and don't report it yet. A required field lets controllers like NeMo RL (NVIDIA-NeMo/RL#4500) read every server's mode from discover(), with no second round of status calls and no "unknown" case.

A typed status reply, with each kind's other fields under its own key, can follow separately.

macandro96 and others added 2 commits October 25, 2026 20:03
An agent that declares checkpoint_mode = "restart_only" takes part in
checkpoints through RestartOnlyAgentParticipant: its in-flight rollouts are
reported as restarts and start over from their input after a crash. Its
/status reply did not say so; it differed from an exported agent's only in
lacking the session participant's accepting field. A training framework that
asks for turn-level recovery could therefore learn only at its first
checkpoint that every rollout of that agent would start over.

Both agent participants now report mode in /status, the key and values a
resources server already reports: exported for an agent that continues its
rollouts, restart_only for one that restarts them. A server with several
workers reports the workers' shared mode, as it does for resources servers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
…s contract

Reporting mode only from the agent participants' status extras left it
optional: environment servers declare checkpoint_mode but their status said
nothing, the policy model said nothing, and a server with several workers
built its extras only from the workers that answered in time. A controller
still had to treat a missing mode as unknown for some kinds and as "always
saves" for others, and made a second round of status calls after discovery.

Every CheckpointParticipant now declares mode next to kind, and the control
plane refuses a participant without a valid one. Agents and the policy model
set it as a class constant, a resources participant keeps the mode it is
given, an environment participant takes its server's checkpoint_mode, and the
several-worker coordinator copies it from the wrapped participant as it
copies kind. The status reply reports mode beside kind instead of in the
extras, and discover() reads it into Participant.mode, so a controller can
filter restart-only servers from discovery alone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
@macandro96
macandro96 force-pushed the amahishi/agent-status-restart-only branch from 93aa07d to b74bfe4 Compare October 26, 2026 03:11
@macandro96 macandro96 changed the title feat(checkpoint): report an agent's checkpoint mode in checkpoint status feat(checkpoint): report every participant's checkpoint mode in status and discovery Oct 26, 2026
@macandro96
macandro96 requested a review from ananthsub October 26, 2026 03:18

@ananthsub ananthsub 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.

LGTM! one small comment for CI and then this is good to ship

Comment thread nemo_gym/_checkpoint/environment.py Resolved
@ananthsub

Copy link
Copy Markdown
Contributor

/ok to test b74bfe4

@nemo-automation-bot
nemo-automation-bot Bot requested review from a team October 26, 2026 14:02
…metry tests

coordination.Participant now has a required mode field; the coordination
telemetry tests built participants without it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
@macandro96

Copy link
Copy Markdown
Contributor Author

/ok to test 5721be0

@macandro96
macandro96 added this pull request to the merge queue Oct 26, 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/40412066372

Merged via the queue into main with commit 98a6df2 Oct 26, 2026
53 of 56 checks passed
@macandro96
macandro96 deleted the amahishi/agent-status-restart-only branch October 26, 2026 22:54
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 26, 2026
…rom discovery

Gym main now has NVIDIA-NeMo/Gym#4957: every checkpoint participant
reports its checkpoint mode, and discover() returns it. The restart-only
check reads that mode instead of asking every participant for its status
again, and no longer depends on an agent status field that never shipped.

The pin also brings NVIDIA-NeMo/Gym#4997's renames: the policy model's
checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads
the codes from Gym's error classes; only test fixtures named them.

NVIDIA-NeMo/Gym#3909 lets checkpointing agents and resources servers run
several workers, so the guide drops the num_workers: 1 requirement.

Gym's dependencies are unchanged, so uv.lock is too.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 26, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 26, 2026
…rom discovery

Gym main now has NVIDIA-NeMo/Gym#4957: every checkpoint participant
reports its checkpoint mode, and discover() returns it. The restart-only
check reads that mode instead of asking every participant for its status
again, and no longer depends on an agent status field that never shipped.

The pin also brings NVIDIA-NeMo/Gym#4997's renames: the policy model's
checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads
the codes from Gym's error classes; only test fixtures named them.

NVIDIA-NeMo/Gym#3909 lets checkpointing agents and resources servers run
several workers, so the guide drops the num_workers: 1 requirement.

Gym's dependencies are unchanged, so uv.lock is too.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 27, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 27, 2026
…rom discovery

Gym main now has NVIDIA-NeMo/Gym#4957: every checkpoint participant
reports its checkpoint mode, and discover() returns it. The restart-only
check reads that mode instead of asking every participant for its status
again, and no longer depends on an agent status field that never shipped.

The pin also brings NVIDIA-NeMo/Gym#4997's renames: the policy model's
checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads
the codes from Gym's error classes; only test fixtures named them.

NVIDIA-NeMo/Gym#3909 lets checkpointing agents and resources servers run
several workers, so the guide drops the num_workers: 1 requirement.

Gym's dependencies are unchanged, so uv.lock is too.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 28, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 28, 2026
…rom discovery

Gym main now has NVIDIA-NeMo/Gym#4957: every checkpoint participant
reports its checkpoint mode, and discover() returns it. The restart-only
check reads that mode instead of asking every participant for its status
again, and no longer depends on an agent status field that never shipped.

The pin also brings NVIDIA-NeMo/Gym#4997's renames: the policy model's
checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads
the codes from Gym's error classes; only test fixtures named them.

NVIDIA-NeMo/Gym#3909 lets checkpointing agents and resources servers run
several workers, so the guide drops the num_workers: 1 requirement.

Gym's dependencies are unchanged, so uv.lock is too.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 31, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 31, 2026
…pt Gym's checkpoint names

Gym main reports every checkpoint participant's mode (NVIDIA-NeMo/Gym#4957)
and discover() returns it. The restart-only check reads that mode instead of
asking every participant for its status again, and no longer depends on an
agent status field that never shipped.

Gym also settled its checkpoint names (NVIDIA-NeMo/Gym#4997): the policy
model's checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads the
codes from Gym's error classes; only test fixtures named them.

Checkpointing agents and resources servers may run several workers since
NVIDIA-NeMo/Gym#3909, so the guide drops the num_workers: 1 requirement.

Main's Gym pin already includes all three.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 31, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 31, 2026
…pt Gym's checkpoint names

Gym main reports every checkpoint participant's mode (NVIDIA-NeMo/Gym#4957)
and discover() returns it. The restart-only check reads that mode instead of
asking every participant for its status again, and no longer depends on an
agent status field that never shipped.

Gym also settled its checkpoint names (NVIDIA-NeMo/Gym#4997): the policy
model's checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads the
codes from Gym's error classes; only test fixtures named them.

Checkpointing agents and resources servers may run several workers since
NVIDIA-NeMo/Gym#3909, so the guide drops the num_workers: 1 requirement.

Main's Gym pin already includes all three.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 31, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Oct 31, 2026
…pt Gym's checkpoint names

Gym main reports every checkpoint participant's mode (NVIDIA-NeMo/Gym#4957)
and discover() returns it. The restart-only check reads that mode instead of
asking every participant for its status again, and no longer depends on an
agent status field that never shipped.

Gym also settled its checkpoint names (NVIDIA-NeMo/Gym#4997): the policy
model's checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads the
codes from Gym's error classes; only test fixtures named them.

Checkpointing agents and resources servers may run several workers since
NVIDIA-NeMo/Gym#3909, so the guide drops the num_workers: 1 requirement.

Main's Gym pin already includes all three.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Nov 2, 2026
…unless allowed

A restart-only Gym server reports its in-flight rollouts as restarts at every
checkpoint, so under target_level='turn' they quietly start over from their
tasks after a crash, and nothing told the user. Restart-only is Gym's default
for resources servers that declare no checkpoint mode and for agents without
checkpoint session support.

Before the first rollout, SC reads every Gym participant's checkpoint status:
a resources server reports its mode, and an agent reports restart_only
(NVIDIA-NeMo/Gym#4957; an agent on an older Gym is not flagged). If any server
is restart-only, setup fails and names it, unless the new
rollout_recovery.allow_restart_only_gym_servers is true, which accepts it with
a warning. Setting it when no server is restart-only warns that it has no
effect, and setting it below target_level='turn' is rejected.

Each saved rollout snapshot also logs gym_restarted_episodes, the episodes
that would start over after a crash, on its save line and as a metric.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Anish Mahishi <[email protected]>
macandro96 added a commit to NVIDIA-NeMo/RL that referenced this pull request Nov 2, 2026
…pt Gym's checkpoint names

Gym main reports every checkpoint participant's mode (NVIDIA-NeMo/Gym#4957)
and discover() returns it. The restart-only check reads that mode instead of
asking every participant for its status again, and no longer depends on an
agent status field that never shipped.

Gym also settled its checkpoint names (NVIDIA-NeMo/Gym#4997): the policy
model's checkpoint_policy moves into a checkpoint block, restored_pending is
unclaimed, and control error codes carry a checkpoint_ prefix. RL reads the
codes from Gym's error classes; only test fixtures named them.

Checkpointing agents and resources servers may run several workers since
NVIDIA-NeMo/Gym#3909, so the guide drops the num_workers: 1 requirement.

Main's Gym pin already includes all three.

Signed-off-by: Anish Mahishi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

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

Labels

area:core Shared APIs, servers, telemetry, health, and registries feature New capabilities, enhancements, or enablement work needs-review PR is ready for code review and waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants