Skip to content

v3.10.1 #1938

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 12 commits into from
Jun 6, 2025
Merged

v3.10.1 #1938

merged 12 commits into from
Jun 6, 2025

Conversation

gantoine
Copy link
Member

@gantoine gantoine commented Jun 6, 2025

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

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

Copy link

trunk-io bot commented Jun 6, 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 Jun 6, 2025

Test Results

92 tests   92 ✅  28s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit fd18d8e.

♻️ This comment has been updated with latest results.

@gantoine gantoine requested a review from Copilot June 6, 2025 16:07
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 (v3.10.1) introduces several small enhancements and fixes across the codebase. Key changes include:

  • Adding RA ID handling in scan functions for enhanced retro achievements support.
  • Adjusting file paths for multi-disk ROMs in hash generation.
  • Updating regex validation in RAHasher and correcting grammar in log messages.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
backend/handler/scan_handler.py Adds RA ID support and reorders dictionary keys in scan functions.
backend/handler/filesystem/roms_handler.py Updates file path concatenation to account for multi-disk ROMs.
backend/handler/filesystem/resources_handler.py Improves error message formatting for cover removal.
backend/endpoints/sockets/scan.py Adjusts default values and metadata handling for RA fields.
backend/alembic/versions/0041_assets_t_thumb_cleanup.py Adds a migration script to update media URLs from t_thumb to higher resolutions.
backend/adapters/services/rahasher.py Changes regex validation and adds error handling for RAHasher subprocess calls.
README.md Fixes typos and clarifies feature descriptions.
Comments suppressed due to low confidence (1)

backend/adapters/services/rahasher.py:127

  • The updated regex no longer uses anchors, which may allow partial matches. If strict validation of a 32-character hash is intended, consider reverting to anchored regex (e.g., r"^[0-9a-f]{32}$").
        match = RAHASHER_VALID_HASH_REGEX.search(file_hash)

@gantoine gantoine merged commit ce823a5 into release Jun 6, 2025
13 checks passed
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.

2 participants