[checkpoint] Restore example MCP weather call history
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 38/100
Research direction
Start with resources_servers/example_mcp_weather/app.py and the parent issues #3219 and #3024; identify how the expected city and ordered weather-call history are used by verification. Done means the listed restore, isolation, fencing, corruption, revision, replacement, and idempotent cleanup acceptance criteria all pass.
Written by the indexing model from the issue text.
Description
Parent
Child of #3219 and #3024.
Problem and state owner
resources_servers/example_mcp_weather/app.py owns the expected city and ordered weather-call history required by verification.
Proposed adapter
Persist expected city and ordered {city, weather} records, then bind the replacement execution to a fresh local session.
Implement explicit checkpoint opt-in, route classification, export/restore/retire hooks, execution-to-session binding, revision reporting, atomic replacement under attempt N+1, and stale-attempt fencing.
Acceptance criteria
- A call followed by restore verifies successfully; a no-call snapshot still fails verification and concurrent sessions remain isolated.
- Checkpoint after multiple mutations, replace the server process, restore, and compare the next operation with an uninterrupted execution.
- Corrupt or incomplete bulk state activates no sessions.
- Attempt N cannot mutate or retire restored attempt N+1.
- Terminal cleanup is idempotent and releases restored state exactly once.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 349
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 318
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA-NeMo/Gym
-
community-request waiting-on-maintainers
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
NVIDIA-NeMo/Gym#3500 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 74/100
NVIDIA-NeMo/Gym#3328 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NVIDIA-NeMo/Gym#3312 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
NVIDIA-NeMo/Gym#2994 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NVIDIA-NeMo/Gym#2937 · 1 comment ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100