Add session rename functionality and timeout improvements#567
Open
Flotapponnier wants to merge 5 commits intoslopus:mainfrom
Open
Add session rename functionality and timeout improvements#567Flotapponnier wants to merge 5 commits intoslopus:mainfrom
Flotapponnier wants to merge 5 commits intoslopus:mainfrom
Conversation
- Add configurable timeouts for sessions and machines (default: 30min instead of 10min) - Add recovery logic to prevent server crashes from uncaught exceptions - Add customName field to Session model to support session renaming - Improve error handling with graceful degradation These fixes address the main issues reported: - Sessions timing out too quickly (10min → configurable 30min) - Server crashing on errors (now recovers from up to 5 errors/minute) - No way to rename sessions (added customName field)
- Create sessionRename function - Add PATCH /v1/sessions/:sessionId endpoint - Add customName field to all session API responses - Support null customName to clear custom names
- Add sessionRename() function in ops.ts - Include Prisma migration for customName field
- Add rename swipe action (left swipe) alongside delete (right swipe) - Implement rename dialog using Modal.prompt - Add sessionRename function to perform rename operation - Add translation keys for rename UI in English - Update SessionsList component with rename handlers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
Tested on production at https://app.happy.engineering - rename functionality works as expected