Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit details
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. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
Code review (code-reviewer pass) at 944d412Verdict: APPROVE The save, copy and upload catch blocks now go through one
Controls are present. The 500-with-string-detail case proves the fallback path, and the |
|
Branch deleted after verification: every commit is in main and the branch shows 0 changed files against main. Restore it from this PR if needed. |
Thinking Path
Review of the merge train found that save and copy 413 quota refusals bypass the translated refusal path used by create. All write calls in the composable now share one helper that calls the existing
describeApiRefusal; the SVG map test also gains a containment check.What Changed
useConversationFiles.ts: newdescribeFailure(wrapsdescribeApiRefusal, falls back toextractApiErrorMessage); used by create, batch upload (a sibling that skipped it),updateFileContentandcopyFile.useConversationFiles.createRefusal.spec.ts: tests for the three routes plus a non-refusal control.svg_migration_map_files_exist_20471_test.py: each path mustresolve()insideautobot-frontend/src(is_relative_to); negative fixture with a../escape.en.json:quotaExceedednow says the file is larger than the room left and keeps{remainingMb}(the 413 detail carriesremaining_bytes).PhaseProgressionIndicator.vue: scored statuses useworkflow.phaseProgression.status.*keys viate(), withformatStatusas the fallback; tests with controls on the old code.Verification
../escape file as present, the new one lists it.Single-issue rationale
One issue (#20723); both changes are small and share its scope.
Model Used
Claude Sonnet 5.5
Closes #20723