Repository navigation
Conversation
Leeaoyin
left a comment
There was a problem hiding this comment.
Review conclusion for upstream agentscope-ai#3463: no production defect found in the exercised offline runtime paths; regression tests are the only change.
Actual reset_equipped_tools -> read_file execution returns the expected fixture. Inactive schemas, same-user session isolation, cross-call state, duplicate activation, replacement switching, empty reset, disable/deny behavior, and both local subagent factories pass. Targeted: 12/12 passed. Harness reactor: 3756 tests, 0 failures/errors, 19 skipped; Spotless and diff checks pass.
C13/C14: unchanged activation preserves the ordered complete schema; switching groups intentionally changes it and clearing restores the baseline. Such expected dynamic-schema changes are not a prompt-cache defect. This does not measure provider cache hits or process-restart restoration.
Posting this conclusion directly on upstream agentscope-ai#3463 was denied by the GitHub integration (403). The test commit is edc8cf0 and can be cherry-picked.
|
Integrated I also checked the Ubuntu job: the Maven build completed successfully; the job failed afterward because Codecov rejected a tokenless upload for the fork ( |
Test-only supplement to upstream PR #3463, based on 3c15880. The review base preserves the original PR; this diff adds only runtime regression tests.
The offline scripted Model emits real reset_equipped_tools -> read_file calls and verifies the actual fixture contents returned in tool results. Tests cover inactive schemas, same-user Session A/B isolation, activation across calls, duplicate activation, replacement switching to web, clearing all groups, disabled web and denied write_file, and runtime execution in both general-purpose and declared subagent factories.
Ordered full schema snapshots remain stable with unchanged activation and return to the initial snapshot after clearing. Group switches intentionally change schemas, including the meta-tool description. For C13/C14, this expected dynamic prefix change should not be classified as a prompt-cache defect. Provider cache-hit behavior and process-restart restoration are outside this test scope.
Validation completed on Java 17:
The environment requires an explicit Byte Buddy -javaagent because Mockito self-attachment is unavailable; repository JVM configuration is unchanged. Memory hooks are disabled in scripted fixtures to exclude unrelated memory-consolidation requests. No production changes were needed for the exercised behavior.
GitHub integration permissions returned 403 for both creating a stacked PR in the author's fork and posting a Review on upstream agentscope-ai#3463. Tests and the review conclusion are therefore submitted in this connected fork. The upstream author can cherry-pick edc8cf0.