On Windows systems, when attempting to launch devchat without administrator privileges, the process fails. Detailed investigation indicates that the failure is due to the application attempting to read configuration information that no longer exists, resulting in null values. This issue appears to have stemmed from configuration settings being removed over the course of several version upgrades.
Steps to Reproduce
Attempt to start vscode without administrator privileges on a Windows system.
Launch devchat from within vscode.
Observe that the devchat fails to launch.
Expected Behavior
Devchat should launch successfully without requiring administrator permissions, even if certain configurations have been removed or altered in previous updates.
Actual Behavior
Devchat fails to launch, with the underlying cause being an attempt to read non-existent configuration information, resulting in null values.
Possible Solutions
Implement checks to ensure that outdated or removed configurations do not halt the launch process.
Provide default values for configurations that might be missing, ensuring backward compatibility.
Investigate and ensure that permission requirements for reading configuration files are aligned with user privileges, especially in cases where administrator privileges are not available.
Environment
Operating System: Windows
VSCode Version: [please specify]
Devchat Version: [please specify]
This issue has caused disruptions in the workflow for non-administrator users and needs prompt attention to ensure a smooth development experience.
Issue Overview
On Windows systems, when attempting to launch devchat without administrator privileges, the process fails. Detailed investigation indicates that the failure is due to the application attempting to read configuration information that no longer exists, resulting in null values. This issue appears to have stemmed from configuration settings being removed over the course of several version upgrades.
Steps to Reproduce
Expected Behavior
Devchat should launch successfully without requiring administrator permissions, even if certain configurations have been removed or altered in previous updates.
Actual Behavior
Devchat fails to launch, with the underlying cause being an attempt to read non-existent configuration information, resulting in null values.
Possible Solutions
Environment
This issue has caused disruptions in the workflow for non-administrator users and needs prompt attention to ensure a smooth development experience.