Track the time messages spend in the SQS queue by retrieving the SentTimestamp
attribute and calculating the difference with current UTC time. This queue time
is now included as a queueTime property (in milliseconds) in all CompilationResult
objects for both successful and failed compilations.
Changes:
- Request SentTimestamp attribute when receiving SQS messages
- Calculate queue time from SentTimestamp to current time
- Add queueTime property to CompilationResult interface
- Include queue time in all compilation results (success/error cases)
- Handle queue time for both local and remote compilations
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>