Resolve Database/RescueStatementTimeout and Database/RescueQueryCanceled offenses
Related to #592383 (closed)
What does this MR do?
This MR resolves RuboCop todos for the Database/RescueStatementTimeout and Database/RescueQueryCanceled cops in app/services/issues/relative_position_rebalancing_service.rb.
The offenses were resolved by adding inline # rubocop:disable comments with a clear justification. Rescuing these exceptions is necessary in this specific service to implement an adaptive batch resizing strategy, which allows the rebalancing to safely continue by shrinking batch sizes even if individual queries time out.
As part of this cleanup:
.rubocop_todo/database/rescue_statement_timeout.ymlhas been deleted (the only offense is now resolved)..rubocop_todo/database/rescue_query_canceled.ymlhas been updated to remove the file exclusion.