Skip to content

Re-enable NSKIP018 - #866

Merged
ppenna merged 1 commit into
nanvix/v3.12.3from
nskip/018
Aug 5, 2026
Merged

ppenna merged 1 commit into
nanvix/v3.12.3from
nskip/018

Conversation

@ada-x64

@ada-x64 ada-x64 commented Jul 31, 2026

Copy link
Copy Markdown

Closes #486

What

Remove NSKIP018 guard on test_queue.test_reentrancy. (test_queue stays excluded.)

Why

Circular del is collected now; no OOM.
Verified the full lifecycle on Linux.

Copilot AI lite review requested due to automatic review settings July 31, 2026 22:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR re-enables CSimpleQueueTest.test_reentrancy by removing the Nanvix-specific NSKIP018 skip guard in Lib/test/test_queue.py, aligning with the stated fix that circular __del__ cycles are now collected and no longer trigger OOM.

Changes:

  • Removed the @unittest.skipIf(support.is_nanvix, "NSKIP018: ...") decorator from CSimpleQueueTest.test_reentrancy.
  • Removed the adjacent in-code NSKIP018 reference comment for that test.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings August 3, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ada-x64
ada-x64 marked this pull request as ready for review August 3, 2026 14:41
Circular __del__ is collected now; no OOM.
Copilot AI review requested due to automatic review settings August 5, 2026 21:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Suppressed comments (1)

Lib/test/test_queue.py:650

  • The module header comment still states that NSKIP018 is an active skip in non-standalone modes, but this PR removes the NSKIP018 skip for CSimpleQueueTest.test_reentrancy. Please update the header comment to avoid misleading future maintainers.
    def test_reentrancy(self):
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@ppenna
ppenna merged commit 9ec6035 into nanvix/v3.12.3 Aug 5, 2026
13 checks passed
@ppenna
ppenna deleted the nskip/018 branch August 5, 2026 22:07
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.

[NSKIP018] OOM from leak (circular __del__ not collected)

3 participants