Skip to content

test: deploy-rs magic rollback verification#366

Open
stackptr wants to merge 1 commit intomainfrom
test/deploy-rs-rollback
Open

test: deploy-rs magic rollback verification#366
stackptr wants to merge 1 commit intomainfrom
test/deploy-rs-rollback

Conversation

@stackptr
Copy link
Owner

Summary

  • Adds a deliberately failing NixOS activation script on glyph to test deploy-rs magic rollback
  • The activation script simply runs exit 1, which should cause deploy-rs to detect the failure and automatically roll back to the previous configuration
  • This PR should be reverted after verifying rollback behavior

Expected behavior

  1. CI builds successfully (activation scripts aren't run during build)
  2. Deploy workflow runs and attempts to activate on glyph
  3. Activation fails due to exit 1
  4. deploy-rs detects the failure and rolls back to the previous profile
  5. glyph remains on its previous working configuration

Test plan

  • CI passes (build only, no activation)
  • Deploy triggers and fails activation on glyph
  • deploy-rs rolls back glyph automatically
  • Revert this PR after confirming rollback works

🤖 Generated with Claude Code

…llback

Adds a NixOS activation script that exits with failure to verify that
deploy-rs magic rollback works correctly. This should be reverted after
testing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr stackptr force-pushed the test/deploy-rs-rollback branch from d8a7e04 to a1fd3a6 Compare March 11, 2026 21:12
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.

1 participant