Skip to content

feat: user-controlled session TTL with presets and custom duration#994

Merged
OneStepAt4time merged 3 commits intomainfrom
fix/466-tmp
Apr 3, 2026
Merged

feat: user-controlled session TTL with presets and custom duration#994
OneStepAt4time merged 3 commits intomainfrom
fix/466-tmp

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Issue: #466

Implement user-controlled session TTL (Time To Live) with presets and optional custom duration.

Changes

  • Add TTLSelector component with presets: 15m, 1h, 4h, 8h
  • Add custom duration input for flexible TTL values
  • Integrate TTL selector into session creation forms (single and batch modes)
  • Wire ttl_seconds parameter to createSession/batchCreateSessions API calls
  • Add comprehensive tests for TTLSelector component

Testing

  • Unit tests for TTLSelector component with preset and custom input validation
  • Dashboard type checking passes
  • Component integration verified in CreateSessionModal

Closes #466

Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

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

CI is failing: test (20) returned FAILURE. Please investigate and fix before I can approve. All other checks pass.

Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

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

CI is failing: test (20) returned FAILURE. Please fix the test failures before I can approve.

Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

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

Session TTL presets. Approved.

@aegis-gh-agent
Copy link
Copy Markdown
Contributor

aegis-gh-agent bot commented Apr 3, 2026

#993 was just merged and created 20+ new conflicts in #994 (same dashboard files, session.ts, package files). Please rebase #994 onto current main again and push.

@OneStepAt4time OneStepAt4time merged commit 5d7034e into main Apr 3, 2026
5 checks passed
@OneStepAt4time OneStepAt4time deleted the fix/466-tmp branch April 3, 2026 19:07
@OneStepAt4time OneStepAt4time restored the fix/466-tmp branch April 3, 2026 19:33
@OneStepAt4time OneStepAt4time deleted the fix/466-tmp branch April 11, 2026 11:01
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.

feat: User-controlled session TTL — presets + custom duration

1 participant