Skip to content

Commit 3da85fb

Browse files
committed
Merge branch 'fix/workflow-tracker-errors-with-compressed-document' into 'develop'
Fix/workflow tracker errors with compressed document See merge request genaiic-reusable-assets/engagement-artifacts/genaiic-idp-accelerator!332
2 parents bcb7ab9 + 799eba0 commit 3da85fb

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ SPDX-License-Identifier: MIT-0
55

66
## [Unreleased]
77

8+
## [0.3.18]
9+
810
### Added
911

1012
- **Lambda Function Execution Cost Metering for Complete Cost Visibility**
@@ -14,6 +16,10 @@ SPDX-License-Identifier: MIT-0
1416
- **Automatic Integration**: Lambda costs automatically integrate with existing cost reporting infrastructure and appear alongside AWS service costs (Textract, Bedrock, SageMaker)
1517
- **Configuration Integration**: Added Lambda pricing entries to all 7 configuration files in `config_library/` using official US East pricing
1618

19+
### Fixed
20+
- Defect in v0.3.17 causing workflow tracker failure to (1) update status of failed workflows, and (2) update reporting database for all workflows #72
21+
22+
1723
## [0.3.17]
1824

1925
### Added

src/lambda/workflow_tracker/index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ def handler(event, context):
223223
# Get object key from document
224224
try:
225225
if "document" in input_data:
226-
object_key = input_data["document"]["input_key"]
226+
object_key = input_data["document"]["document_id"]
227227
else:
228-
raise ValueError("Unable to find object key in input")
228+
raise ValueError("Unable to find document_id in input")
229229
except (KeyError, TypeError) as e:
230230
logger.error(f"Error extracting object_key from input: {e}")
231231
logger.error(f"Input data structure: {input_data}")

0 commit comments

Comments
 (0)