Skip to content

Conversation

ClementTsang
Copy link
Owner

Description

A description of the change, what it does, and why it was made. If relevant (such as any change that modifies the UI), please provide screenshots of the changes:

This fixes an issue in Linux where some process names that ended with ':' would appear when they shouldn't.

Note this is kinda an interim fix; turns out I misunderstood some things about comm/cmdline/basenames which I will address later.

Issue

If applicable, what issue does this address?

Closes: #

Testing

If relevant, please state how this was tested. All changes must be tested to work:

If this is a code change, please also indicate which platforms were tested:

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, doc pages, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts
  • If relevant, new tests were added (don't worry too much about coverage)

@ClementTsang ClementTsang changed the title bug: fix colon at end of process name for now bug: fix colon at end of process name for now on Linux Aug 20, 2025
Copy link

codecov bot commented Aug 20, 2025

Codecov Report

❌ Patch coverage is 32.85714% with 47 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.04%. Comparing base (3edd3e1) to head (fc8aead).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/collection/processes/linux/process.rs 0.00% 34 Missing ⚠️
src/collection/processes/linux/mod.rs 63.88% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1800      +/-   ##
==========================================
+ Coverage   41.97%   42.04%   +0.06%     
==========================================
  Files         115      115              
  Lines       16146    16174      +28     
==========================================
+ Hits         6777     6800      +23     
- Misses       9369     9374       +5     
Flag Coverage Δ
macos-14 37.39% <ø> (ø)
ubuntu-latest 43.59% <32.85%> (+0.07%) ⬆️
windows-2022 37.77% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

@ClementTsang ClementTsang enabled auto-merge (squash) August 20, 2025 08:35
@ClementTsang ClementTsang disabled auto-merge August 21, 2025 11:21
@ClementTsang ClementTsang merged commit 47cc0b3 into main Aug 21, 2025
61 of 63 checks passed
@ClementTsang ClementTsang deleted the fix_process_name_colon branch August 21, 2025 11:21
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Oct 10, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ClementTsang/bottom](https://github.com/ClementTsang/bottom) | patch | `0.11.1` -> `0.11.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>ClementTsang/bottom (ClementTsang/bottom)</summary>

### [`v0.11.2`](https://github.com/ClementTsang/bottom/blob/HEAD/CHANGELOG.md#0112---2025-10-07)

[Compare Source](ClementTsang/bottom@0.11.1...0.11.2)

##### Features

- [#&#8203;1793](ClementTsang/bottom#1793): Add support for threads in Linux.
- [#&#8203;1719](ClementTsang/bottom#1719): Support ignoring all keypresses.
- [#&#8203;1772](ClementTsang/bottom#1772): Support hiding kernel threads.

##### Bug Fixes

- [#&#8203;1800](ClementTsang/bottom#1800): Fix colon at end of process name in Linux.
- [#&#8203;1804](ClementTsang/bottom#1804): Draw average CPU last again.
- [#&#8203;1811](ClementTsang/bottom#1811): Fix drawing average CPU in basic mode when dedicated row is enabled.
- [#&#8203;1817](ClementTsang/bottom#1817): Fix builds for FreeBSD on ARM/PowerPC due to `libc::c_char` data type being different.
- [#&#8203;1821](ClementTsang/bottom#1821): Use alpha version of ratatui version which fixes drawing at high resolutions.
- [#&#8203;1827](ClementTsang/bottom#1827): Fix crash for Windows where the network widget could cause a crash if the program started too quickly after boot under certain settings.

##### Other

- [#&#8203;1801](ClementTsang/bottom#1801): Build and check Windows ARM.
- [#&#8203;1816](ClementTsang/bottom#1816): Optimize username cloning on Unix.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDEuMCIsInVwZGF0ZWRJblZlciI6IjQxLjE0MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
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