Skip to content

Commit a5cb62d

Browse files
committed
Merge branch 'fix/assessment-throttling-silent-failure' into 'develop'
Fix/assessment throttling silent failure See merge request genaiic-reusable-assets/engagement-artifacts/genaiic-idp-accelerator!303
2 parents cdecc57 + 6369843 commit a5cb62d

File tree

3 files changed

+640
-58
lines changed

3 files changed

+640
-58
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ SPDX-License-Identifier: MIT-0
3636
- **Target Use Cases**: Windows developers needing Linux compatibility without Docker Desktop or VM overhead
3737

3838
### Fixed
39+
- **Throttling Error Detection and Retry Logic for Assessment Functions** - [GitHub Issue #45](https://github.com/aws-solutions-library-samples/accelerated-intelligent-document-processing-on-aws/issues/45)
40+
- **Assessment Function**: Enhanced throttling detection to check for throttling errors returned in `document.errors` field in addition to thrown exceptions, raising `ThrottlingException` to trigger Step Functions retry when throttling is detected
41+
- **Granular Assessment Task Caching**: Fixed caching logic to properly cache successful assessment tasks when there are ANY failed tasks (both exception-based and result-based failures), enabling efficient retry optimization by only reprocessing failed tasks while preserving successful results
42+
- **Impact**: Improved resilience for throttling scenarios, reduced redundant processing during retries, and better Step Functions retry behavior
43+
3944
- **Security Vulnerability Mitigation - Package Updates**
4045

4146
- **GovCloud Compatibility - Hardcoded Service Domain References**
@@ -51,6 +56,7 @@ SPDX-License-Identifier: MIT-0
5156
- Cleaned up unused Step Function subscription infrastructure and removed duplicate code in Pattern-2 HITL function
5257
- Expanded UI Visual Editor bounding box size with padding for better visibility and user interaction
5358
- Fixed bug in list of models supporting cache points - previously claude 4 sonnet and opus had been excluded.
59+
- Validations added at the assessment step for checking valid json response. The validation fails after extraction/assessment is complete if json parsing issues are encountered.
5460

5561

5662
## [0.3.14]

0 commit comments

Comments
 (0)