categorize_command buckets psql (and mysql) as "other" instead of "cloud" in rtk gain
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 90/100
Research direction
Start in src/core/tracking.rs at categorize_command and review the existing cloud-command arm. Check the related entry points under src/cmds/cloud/, including aws, curl, and wget, against the categorization list. Done means psql and mysql appear under the cloud category in rtk gain rather than other, with existing behavior preserved.
Written by the indexing model from the issue text.
Description
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:
"docker" | "kubectl" | "psql" | "mysql" => "cloud",
Worth checking the other src/cmds/cloud/ entry points (aws, curl, wget) against the same list while touching it.
- Dominant language
- Rust
- Stars
- 81.1k
- Forks
- 5.1k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 42
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rtk-ai/rtk
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
bug core output-formatting
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
uv_cmd discards print_with_hint's return value, so the tee hint is not counted and savings read 100% Openanalytics bug python
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
area:cli bug good first issue platform:windows priority:medium resolved-pending-close
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
area:cli bug good first issue priority:high
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100