[Migrated PR #55] [FIX] Resolve Qodana findings in SPV intake path #1

Closed
opened 2026-10-09 04:25:51 +00:00 by moeardent · 1 comment
Owner

Summary

  • Change class: corrective quality fix
  • Promotion target: main
  • Trace ref: Romanian SPV intake remediation

Scope

Included

  • Fix the three Qodana moderate findings reported by Quality build #14756.
  • Preserve existing SPV copy sanitization behavior while mutating the caller values in place.

Out of scope

  • No functional change to SPV routing, parsing, or deployment configuration.

Verification Evidence

  • python3 -m unittest ci.test_read_teamcity_vcs_branch
  • python3 -m py_compile ci/test_read_teamcity_vcs_branch.py moe_ro_anaf_oauth/models/anaf_oauth.py moe_ro_spv_base/models/spv_document.py
  • git diff --check
  • Quality build #14756 findings: PyInconsistentReturnsInspection, PyShadowingNamesInspection, PyUnusedLocalInspection.

Reviewer Focus

  • Confirm the in-place copy sanitization is equivalent to the previous filtered mapping.
  • Confirm the renamed lambda parameter and test helper changes are behavior-preserving.

Promotion and Recovery

  • Re-run Pipeline and Quality on this branch; promote only after green gates.
  • Rollback is the prior main revision if needed.

Identity and Traceability

Source PR branches: fix/qodana-cleanup-spv-33f553b0 -> main

## Summary - Change class: corrective quality fix - Promotion target: main - Trace ref: Romanian SPV intake remediation ## Scope ### Included - Fix the three Qodana moderate findings reported by Quality build #14756. - Preserve existing SPV copy sanitization behavior while mutating the caller values in place. ### Out of scope - No functional change to SPV routing, parsing, or deployment configuration. ## Verification Evidence - `python3 -m unittest ci.test_read_teamcity_vcs_branch` - `python3 -m py_compile ci/test_read_teamcity_vcs_branch.py moe_ro_anaf_oauth/models/anaf_oauth.py moe_ro_spv_base/models/spv_document.py` - `git diff --check` - Quality build #14756 findings: PyInconsistentReturnsInspection, PyShadowingNamesInspection, PyUnusedLocalInspection. ## Reviewer Focus - Confirm the in-place copy sanitization is equivalent to the previous filtered mapping. - Confirm the renamed lambda parameter and test helper changes are behavior-preserving. ## Promotion and Recovery - Re-run Pipeline and Quality on this branch; promote only after green gates. - Rollback is the prior main revision if needed. ## Identity and Traceability - Executing agent identity: Moe Ardent <moe.lorand.bot@moebiusol.eu> - Agent role: implementation and verification Source PR branches: fix/qodana-cleanup-spv-33f553b0 -> main <!-- migrated-from: pull-request-fallback Moebiusol/odoo-custom-addons #55 -->
Author
Owner

Migrated Codeberg review

  • Reviewer: cristianlorand
  • State: APPROVED
  • Submitted: 2026-08-26T18:37:02+02:00
  • Commit: 030240d8f64482e6f35eb96338db2509724c495e

(no review body)

### Migrated Codeberg review - Reviewer: `cristianlorand` - State: `APPROVED` - Submitted: `2026-08-26T18:37:02+02:00` - Commit: `030240d8f64482e6f35eb96338db2509724c495e` (no review body) <!-- migrated-from: review Moebiusol/odoo-custom-addons #1760177 -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: moebiusol/odoo-custom-addons#1
No description provided.