Repository navigation
Conversation
Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io>
✅ Deploy Preview for theagentrouter canceled.
|
|
The workflows for current head |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io>
|
Merged main at On Linux, the full The previous inference job timed out waiting for the secondary Gateway parent; its final InferencePool status contained only the primary parent. That controller/conformance source is identical on main, so this still needs separate CI validation. Could a maintainer approve Build and Test, Precommit, and CodeQL for |
Description
A
bodyMutation.setvalue such as1.0.0,+1, or[abc]passes the JSON-looking heuristic and is inserted unquoted, corrupting an otherwise valid request body. Use the existinggjson.Validvalidator so non-JSON values follow the existing string fallback. Valid JSON literals, objects, and arrays retain their types.Regression tests exercise
BodyMutator.Mutatewith malformed numbers, objects, arrays, escape sequences, empty strings, and valid JSON values.Related Issues/PRs (if applicable)
None.
Special notes for reviewers (if applicable)
make precommit: passed, including generated API files, lint, format, and Helm checks.make test: passes withTestStartConfigBundleWatcherandTestNewRunOpts_Errorsskipped. Both failures reproduce on unchangedmain; the permission tests also pass in a subprocess without DAC bypass capabilities.Codex assisted with the implementation and regression tests.