Skip to content

Prevent deleted mod version semver reuse#134

Merged
budak7273 merged 13 commits into
feat/new-fieldsfrom
prevent-versions-deleted-semver-reuse
May 24, 2026
Merged

Prevent deleted mod version semver reuse#134
budak7273 merged 13 commits into
feat/new-fieldsfrom
prevent-versions-deleted-semver-reuse

Conversation

@budak7273
Copy link
Copy Markdown
Member

(Reopening this for LiFu after #128 got closed by the branch being renamed)


added a check for duplicated versions when updating a mod

@github-project-automation github-project-automation Bot moved this to 🆕 Unconfirmed in Rose Senior Project Apr 4, 2026
@budak7273 budak7273 moved this from 🆕 Unconfirmed to 🏗 In progress in Rose Senior Project Apr 4, 2026
@budak7273 budak7273 changed the base branch from staging to feat/new-fields April 4, 2026 06:55
@codecov
Copy link
Copy Markdown

codecov Bot commented May 17, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.97%. Comparing base (c06b3bc) to head (838d7a3).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
workflows/versionupload/extract_mod_info.go 83.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##           feat/new-fields     #134      +/-   ##
===================================================
+ Coverage            41.77%   41.97%   +0.20%     
===================================================
  Files                  128      128              
  Lines                 6159     6170      +11     
===================================================
+ Hits                  2573     2590      +17     
+ Misses                3195     3185      -10     
- Partials               391      395       +4     

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

@budak7273 budak7273 marked this pull request as ready for review May 19, 2026 21:24
@budak7273 budak7273 merged commit 9f14bce into feat/new-fields May 24, 2026
22 checks passed
@github-project-automation github-project-automation Bot moved this from 🏗 In progress to ✅ Completed in Rose Senior Project May 24, 2026
@budak7273 budak7273 deleted the prevent-versions-deleted-semver-reuse branch May 24, 2026 02:48
budak7273 added a commit to satisfactorymodding/smr-frontend that referenced this pull request May 24, 2026
budak7273 added a commit to satisfactorymodding/smr-frontend that referenced this pull request May 24, 2026
budak7273 added a commit to satisfactorymodding/smr-frontend that referenced this pull request May 24, 2026
Vilsol pushed a commit that referenced this pull request May 25, 2026
* fixed bug

added a check for duplicated versions when updating a mod

* Update extract_mod_info.go

* Update create_version_in_database.go

* fixed lint issue

* added smod file and test

* *hopefully* feature working

need to complete the test and confirm feature correctness through frontend

* not really working(?)

* refactor: `mise run format`

* fix: tests should compile better

* fix: tests should pass

* chore: ran lint

* refactor: simplify code and clarify error message

* fix: update test expected error

---------

Co-authored-by: rhit-zhangl8 <112708732+rhit-zhangl8@users.noreply.github.com>
Co-authored-by: rhit-mooretj <112582846+rhit-mooretj@users.noreply.github.com>
Vilsol pushed a commit to satisfactorymodding/smr-frontend that referenced this pull request May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: ✅ Completed

Development

Successfully merging this pull request may close these issues.

3 participants