Skip to content

fix: align camera and organization name schemas - #713

Merged
MateoLostanlen merged 2 commits into
mainfrom
codex/fix-schema-consistency
Oct 22, 2026
Merged

MateoLostanlen merged 2 commits into
mainfrom
codex/fix-schema-consistency

Conversation

@frgfm

@frgfm frgfm commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Fix camera rename responses that fail after accepting a longer name. Share one name constraint across camera/organization requests, responses and models; no database migration is needed.

Camera operation Before After
Create / read 3–50 characters 3–100 characters
Rename 5–100 characters 3–100 characters

Validated with boundary and create → rename → read tests, Ruff and Ty.

@codecov

codecov Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.57%. Comparing base (9f4c75f) to head (8da9c8e).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #713      +/-   ##
==========================================
+ Coverage   94.48%   94.57%   +0.09%     
==========================================
  Files          59       60       +1     
  Lines        3246     3247       +1     
==========================================
+ Hits         3067     3071       +4     
+ Misses        179      176       -3     
Flag Coverage Δ
backend 94.72% <100.00%> (+0.09%) ⬆️
client 91.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@frgfm
frgfm requested a review from MateoLostanlen October 15, 2026 12:14

@MateoLostanlen MateoLostanlen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MateoLostanlen
MateoLostanlen merged commit a4b9cb3 into main Oct 22, 2026
22 of 23 checks passed
@MateoLostanlen
MateoLostanlen deleted the codex/fix-schema-consistency branch October 22, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants