Skip to content

feat: Aurora cluster actions, type-to-confirm, and TUI terminal fit#36

Merged
nathanhuh merged 2 commits intomainfrom
feat/rds-aurora-tui-improvements
Mar 25, 2026
Merged

feat: Aurora cluster actions, type-to-confirm, and TUI terminal fit#36
nathanhuh merged 2 commits intomainfrom
feat/rds-aurora-tui-improvements

Conversation

@nathanhuh
Copy link
Copy Markdown
Contributor

Summary

Three improvements to the RDS browser and TUI:

  1. Aurora cluster support: RDS actions (stop/start/failover) now work for Aurora cluster members using cluster-level APIs (StopDBCluster, StartDBCluster, FailoverDBCluster). Previously all actions were greyed out for Aurora instances.

  2. Type-to-confirm for destructive actions: Stop and failover now require typing the instance/cluster identifier to confirm, preventing accidental execution. Start keeps simple y/n since it's non-destructive.

  3. TUI terminal fit: Added fitToHeight() to constrain output to terminal height, and scroll windowing to service list, feature list, and context picker. Content no longer overflows small terminals.

Related Issues

Closes #12

Validation

  • All existing + 10 new tests pass (make test)
  • Manual testing: Aurora cluster stop/failover enabled and functional
  • Type-to-confirm blocks wrong input, accepts correct identifier
  • Small terminal (10 rows) renders without overflow

Checklist

  • Scope is focused
  • Docs updated (if needed)
  • Tests/validation included
  • Breaking changes documented

- Add Aurora cluster-level stop/start/failover using StopDBCluster,
  StartDBCluster, and FailoverDBCluster APIs
- Require typing instance/cluster identifier to confirm destructive
  actions (stop, failover); start keeps simple y/n
- Add fitToHeight() to constrain TUI output to terminal height with
  padding and overflow handling
- Add scroll windowing to service list, feature list, and context
  picker to prevent overflow on small terminals
- Update RDSClientAPI interface with cluster methods
- Update CanStop/CanFailover to support Aurora cluster members
- Update feature matrix: RDS is now fully implemented
- Add RDS key bindings and context switcher to README
- Mark M3.2 (RDS) as complete in PLAN.md
- Note Aurora cluster-level actions and type-to-confirm
Copy link
Copy Markdown
Contributor

@YoungJinJung YoungJinJung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nathanhuh nathanhuh merged commit 49b9375 into main Mar 25, 2026
1 check passed
@nathanhuh nathanhuh deleted the feat/rds-aurora-tui-improvements branch March 25, 2026 00:43
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.

feat: Add RDS ListDBInstances support

2 participants