Skip to content

UI: support real AWS accounts, add auto-refresh feature flag#1213

Merged
micossow merged 1 commit intomasterfrom
ui/aws-support-and-auto-refresh-flag
Apr 26, 2026
Merged

UI: support real AWS accounts, add auto-refresh feature flag#1213
micossow merged 1 commit intomasterfrom
ui/aws-support-and-auto-refresh-flag

Conversation

@micossow
Copy link
Copy Markdown
Contributor

Summary

  • Fix sqs-client.ts to omit endpoint when SQS_ENDPOINT is unset, so the AWS SDK routes to the real AWS SQS endpoint (previously it always fell back to localhost:9324)
  • Add NEXT_PUBLIC_AUTO_REFRESH_DISABLED=true feature flag to disable 1-second polling — recommended when pointing at a real AWS account to avoid unnecessary API costs; the UI shows a static grey "Manual" indicator instead of the pulsing green live dot
  • Add ui/.env.local.example documenting both local ElasticMQ and real AWS configurations, and unignore *.example env files in ui/.gitignore
  • Document AWS usage, required IAM permissions, and the feature flag in README.md and CLAUDE.md

Test plan

  • Local ElasticMQ: SQS_ENDPOINT=http://localhost:9324 in .env.local — polling works, live green dot pulses
  • Real AWS: SQS_ENDPOINT unset, real credentials in .env.local — queues from AWS account are listed
  • NEXT_PUBLIC_AUTO_REFRESH_DISABLED=true: no polling, static grey dot, "Manual" label shown, Refresh button still works

🤖 Generated with Claude Code

- Fix SQS client to omit `endpoint` when SQS_ENDPOINT is unset, so the
  AWS SDK routes to the real AWS endpoint instead of falling back to
  localhost:9324
- Add NEXT_PUBLIC_AUTO_REFRESH_DISABLED flag to disable 1-second polling
  (recommended when pointing at real AWS to avoid unnecessary API costs);
  UI shows a static "Manual" indicator instead of the pulsing live dot
- Add ui/.env.local.example documenting both local and AWS configurations
- Update ui/.gitignore to track .env*.example files
- Document AWS usage, required IAM permissions, and the feature flag in
  README.md and CLAUDE.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@micossow micossow merged commit 9904137 into master Apr 26, 2026
31 checks passed
@micossow micossow deleted the ui/aws-support-and-auto-refresh-flag branch April 26, 2026 08:34
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.

1 participant