-
Notifications
You must be signed in to change notification settings - Fork 1.2k
allow max timeout 24h when creating browser sessions #3559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughIn skyvern/schemas/browser_sessions.py, the MAX_TIMEOUT constant for CreateBrowserSessionRequest validation was increased from 4 hours to 24 hours. DEFAULT_TIMEOUT remains 60 minutes, and the timeout field constraints (ge=MIN_TIMEOUT, le=MAX_TIMEOUT) and description are unchanged. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (4){skyvern,integrations,alembic,scripts}/**/*.py📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
skyvern/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{py,ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (1)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important
Looks good to me! 👍
Reviewed everything up to 31f809f in 29 seconds. Click for details.
- Reviewed
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. skyvern/schemas/browser_sessions.py:7
- Draft comment:
Updated MAX_TIMEOUT to 24 hours. Verify that all session-related logic and resource management can handle extended durations and update tests if needed. - Reason this comment was not posted:
Confidence changes required:33%
<= threshold50%
None
Workflow ID: wflow_Sw8DNL54sto4c6Oa
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Important
Increase
MAX_TIMEOUT
for browser sessions to 24 hours inskyvern/schemas/browser_sessions.py
.MAX_TIMEOUT
from 4 hours to 24 hours inskyvern/schemas/browser_sessions.py
.CreateBrowserSessionRequest
to allow session timeouts up to 24 hours.This description was created by
for 31f809f. You can customize this summary. It will automatically update as commits are pushed.
Summary by CodeRabbit