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
{{ message }}
Repository navigation
categorize_command buckets psql (and mysql) as "other" instead of "cloud" in rtk gain #4023
categorize_command in src/core/tracking.rs has no arm for psql, so every rtk psql run is bucketed as "other" in rtk gain's category breakdown rather than "cloud", where docker and kubectl already sit. mysql (added in #3153) inherits the same gap.
"docker" | "kubectl" => "cloud",
There is no psql/mysql arm, and the fallthrough is _ => "other".
Pre-existing — #3153 matches the existing psql behaviour rather than introducing this — so it was left out of that review. The fix is one arm:
categorize_command has no arm for psql/mysql so they fall into "other" instead of "cloud" in rtk gain's category breakdown; add them to the cloud arm and audit related entry points
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
src/core/tracking.rs
Triaged automatically by wshm · This is an automated analysis, not a human review.
Closing in favour of #4428, which covers psql together with the other filtering commands that categorize_command still buckets as "other", and asks for a test so new commands cannot slip through again. mysql is not a command rtk handles today; if it lands, the same fix will cover it. Please follow up on #4428.
Activity
rtk-wshm-sync-bot commentedon Sep 13, 2026
🔍 Automated Triage
buglowSummary
categorize_command has no arm for psql/mysql so they fall into "other" instead of "cloud" in rtk gain's category breakdown; add them to the cloud arm and audit related entry points
📁 Relevant files
src/core/tracking.rsTriaged automatically by wshm · This is an automated analysis, not a human review.
KuSh commentedon Oct 3, 2026
Closing in favour of #4428, which covers psql together with the other filtering commands that categorize_command still buckets as "other", and asks for a test so new commands cannot slip through again. mysql is not a command rtk handles today; if it lands, the same fix will cover it. Please follow up on #4428.