Skip to content

Sync shared sandbox trace selection with main #2327 - #2

Closed
ShilohYu wants to merge 1 commit into
feat/zerobench-on-pr2354from
fix/sandbox-trace-main-sync-20261202
Closed

ShilohYu wants to merge 1 commit into
feat/zerobench-on-pr2354from
fix/sandbox-trace-main-sync-20261202

Conversation

@ShilohYu

@ShilohYu ShilohYu commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Migrated to InternLM#2368. Continue review in the official InternLM/xtuner repository; source and target branches are both hosted there. This historical PR is closed without merging.


The sandbox stack extracted an earlier version of assistant-branch selection into a shared module. Main InternLM#2327 subsequently changed tool echo and argument comparison; keeping the older helper incorrectly retracts valid actions when wire IDs or reasoning fields change.

Copy the current implementation from main 0861934 into the existing shared module so legacy and native sandbox exports use the same behavior. This reuses upstream logic, with one targeted regression for a tool echo whose wire metadata changed.

Stacked on feat/zerobench-on-pr2354 (c5c9298), the head of jayhenry#6. Integration with main retains the shared import rather than adding a second implementation or duplicate rollback arguments.

Validation: upstream InternLM#2327 tests and the shared helper regression passed in the integrated suite (23 passed, 26 subtests). Native TraceStore regressions passed (19 tests). The integrated candidate (33fd4d9) also passed one real eight-GPU Qwen GRPO update with checkpoint parameter/optimizer checks and cleanup verification.

@ShilohYu ShilohYu closed this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant