Skip to content

[ROMM-2202] Fix rom ID selected refresh metadata #2204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 5, 2025
Merged

Conversation

gantoine
Copy link
Member

@gantoine gantoine commented Aug 4, 2025

Description
Explain the changes or enhancements you are proposing with this pull request.

Fixes #2202

Checklist
Please check all that apply.

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

Screenshots

@gantoine gantoine requested review from zurdi15 and Copilot August 4, 2025 22:08
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug in the ROM scanning logic where ROM ID comparison was failing due to type mismatch. The issue was that rom.id (integer) was being compared against string values in roms_ids, preventing proper ROM selection for metadata refresh operations.

Key Changes

  • Fixed type mismatch in ROM ID comparison by removing unnecessary string conversion

Copy link

trunk-io bot commented Aug 4, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

Copy link

github-actions bot commented Aug 4, 2025

Test Results

543 tests   542 ✅  59s ⏱️
  1 suites    1 💤
  1 files      0 ❌

Results for commit 482176b.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 4, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
8711 6135 70% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
backend/endpoints/sockets/scan.py 23% 🟢
TOTAL 23% 🟢

updated for commit: 482176b by action🐍

@gantoine gantoine merged commit 47f38e7 into master Aug 5, 2025
9 checks passed
@gantoine gantoine deleted the romm-2202 branch August 5, 2025 00:53
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.

[Bug] File list on game directories not updating
2 participants