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

fix: remove redundant nodes in process tree #71

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

snprajwal
Copy link
Member

The recursive logic used to process nodes in the process tree was accidentally appending child nodes twice. This has been fixed by removing the addition of the extra node at the same depth before processing the child.

Fixes #70

@github-actions
Copy link

github-actions bot commented Jun 16, 2023

Test Results

24 tests  ±0   24 ✔️ ±0   0s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit ee4989a. ± Comparison against base commit d91aab9.

♻️ This comment has been updated with latest results.

@snprajwal
Copy link
Member Author

Nice, one more bug in the binary size checker. We should be comparing against the last non-merge commit, not the entire history of merge commits. I'll open a PR for this.

The recursive logic used to process nodes in the process tree was
accidentally appending child nodes twice. This has been fixed by
removing the addition of the extra node at the same depth before
processing the child.

Signed-off-by: Prajwal S N <[email protected]>
Copy link
Member

@rst0git rst0git left a comment

Choose a reason for hiding this comment

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

LGTM

@rst0git rst0git merged commit c3bcdc6 into checkpoint-restore:main Jun 18, 2023
@snprajwal snprajwal deleted the fix-pstree branch July 12, 2023 15:15
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.

Process tree output looks not totally correct.
2 participants