feat(db-heal): expose --force to manually re-apply creds on already-tunneled configs #43

Merged
gmackie merged 1 commit from fix/db-heal-manual-force into main 2026-07-01 10:53:58 +00:00
Owner

fg db heal short-circuited with already-healed whenever a Hyperdrive config was already on the Access tunnel, with no way to fix a config whose stored DB password/Access token went stale from a manual credential change outside forge db rotate-password. The underlying force param already existed in healHyperdriveConfig (added for the rotate-password auto-heal path) but nothing exposed it manually. Thread it through the heal route and CLI.

fg db heal short-circuited with already-healed whenever a Hyperdrive config was already on the Access tunnel, with no way to fix a config whose stored DB password/Access token went stale from a manual credential change outside forge db rotate-password. The underlying force param already existed in healHyperdriveConfig (added for the rotate-password auto-heal path) but nothing exposed it manually. Thread it through the heal route and CLI.
feat(db-heal): expose --force to manually re-apply creds on already-tunneled configs
All checks were successful
CI / ci (pull_request) Successful in 16m27s
08b934fa2d
fg db heal short-circuited with "already-healed" whenever a Hyperdrive
config was already on the Access tunnel, so it had no way to fix a
config whose stored DB password / Access token went stale from a
manual credential change outside `forge db rotate-password` (which
already auto-heals with force:true since the config never changes
host, plain heal is a no-op otherwise).

heal.ts's healHyperdriveConfig/tunnelConfigNeedsUpdate already accept a
force param (added for the rotate-password auto-heal path) but nothing
exposed it through the manual heal route or CLI. Thread it through.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gmackie/ForgeGraph!43
No description provided.