-
Notifications
You must be signed in to change notification settings - Fork 21
(MODULES-11615) Add support for SQL Server 2025 #493
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,106 @@ | ||||||||
| # frozen_string_literal: true | ||||||||
|
||||||||
| # frozen_string_literal: true | |
| # Acceptance manifest for installing the Microsoft OLE DB Driver for SQL Server |
Copilot
AI
Feb 25, 2026
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.
The variable $desired_version is declared but never used anywhere in the manifest. The actual version used is hardcoded to '18.6.0.0' on line 21. Either this variable should be removed, or the hardcoded version should be replaced with this variable.
Copilot
AI
Feb 25, 2026
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.
The installation script uses 'iex' (Invoke-Expression) to execute code downloaded from the internet on line 11. While this is the standard Chocolatey installation method, it poses a security risk as it executes arbitrary code. The script does use HTTPS and sets SecurityProtocol to TLS 1.2 (3072), which is good. However, consider adding a comment explaining this security consideration and why it's acceptable for this test environment, or consider alternative installation methods that don't require executing downloaded scripts directly.
Copilot
AI
Feb 25, 2026
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.
There's a trailing comma on line 101 after the EOT heredoc closure. This comma appears to be unnecessary and could potentially cause parsing issues. The comma should be removed, and the 'returns' parameter should follow directly after the 'unless' parameter without an intervening comma.
| EOT | |
| , | |
| EOT, |
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.
The text "now required" was changed to "required" which removes important information about timing. The original phrasing "now required" implied this was a recent change that users should be aware of. The new phrasing "required" makes it sound like it has always been required. Consider keeping "now required" or adding context about when this became a requirement to help users understand the change.