Fixed the issue where SQS messages had incorrect parameter mapping by:
- Added convertSqsMessageToParsedRequest() function that properly maps SQS message
structure to the format expected by compile handlers
- Updated doOneCompilation() to use shared parsing logic instead of direct field mapping
- Fixed the parameter structure mismatch where msg.filters should be used for filters
instead of incorrectly passing msg.backendOptions, etc.
- Reused compilation handler patterns from lib/handlers/compile.ts for consistency
This ensures SQS workers use the same parameter structure as the web handlers,
preventing compilation failures due to incorrect option parsing.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>