Skip to content

CONV-033: Implement format normalization#46

Merged
menvil merged 1 commit into
developfrom
feature/CONV-033-implement-format-normalization
May 28, 2026
Merged

CONV-033: Implement format normalization#46
menvil merged 1 commit into
developfrom
feature/CONV-033-implement-format-normalization

Conversation

@menvil

@menvil menvil commented May 28, 2026

Copy link
Copy Markdown
Owner

Implements FileFormat::normalize() and UnsupportedFormatException. Closes red tests from CONV-032.


Summary by cubic

Adds file format normalization to standardize inputs and provide clear errors for unsupported types. Implements CONV-033 and resolves failing tests from CONV-032.

  • New Features
    • Added FileFormat::normalize to sanitize extensions (trim, lowercase, strip leading dot) and map jpeg -> jpg.
    • Introduced UnsupportedFormatException with forInput helper for consistent error messages on unknown formats.

Written for commit acfc26e. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@menvil menvil merged commit c069bd4 into develop May 28, 2026
1 check was pending
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a434943c-851c-4ebd-9444-b0b49d5e00f0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-033-implement-format-normalization

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@menvil menvil deleted the feature/CONV-033-implement-format-normalization branch May 28, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant