Skip to content

V4 jobs command#61

Merged
amberxu25 merged 6 commits intomainfrom
FMEFLOWCLI-57
Oct 21, 2025
Merged

V4 jobs command#61
amberxu25 merged 6 commits intomainfrom
FMEFLOWCLI-57

Conversation

@amberxu25
Copy link
Collaborator

@amberxu25 amberxu25 commented Oct 8, 2025

@amberxu25 amberxu25 requested a review from garnold54 October 8, 2025 00:39
Copy link
Collaborator

@garnold54 garnold54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Amber! As discussed, some changes we can make around how users pass in the job status filters to support the old flags from v3 in the v4 implementation, and add some new ones for the new status instead of passing them in as the string array.
I think it would be nice to try and support the user-name flag in v4 as well even though we would now have to make a separate call to the accounts endpoint to get the user id first.

…atuses from both groups; avoided querying queued jobs when --engine-name is given
Copy link
Collaborator

@garnold54 garnold54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Amber! Just a suggestion on I think making the code a bit easier to read by moving some logic around. Let me know if you want to discuss!

@amberxu25 amberxu25 requested a review from garnold54 October 20, 2025 21:06
Copy link
Collaborator

@garnold54 garnold54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! Just two more things:

  1. For the things that are new for v4, maybe we should provide a nice error message besides the 404 that is returned if they are used with the v3 API.
  2. We should regenerate the docs so they match 1 to 1 with the help from the commands. See this readme for info: https://github.com/safesoftware/fmeflow-cli/tree/main/docgen

@amberxu25 amberxu25 requested a review from garnold54 October 21, 2025 01:18
Copy link
Collaborator

@garnold54 garnold54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one more change to move the V4 only in the help text, then we should be good to merge!

@amberxu25 amberxu25 requested a review from garnold54 October 21, 2025 18:13
Copy link
Collaborator

@garnold54 garnold54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! I think we are ready to merge! 👍 Thanks!

@amberxu25 amberxu25 merged commit ed1c4c7 into main Oct 21, 2025
1 of 2 checks passed
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.

2 participants