fix(api): give the error-samples payload mock its cutAttributeBytes - #1171
Conversation
#1148's second commit added cutAttributeBytes to the payload row schema; the http test's mock row lacked it, so decode failed and the route returned 500.
Maple review🟢 Confidence 5/5 · safe to merge Adds the missing
What was checked
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes red CI on main (
ai-sessions.http.test.ts> error-samples > reads the payloads for the page: 500 ≠ 200), which also blocked Deploy PRD.cutAttributeBytestoaiToolErrorPayloadsRowSchema; the test's mock row didn't have it → row decode failed → 500.cutAttributeBytes: {}to the mock. Test file passes locally (49/49).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.