Skip to content

feat: add Lambda and SQS for long-write commands - #17

Closed
llama90 with Copilot wants to merge 1 commit into
feature/quadrant-lwfrom
copilot/sub-pr-16
Closed

llama90 with Copilot wants to merge 1 commit into
feature/quadrant-lwfrom
copilot/sub-pr-16

Conversation

Copilot AI commented Jan 10, 2026 •

Copy link
Copy Markdown
Contributor

Adds infrastructure for processing long-write chatbot commands (build, deploy) using AWS Lambda and SQS, following the established short-read pattern.

Changes

  • SQS Queue (chatbot-command-lw-sqs): Main queue with DLQ for long-write commands

    • 180s visibility timeout (120s Lambda timeout + 60s buffer)
    • 2-day message retention
    • EventBridge integration for command routing
  • Lambda Worker (chatbot-command-lw-worker): Processes long-write commands from queue

    • 120s timeout, 512MB memory for GitHub API + build operations
    • Concurrency limited to 2 to prevent abuse
    • IAM permissions for Slack secrets, GitHub PAT, and S3 artifact writes

Configuration Patterns

Mirrors short-read implementation with adjustments for write workloads:

  • Extended timeouts for long-running operations (120s vs 10s)
  • Lower concurrency limits (2 vs 100) for rate limiting
  • Longer retention (2 days vs 12 hours) for operation history

Comment Response

Addressed question about alignment with short-read approach: Bot reviewer suggestions (allow retries, remove queue delay) are consistent with short-read patterns and improve reliability.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add infrastructure for long-write commands using Lambda and SQS feat: add Lambda and SQS for long-write commands Jan 10, 2026
Copilot AI requested a review from llama90 January 10, 2026 03:53
@llama90 llama90 closed this Jan 10, 2026
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