Skip to content

Update migration instructions for entire/sessions-legacy workflow#152

Merged
khaong merged 1 commit intomainfrom
alex/update-migration-instructions
Feb 5, 2026
Merged

Update migration instructions for entire/sessions-legacy workflow#152
khaong merged 1 commit intomainfrom
alex/update-migration-instructions

Conversation

@khaong
Copy link
Contributor

@khaong khaong commented Feb 5, 2026

Summary

  • Update migration script to use entire/sessions-legacy as source branch
  • Add BEFORE MIGRATION section with rename step
  • Update AFTER MIGRATION with remote rename and push steps
  • Update ROLLBACK instructions

Migration Workflow

  1. Rename local entire/sessions to entire/sessions-legacy
  2. Run migration script
  3. Rename remote entire/sessions to avoid conflict
  4. Push new entire/sessions/v1 to remote
  5. (Optional) Delete local entire/sessions-legacy

🤖 Generated with Claude Code


Note

Low Risk
Comment/instruction-only updates plus a source-branch constant rename; no migration logic changes, but incorrect following of the new remote-rename steps could disrupt branches.

Overview
Updates scripts/migrate-sessions.sh to treat entire/sessions-legacy (renamed from entire/sessions) as the source branch when migrating to entire/sessions/v1.

Refreshes the script’s inline workflow docs by adding a Before migration local-rename step, revising After migration to include renaming/deleting the remote entire/sessions branch to avoid conflicts, and updating rollback guidance accordingly.

Written by Cursor Bugbot for commit 86a1d7b. This will update automatically on new commits. Configure here.

- Source branch is now entire/sessions-legacy (renamed before migration)
- Add BEFORE MIGRATION section with rename step
- Update AFTER MIGRATION with remote rename and push steps
- Update ROLLBACK instructions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 5, 2026 05:12
@khaong khaong requested a review from a team as a code owner February 5, 2026 05:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the migration script documentation to use a clearer branch naming workflow. Instead of migrating directly from entire/sessions, users are now instructed to first rename their existing entire/sessions branch to entire/sessions-legacy, which provides better clarity about which branch is the old format and serves as a safer backup during migration.

Changes:

  • Updated all documentation references from entire/sessions to entire/sessions-legacy as the migration source
  • Added "BEFORE MIGRATION" section with explicit rename instruction
  • Enhanced "AFTER MIGRATION" section with remote branch rename and cleanup steps
  • Updated "ROLLBACK" instructions to account for the renamed legacy branch

@khaong khaong merged commit 0f12305 into main Feb 5, 2026
10 checks passed
@khaong khaong deleted the alex/update-migration-instructions branch February 5, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants