feat: Add Parsec cloud gaming module for Windows workspaces#701
feat: Add Parsec cloud gaming module for Windows workspaces#701Quantum-Forge-Code wants to merge 1 commit intocoder:mainfrom
Conversation
- Add Parsec installation script for Windows (install-parsec.ps1) - Support for Parsec Teams deployment with team_id and team_key - External app links to Parsec web client and documentation - Terraform tests (parsec.tftest.hcl) - TypeScript tests (main.test.ts) - Custom hostname and auto_start configuration options - Add parsec.svg icon Closes coder#205
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ca5a908575
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| script = templatefile("${path.module}/install-parsec.ps1", { | ||
| parsec_team_id = var.parsec_team_id | ||
| parsec_team_key = var.parsec_team_key | ||
| host_name = var.host_name |
There was a problem hiding this comment.
Pass workspace hostname fallback into script template
The module says host_name defaults to the workspace name, but the script template is always rendered with var.host_name directly; when users leave host_name unset, the PowerShell gets an empty value and skips writing host_name entirely. This creates a behavior mismatch with both the variable description and README (workspace-name default), so default deployments won't get the expected stable Parsec host naming.
Useful? React with 👍 / 👎.
|
We have a bounty claim PR for this already I apologize. #671 |
Description
This PR adds a new module for Parsec cloud gaming and remote desktop integration on Windows workspaces.
What is Parsec?
Parsec is a low-latency remote desktop application designed for cloud gaming and productivity. It offers:
Features
parsec_team_idandparsec_team_keyFiles Added
registry/coder/modules/parsec/main.tf- Terraform configurationregistry/coder/modules/parsec/install-parsec.ps1- Windows installation scriptregistry/coder/modules/parsec/README.md- Documentation with examplesregistry/coder/modules/parsec/parsec.tftest.hcl- Terraform testsregistry/coder/modules/parsec/main.test.ts- TypeScript tests.icons/parsec.svg- Module iconUsage
Testing
terraform initsuccessfulterraform testpasses (4/4 tests)bun run fmtCloses #205