Skip to content

Conversation

@jwils
Copy link
Collaborator

@jwils jwils commented Jan 15, 2026

This commit completes the elasticgraph-warehouse_lambda gem by adding the AWS Lambda runtime integration. The LambdaFunction handles incoming SQS events and processes them through the WarehouseLambda pipeline.

🤖 Generated with Claude Code

@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch from 4c90cdd to 0967442 Compare January 15, 2026 16:01
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch 2 times, most recently from bd44498 to 85b800b Compare January 16, 2026 17:54
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch from 0967442 to ed53d9d Compare January 16, 2026 17:55
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch from 85b800b to 182a666 Compare January 17, 2026 15:06
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch from ed53d9d to b383d89 Compare January 17, 2026 15:06
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch from 182a666 to 3ecf91f Compare January 17, 2026 15:15
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch 2 times, most recently from 1c20936 to 7100521 Compare January 17, 2026 16:10
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch from 3ecf91f to bb35c69 Compare January 17, 2026 17:20
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch from 7100521 to 4be5e5b Compare January 17, 2026 17:30
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch from bb35c69 to 03a355f Compare January 17, 2026 18:14
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch from 4be5e5b to bd6a5b1 Compare January 17, 2026 19:52
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch from 03a355f to acbf663 Compare January 17, 2026 20:03
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch from bd6a5b1 to 997815a Compare January 17, 2026 20:13
@jwils jwils marked this pull request as draft January 17, 2026 20:17
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch 6 times, most recently from 8c6089c to 1c62fe0 Compare January 17, 2026 22:13
@jwils jwils force-pushed the joshuaw/warehouse-lambda-2-core branch 9 times, most recently from 33a6d6d to b716416 Compare January 20, 2026 01:09
Base automatically changed from joshuaw/warehouse-lambda-2-core to main January 20, 2026 02:12
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch 2 times, most recently from 39c365b to df8c983 Compare January 20, 2026 02:51
This commit completes the AWS Lambda integration for elasticgraph-warehouse_lambda
by adding the Lambda function handler that serves as the deployment entry point.

Key components:
- LambdaFunction class that wraps WarehouseLambda with AWS Lambda lifecycle
- DumpWarehouseData constant exposed as the Lambda handler entry point
- Integration with IndexerLambda::SqsProcessor for SQS event processing
- Support for IGNORE_SQS_LATENCY_TIMESTAMPS_FROM_ARNS environment variable
- warehouse_lambda_from_env class method for building from Lambda ENV vars
- Full RBS type signatures for type safety
- 100% test coverage with comprehensive behavioral tests

Configuration:
- Reuses SQS event format from elasticgraph-indexer_lambda
- Processes batches of indexing operations and writes JSONL to S3
- Returns batch item failures for SQS partial batch failure handling

Documentation:
- Updated README with Lambda handler example showing DumpWarehouseData usage
- Documented deployment pattern for AWS Lambda

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@jwils jwils force-pushed the joshuaw/warehouse-lambda-3-lambda branch from df8c983 to dab1c1d Compare January 20, 2026 02:52
@jwils jwils marked this pull request as ready for review January 20, 2026 03:12
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.

2 participants