padenot / padenot/treeherder-cli
--filter ignores matching jobs
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1
- Forks
- 2
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Retro after a session with claude:
treeherder-cli --filter ignored matching jobs. treeherder-cli --filter "macosx.*gtest" --include-intermittent returned "No jobs found" when the underlying Treeherder API showed those jobs in mixed states. Looks like the filter is applied after a default state-narrowing pass that drops in-progress / unscheduled tasks. I had to drop to raw curl + python to enumerate. The CLI behaviour is fine for sheriff workflows but surprising for "show me everything matching the regex".
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reproducing the reported command: treeherder-cli --filter "macosx.*gtest" --include-intermittent, then compare its results with the underlying Treeherder API response. Trace where default state narrowing occurs relative to regex filtering. Done means matching jobs are returned even when they are in progress or unscheduled, while existing sheriff workflows remain usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100