Skip to content

feat(account): warn that linking a workflow owner address is permanent - #614

Merged
anirudhwarrier merged 1 commit into
mainfrom
feature/DEVSVCS-5796-link-key-permanence-warning
Oct 8, 2026
Merged

anirudhwarrier merged 1 commit into
mainfrom
feature/DEVSVCS-5796-link-key-permanence-warning

Conversation

@anirudhwarrier

Copy link
Copy Markdown
Contributor

Summary

Resolves DEVSVCS-5796.

Once a workflow owner address is linked to an org, it can never be reused in another org. Users currently don't learn this until they hit an unclear error later on.

  • cre account link-key now shows a permanence warning and asks for confirmation before it initiates linking. Already-linked addresses skip it.
  • --yes on link-key is now actually read: it skips the prompt, but the warning still prints.
  • cre workflow deploy auto-link now passes --yes and --non-interactive through to link-key, so deploy shows the same warning for both EOA and MSIG owners.

Breaking Changes

  • cre account link-key --non-interactive and cre workflow deploy --non-interactive against an unlinked owner now fail unless --yes is passed. This matches the existing unlink, delete and overwrite behaviour.
  • No changes to flags, APIs or config.

Testing Verification

  • make lint: 0 issues
  • go test $(go list ./... | grep -v usbwallet): all packages pass
  • New unit tests:
    • TestConfirmPermanentLink: non-interactive without --yes errors; --yes skips the prompt
    • TestTryAutoLinkUsesOnChainRegistry/confirmation_flags_are_forwarded_to_link-key
  • make gendoc: no doc changes
  • Not run yet: E2E happy paths (make test-e2e) and manual checks on staging with an unlinked address

🤖 Generated with Claude Code

Show a permanence warning and confirmation prompt before link-key initiates
linking, and forward --yes/--non-interactive from deploy's auto-link.

DEVSVCS-5796

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@anirudhwarrier
anirudhwarrier marked this pull request as ready for review October 8, 2026 12:14
@anirudhwarrier
anirudhwarrier requested a review from a team as a code owner October 8, 2026 12:14
@anirudhwarrier
anirudhwarrier added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit a4df4e2 Oct 8, 2026
22 checks passed
@anirudhwarrier
anirudhwarrier deleted the feature/DEVSVCS-5796-link-key-permanence-warning branch October 8, 2026 13:24
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