Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

feat: add --state option to filter process list output - #3125

Merged
mergify[bot] merged 2 commits into
instructlab:mainfrom
reidliu41:add-filter-for-process-list
Feb 16, 2025
Merged

feat: add --state option to filter process list output#3125
mergify[bot] merged 2 commits into
instructlab:mainfrom
reidliu41:add-filter-for-process-list

Conversation

@reidliu41

@reidliu41 reidliu41 commented Feb 6, 2025

Copy link
Copy Markdown
Contributor

Issue resolved by this Pull Request:
Resolves #3081

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the
    conventional commits.
  • Changelog updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Functional tests have been added, if necessary.
  • E2E Workflow tests have been added, if necessary.

@mergify mergify Bot added the testing Relates to testing label Feb 6, 2025
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from e80fb72 to 9ad7250 Compare February 6, 2025 02:03
@reidliu41
reidliu41 requested a review from booxter February 6, 2025 03:37
Comment thread src/instructlab/cli/process/list.py Outdated
Comment thread src/instructlab/process/process.py Outdated
Comment thread tests/test_lab_process_list.py Outdated
start_time_str, "%Y-%m-%d %H:%M:%S"
).isoformat(),
"status": ILAB_PROCESS_STATUS.DONE,
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(Note to myself, no change required) This code should be re-written to use ProcessRegistry class to manage the state.

Comment thread tests/test_lab_process_list.py
Comment thread src/instructlab/cli/process/list.py Outdated
Comment thread src/instructlab/cli/process/list.py
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from 9ad7250 to 7822ae3 Compare February 7, 2025 02:44
@mergify mergify Bot added ci-failure PR has at least one CI failure and removed ci-failure PR has at least one CI failure labels Feb 7, 2025
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from 2802065 to 01a4a47 Compare February 7, 2025 02:49
@mergify mergify Bot added the ci-failure PR has at least one CI failure label Feb 7, 2025
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from 46478ff to 3c29e28 Compare February 7, 2025 03:33
@mergify mergify Bot removed the ci-failure PR has at least one CI failure label Feb 7, 2025
Comment thread src/instructlab/process/process.py Outdated
Comment thread tests/test_lab_process_list.py
Signed-off-by: reid_liu <guliu@redhat.com>
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from 3c29e28 to 29c63d5 Compare February 8, 2025 03:40
@mergify mergify Bot added ci-failure PR has at least one CI failure and removed ci-failure PR has at least one CI failure labels Feb 8, 2025
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from ae9d63f to d4b5c49 Compare February 8, 2025 03:46
@mergify mergify Bot added the ci-failure PR has at least one CI failure label Feb 8, 2025
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from d4b5c49 to b0b02ad Compare February 8, 2025 04:13
@mergify mergify Bot added ci-failure PR has at least one CI failure and removed ci-failure PR has at least one CI failure labels Feb 8, 2025
@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from b0b02ad to d602a94 Compare February 8, 2025 04:53
@mergify mergify Bot added ci-failure PR has at least one CI failure and removed ci-failure PR has at least one CI failure labels Feb 8, 2025
@reidliu41

Copy link
Copy Markdown
Contributor Author

seems random failed for the functional test script..

@reidliu41
reidliu41 force-pushed the add-filter-for-process-list branch from d602a94 to 9355710 Compare February 8, 2025 06:08
Signed-off-by: reid_liu <guliu@redhat.com>
@mergify mergify Bot removed the ci-failure PR has at least one CI failure label Feb 8, 2025

@booxter booxter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh you actually went ahead and enum-ed! Thanks!!!

@mergify mergify Bot added the one-approval PR has one approval from a maintainer label Feb 9, 2025
@reidliu41
reidliu41 requested review from a team and jaideepr97 and removed request for jaideepr97 February 9, 2025 01:46
@mergify
mergify Bot merged commit 24b44f1 into instructlab:main Feb 16, 2025
@mergify mergify Bot removed the one-approval PR has one approval from a maintainer label Feb 16, 2025
@reidliu41 reidliu41 mentioned this pull request Feb 17, 2025
6 tasks
mergify Bot added a commit that referenced this pull request Feb 26, 2025
Since #3125 merged, so updated it.






**Checklist:**

- [ ] **Commit Message Formatting**: Commit titles and messages follow guidelines in the
  [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary).
- [ ] [Changelog](https://github.com/instructlab/instructlab/blob/main/CHANGELOG.md) updated with breaking and/or notable changes for the next minor release.
- [ ] Documentation has been updated, if necessary.
- [ ] Unit tests have been added, if necessary.
- [ ] Functional tests have been added, if necessary.
- [ ] E2E Workflow tests have been added, if necessary.



Approved-by: booxter

Approved-by: nathan-weinberg
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

testing Relates to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persist details about completed processes in ilab process list

3 participants