Skip to content

Conversation

@javoire
Copy link
Owner

@javoire javoire commented Dec 17, 2025

When running stack sync and there's leftover state from a previous interrupted sync, the command now prompts the user to confirm before starting fresh.

Previously it would just print a warning and automatically continue, which could be surprising.

Now the user sees:

Warning: found state from a previous interrupted sync
If you resolved rebase conflicts, run 'stack sync --resume'

Start fresh? [y/N]
  • Default is No (pressing Enter aborts)
  • Typing y or yes cleans up and continues
  • Aborted state shows helpful message about --resume and --abort options

@javoire javoire force-pushed the feat/sync-prompt-stale-state branch from 387b18c to 39141df Compare December 18, 2025 23:26
@javoire javoire merged commit bdd1a84 into main Dec 19, 2025
1 check passed
@javoire javoire deleted the feat/sync-prompt-stale-state branch December 19, 2025 13:31
@javoire
Copy link
Owner Author

javoire commented Dec 19, 2025

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants