feat!: exclude backups from long running queries - #3790
Merged
Conversation
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 18:36 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 18:36 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 18:36 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 18:36 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:32 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:32 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:32 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:32 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:37 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:37 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:37 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 25, 2026 19:37 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 26, 2026 14:12 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 26, 2026 14:12 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 26, 2026 14:12 — with
GitHub Actions
Inactive
ekozilforce
temporarily deployed
to
AcceptanceTests
June 26, 2026 14:12 — with
GitHub Actions
Inactive
iriberri
reviewed
Jun 26, 2026
subakva
approved these changes
Jun 26, 2026
subakva
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me. I hope this reduces some confusion about expected background processes.
ekozilforce
marked this pull request as ready for review
June 26, 2026 14:49
Contributor
Author
|
I chatted with @k80bowman and updated the pr title and description that this is a breaking change. |
sbosio
force-pushed
the
feat/exclude-backups-from-long-running-queries
branch
from
August 12, 2026 13:34
be852e9 to
355e9c8
Compare
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.
Summary
This pr adds a
whereclause topg:long-running-queriesto filter out backups that are expected, low impact, and not actionable for customers. This command is meant to provide clarity for debugging, so the existence of this query leads to customer confusion. Thepg:pscommand will continue to show all active queries.We'd like to ship this change in the v12 cli release.
Slack discussion for additional context: https://salesforce.enterprise.slack.com/archives/C1RU5S0G2/p1782485686544529.
Type of Change
Breaking Changes (major semver update)
!after your change type to denote a change that breaks current behaviorFeature Additions (minor semver update)
Patch Updates (patch semver update)
Testing
Notes:
Standard db Testing
ps shows all running queries. Below we see follower replication, backup, and user queries:
long-running-queries pre-implementation, we see the backup and follower queries:
Post-implementation we only see the user query, filtering out the backup and follower queries:
Post-implementation smoke tests for essential and advanced show the command runs without error:
Screenshots (if applicable)
Related Issues
GUS work item: W-22101694