Skip to content

[Backport stable32] Add configurable timeout for OCR processing requests - #335

Merged
R0Wi merged 1 commit into
stable32from
backport-333-to-stable32
Nov 23, 2025
Merged

R0Wi merged 1 commit into
stable32from
backport-333-to-stable32

Conversation

@R0Wi

@R0Wi R0Wi commented Nov 23, 2025

Copy link
Copy Markdown
Contributor

Backport 4ea8977 from #333

* Add configurable REST client timeout for OCR processing

Signed-off-by: GitHub <noreply@github.com>

* Add PSALM baseline exceptions for getTimeout method with object type

Add baseline exceptions for MixedPropertyFetch, MixedAssignment, and MixedArgument
that occur when accessing the timeout property on the generic object parameter in
the getTimeout method.

Co-authored-by: R0Wi <19730957+R0Wi@users.noreply.github.com>

* Fix PSALM baseline: remove unused entries and add PossiblyUnusedProperty for timeout

The previous baseline entries for MixedArgument, MixedAssignment, and MixedPropertyFetch
were unused because isset() guards the property access properly. Added the correct
baseline entry for PossiblyUnusedProperty on GlobalSettings::$timeout instead.

Co-authored-by: R0Wi <19730957+R0Wi@users.noreply.github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Robin Windey <ro.windey@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: R0Wi <19730957+R0Wi@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@R0Wi
R0Wi merged commit 30e9860 into stable32 Nov 23, 2025
17 checks passed
@R0Wi
R0Wi deleted the backport-333-to-stable32 branch November 23, 2025 08:06
@R0Wi R0Wi linked an issue Nov 24, 2025 that may be closed by this pull request
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.

workflow_ocr cannot handle long-running OCRs

2 participants