Skip to content

Conversation

@CytoShahar
Copy link

Description

Add Positron Desktop IDE module based on VS Code Desktop module

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/cytoshahar/modules/positron
New version: v1.0.0
Breaking change: [ ] Yes [X] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

None

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new Positron Desktop IDE module based on the VS Code Desktop module. Positron is a next-generation data science IDE built on VS Code. The module provides a one-click button to launch Positron Desktop from Coder workspaces.

Key Changes

  • New Terraform module for Positron Desktop integration with Coder
  • Test suite covering various configuration scenarios
  • Documentation with usage examples

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
registry/cytoshahar/modules/positron/main.tf Terraform configuration defining the Positron Desktop app resource with URL construction logic
registry/cytoshahar/modules/positron/main.test.ts Test suite covering default behavior, folder configuration, and open_recent flag combinations
registry/cytoshahar/modules/positron/README.md Module documentation with usage examples and configuration details
registry/cytoshahar/README.md Registry author profile metadata
registry/cytoshahar/.images/avatar.jpeg Author avatar image
.icons/positron.svg Positron application icon

Comment on lines +12 to +14
locals {
icon_url = "/icon/positron.svg"
}
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

The local variable icon_url is defined but never used. The icon path is hardcoded directly on line 51. Either remove this unused local variable or replace the hardcoded value on line 51 with local.icon_url for consistency.

Copilot uses AI. Check for mistakes.
```tf
module "positron" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/positron/coder"
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

The source path is incorrect. It should be registry.coder.com/cytoshahar/positron/coder to match the actual module location in the registry/cytoshahar/modules/positron directory, not registry.coder.com/coder/positron/coder.

Copilot uses AI. Check for mistakes.
Comment on lines +31 to +32
source = "registry.coder.com/coder/positron/coder"
version = "1.1.1"
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

Version mismatch in the example. The PR description indicates this is version 1.0.0, but the example shows version 1.1.1. Additionally, the source path should be registry.coder.com/cytoshahar/positron/coder to match the actual module location.

Suggested change
source = "registry.coder.com/coder/positron/coder"
version = "1.1.1"
source = "registry.coder.com/cytoshahar/positron/coder"
version = "1.0.0"

Copilot uses AI. Check for mistakes.
Comment on lines +2 to +7
import {
executeScriptInContainer,
runTerraformApply,
runTerraformInit,
testRequiredVariables,
} from "~test";
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

Unused import executeScriptInContainer.

Copilot uses AI. Check for mistakes.
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.

1 participant