Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance(api/workers): add filters to list workers #1029

Merged
merged 7 commits into from
Jan 5, 2024

Conversation

ecrupper
Copy link
Contributor

I think it would be helpful to add these query parameters for listing workers. I was using vela get workers CLI command the other day and trying to do some bash scripting to filter out stale workers and it made me want to do this 😅

@ecrupper ecrupper requested a review from a team as a code owner December 21, 2023 17:50
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (730b0f4) 66.96% compared to head (914db3c) 67.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1029      +/-   ##
==========================================
+ Coverage   66.96%   67.00%   +0.04%     
==========================================
  Files         330      330              
  Lines       14074    14075       +1     
==========================================
+ Hits         9424     9431       +7     
+ Misses       4169     4165       -4     
+ Partials      481      479       -2     
Files Coverage Δ
database/worker/list.go 91.17% <100.00%> (+18.44%) ⬆️

timhuynh94
timhuynh94 previously approved these changes Dec 28, 2023
claire1618
claire1618 previously approved these changes Dec 28, 2023
api/worker/list.go Outdated Show resolved Hide resolved
@ecrupper ecrupper dismissed stale reviews from claire1618 and timhuynh94 via a69da08 January 2, 2024 15:27
timhuynh94
timhuynh94 previously approved these changes Jan 2, 2024
api/worker/list.go Outdated Show resolved Hide resolved
@wass3r wass3r requested a review from wass3rw3rk January 2, 2024 18:29
@wass3rw3rk wass3rw3rk dismissed their stale review January 3, 2024 17:13

see wass3r approval

@ecrupper ecrupper merged commit 4906635 into main Jan 5, 2024
13 of 15 checks passed
@ecrupper ecrupper deleted the enhance/api/list-workers-filters branch January 5, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants