Skip to content

refactor: move and split almost all process related function into uuproc - #802

Draft
Krysztal112233 wants to merge 10 commits into
uutils:mainfrom
Krysztal112233:feat/new_proc
Draft

Krysztal112233 wants to merge 10 commits into
uutils:mainfrom
Krysztal112233:feat/new_proc

Conversation

@Krysztal112233

Copy link
Copy Markdown
Collaborator

This is the first step of #162.

This pull request will separate almost all structures, functions, and other elements related to ProcessInfomation from pgrep and reorganize them.

@Krysztal112233
Krysztal112233 marked this pull request as draft October 1, 2026 17:13
@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 457 lines in your changes missing coverage. Please review.
✅ Project coverage is 19.38%. Comparing base (67832aa) to head (5e6e524).
⚠️ Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
src/uuproc/src/process/mod.rs 0.00% 212 Missing ⚠️
src/uuproc/src/ns.rs 0.00% 90 Missing ⚠️
src/uuproc/src/teletype.rs 0.00% 80 Missing ⚠️
src/uuproc/src/process/runstate.rs 0.00% 39 Missing ⚠️
src/uuproc/src/process/walk.rs 0.00% 23 Missing ⚠️
src/uuproc/src/cgroups.rs 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #802      +/-   ##
==========================================
+ Coverage   19.20%   19.38%   +0.18%     
==========================================
  Files          68       73       +5     
  Lines       10156    10227      +71     
  Branches      546      552       +6     
==========================================
+ Hits         1950     1983      +33     
- Misses       8206     8244      +38     
Flag Coverage Δ
macos_latest 6.75% <0.00%> (ø)
ubuntu_latest 19.74% <0.00%> (+0.19%) ⬆️
windows_latest 0.02% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- ns: import `std::io` unconditionally; the non-Linux `from_pid`
  stub also uses `io::Error` in its signature
- walk, teletype: gate the Linux-only test modules with
  `cfg(all(test, target_os = "linux"))` to avoid unused-import
  warnings on other platforms
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.

1 participant