Skip to content

chore: drop dedupe post-processing via datamodel-codegen reuse_model#785

Merged
vdusek merged 1 commit into
masterfrom
chore/use-datamodel-codegen-reuse-model
May 11, 2026
Merged

chore: drop dedupe post-processing via datamodel-codegen reuse_model#785
vdusek merged 1 commit into
masterfrom
chore/use-datamodel-codegen-reuse-model

Conversation

@vdusek
Copy link
Copy Markdown
Contributor

@vdusek vdusek commented May 11, 2026

New version of koxudaxi/datamodel-code-generator allows us to simplify the post-processing.

Enabling the built-in `reuse_model` option suppresses the duplicate
`class Type(StrEnum)` that the `deduplicate_error_type_enum` step
existed to remove, so the post-processing step and its tests are no
longer needed.
@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels May 11, 2026
@vdusek vdusek self-assigned this May 11, 2026
@github-actions github-actions Bot added this to the 140th sprint - Tooling team milestone May 11, 2026
@github-actions github-actions Bot added the tested Temporary label used only programatically for some analytics. label May 11, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.83%. Comparing base (9cf3794) to head (f2611d6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #785      +/-   ##
==========================================
+ Coverage   97.67%   97.83%   +0.16%     
==========================================
  Files          48       48              
  Lines        4864     4860       -4     
==========================================
+ Hits         4751     4755       +4     
+ Misses        113      105       -8     
Flag Coverage Δ
integration 94.07% <100.00%> (+0.44%) ⬆️
unit 86.19% <100.00%> (-0.02%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek vdusek requested a review from janbuchar May 11, 2026 08:57
@vdusek vdusek merged commit 29a9b97 into master May 11, 2026
26 checks passed
@vdusek vdusek deleted the chore/use-datamodel-codegen-reuse-model branch May 11, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants