Windows RDP Keep Alive - Extend workspace sessions during active RDP connections
Opened this issue ยท 17 comments
The existing activity bump system activitybump.go only tracks certain connection types (SSH, VSCode, JetBrains, reconnecting PTY) workspaceagentstats.sql but doesn't include RDP connections in the activity detection.
Proposed Solution
Automatically extend workspace session timeouts when an active RDP connection is detected, similar to how SSH connections currently work.
Expected Behavior:
- Workspace remains active while RDP session is connected
- Session timeout resumes normal countdown after RDP disconnection
- No manual intervention required from users
Use Case: Windows development workspaces where users connect via RDP for GUI applications, Visual Studio, etc.
Hello, can I work on this?
/bounty 150
๐ $150 bounty โข Coder
Steps to solve:
- Read the announcement issue for details on the bounty program and how to contribute.
- Start working: Comment
/attempt #200with your implementation plan - Submit work: Create a pull request including
/claim #200in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
โ Important guidelines:
- To claim a bounty, you need to provide a short demo video of the feature working in Coder.
- If anything is unclear, ask for clarification before starting as this will help avoid potential rework
- Low quality AI PRs will not receive review and will be closed
Thank you for contributing to coder/registry!
| Attempt | Started (UTC) | Solution | Actions |
|---|---|---|---|
| ๐ข @aybanda | Jul 12, 2025, 08:20:02 AM | WIP | |
| ๐ข @Harsh9485 | Oct 13, 2025, 06:39:57 AM | WIP | |
| ๐ข @Dishairano | Sep 16, 2025, 09:25:44 PM | WIP | |
| ๐ข @ | Jul 17, 2025, 03:11:53 PM | WIP | |
| ๐ข @nishantkluhera | Aug 21, 2025, 05:25:58 AM | WIP | |
| ๐ข @rameshvoodi | Aug 27, 2025, 11:22:14 AM | WIP | |
| ๐ข @Excellencedev | Sep 29, 2025, 05:16:06 PM | WIP |
@zcesur Please see the issue above. Algora is adding instead of updating the bounty value.
/attempt #200
/attempt #200
I'd like to work on implementing RDP connection tracking in the activity bump system. I have experience with API integrations and backend development, and I'm familiar with Go from similar projects.
My implementation plan:
- Study the existing activity bump system in
activitybump.goand related SQL queries - Add RDP connection detection to the activity tracking system
- Extend the connection type tracking to include RDP alongside SSH, VSCode, JetBrains, and reconnecting PTY
- Test the implementation to ensure workspace sessions remain active during RDP connections
- Provide a demo showing the feature working as expected
I'm confident I can deliver this within the bounty timeline. Looking forward to working on this!
/attempt #200
/attempt #200
@DevelopmentCats can you assign me this
@MAVRICK-1 I beleive you need to do what people have done in the previous comments with the attempt slash command, and then once you have a PR submitted I can assign this to you based on #213
Hey @matifali, do we have RDP connection detection code in Coder like we do for SSH?
HI @Harsh9485, do we not have that? But there is a manual activity bump endpoint we can use on the module side to keep extending the activity if an RDP connection is active (I am not sure how to check that, though).
See:
@matifali, just to confirm, my work is to make sure that if an RDP connection is detected, the session is automatically extended just like SSH sessions work under the hood.
Yes, and includes detecting the RDP connection.