Conversation
Bump project and wiki package versions to 1.2.1 and update OpenAPI docs' version fields. Add a new v1.2.1 section to the changelog documenting the Docker image, tags, and supported platforms. Modified files: package.json, wiki/package.json, api-docs/openapi.yaml, public/openapi.yaml, wiki/changelog.md.
Replace global sql.connect() singleton with new sql.ConnectionPool(connConfig) + await pool.connect() across MSSQL adapter methods to create independent per-operation pools and avoid concurrent requests closing each other's connections. Update Database Explorer to remove the parallel test-connection call and read server version from the database-stats response. Update changelog to document these fixes.
Add optional requestTimeout and onMessage parameters to executeQueryWithMessages so callers can override the request timeout (0 = no timeout) and receive SQL Server info messages in real time. Update dump and restore flows to call executeQueryWithMessages with requestTimeout=0 and a message callback that logs progress, preventing long-running BACKUP/RESTORE operations from timing out and providing live UI updates. Update changelog entries to document the fix and improvement.
Introduce user-triggered cancellation for executions across the stack. - API: Add POST /api/executions/[id]/cancel to cancel Pending executions (DB update) or Running executions (in-memory abort with DB fallback) and append cancel log entries. - Core: Add lib/execution-abort.ts (register/unregister/abort/isExecutionRunning) as a centralized abort registry. - Runner/Types: Register executions on start, expose abortSignal in RunnerContext, check for cancellation during steps, mark executions as Cancelled on abort and unregister on finish. - RestoreService: Register restores for cancellation and differentiate cancelled vs failed flows (update DB status/logs accordingly). - UI: Add Cancelled status to history columns, show Cancel button in execution dialog (with spinner), and wire cancellation request; update badges and components to render Cancelled state. - Dashboard: Add cancelled counts/colors to activity/job-status widgets and latest jobs list; update dashboard-service to include cancelled in activity and distribution data. - Docs: Update changelog to document the new cancel feature and UI/visual changes. This change enables safe cancellation of queued or in-progress backups/restores, with process-local aborts and a robust DB fallback for cases where the execution isn't tracked by the current process.
Expand the v1.2.1 changelog heading to surface key highlights (Execution Cancellation, MSSQL Progress & Dashboard Polish) so the release's primary updates are visible at a glance. Release date remains unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.