UI: support real AWS accounts, add auto-refresh feature flag#1213
Merged
UI: support real AWS accounts, add auto-refresh feature flag#1213
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sqs-client.tsto omitendpointwhenSQS_ENDPOINTis unset, so the AWS SDK routes to the real AWS SQS endpoint (previously it always fell back tolocalhost:9324)NEXT_PUBLIC_AUTO_REFRESH_DISABLED=truefeature 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 dotui/.env.local.exampledocumenting both local ElasticMQ and real AWS configurations, and unignore*.exampleenv files inui/.gitignoreREADME.mdandCLAUDE.mdTest plan
SQS_ENDPOINT=http://localhost:9324in.env.local— polling works, live green dot pulsesSQS_ENDPOINTunset, real credentials in.env.local— queues from AWS account are listedNEXT_PUBLIC_AUTO_REFRESH_DISABLED=true: no polling, static grey dot, "Manual" label shown, Refresh button still works🤖 Generated with Claude Code