You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for SQL Server 2025 which uses the SSEI bootstrapper model
instead of direct exe/box download URLs. The bootstrapper is downloaded
and executed with /Action=Download to fetch the CAB media, which is then
extracted using the same flow as the box installer.
- Add optional sseiUrl field to VersionConfig interface
- Make exeUrl optional to support SSEI-only versions
- Add downloadSseiInstaller() function in utils
- Update findOrDownloadTool() to handle SSEI path
- Add 2025 version entry with SSEI URL
- Update latest/default version mapping from 2022 to 2025
- Add comprehensive tests for SSEI installer flow
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4. Downloads or cache-hits the SQL Server installer (box+exe or standalone exe)
46
+
4. Downloads or cache-hits the SQL Server installer (box+exe, standalone exe, or SSEI bootstrapper)
47
47
5. Optionally downloads cumulative updates
48
48
6. Runs the installer via `@actions/exec`
49
49
7. Waits for the database to be ready (exponential backoff)
50
50
51
-
**Installer abstraction:**`src/installers/` contains a base `Installer` class and `MsiInstaller` subclass used by the native client and ODBC installations. SQL Server itself uses direct exe/box download logic in `src/utils.ts`.
51
+
**Installer abstraction:**`src/installers/` contains a base `Installer` class and `MsiInstaller` subclass used by the native client and ODBC installations. SQL Server itself uses direct exe/box download logic or the SSEI bootstrapper (for 2025+) in `src/utils.ts`.
52
52
53
-
**Version registry:**`src/versions.ts` defines a `Map<string, VersionConfig>` with download URLs, optional box URLs, update URLs, and OS compatibility constraints for each supported SQL Server version (2008–2022).
53
+
**Version registry:**`src/versions.ts` defines a `Map<string, VersionConfig>` with download URLs (exe/box or SSEI), optional update URLs, and OS compatibility constraints for each supported SQL Server version (2008–2025). SQL Server 2025+ uses the SSEI bootstrapper model (`sseiUrl`) instead of direct exe/box downloads.
54
54
55
55
**Build output:**`@vercel/ncc` bundles everything into `lib/main/index.js`, which is what `action.yml` references. The `lib/` directory is committed to the repository. **Every commit must include up-to-date build output** — CI checks this by rebuilding and running `git diff-files --quiet`. Always run `npm run build` and commit the resulting changes to `lib/` and `README.md` before pushing.
0 commit comments