Skip to content

Re-enable NSKIP029 - #856

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

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

Conversation

@ada-x64

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

Copy link
Copy Markdown

Closes #509

What

Remove NSKIP029 guards on the test_os fchmod/fchown tests.

Why

fchmod/fchown reject invalid fds now. (test_os stays in STANDALONE_EXCLUDE for unrelated pre-existing failures.)
Verified the full lifecycle on Linux.

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

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 test_os coverage for invalid file descriptor handling in os.fchmod() and os.fchown() by removing Nanvix-specific NSKIP029 skips, now that these syscalls correctly reject invalid FDs.

Changes:

  • Removed support.is_nanvix skip guards for the test_fchmod and test_fchown invalid-FD tests.
  • Eliminated the associated NSKIP029 skip messages/comments from Lib/test/test_os.py.

💡 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:42
fchmod/fchown reject invalid fds now. (test_os stays in STANDALONE_EXCLUDE for unrelated pre-existing failures.)
Copilot AI review requested due to automatic review settings August 5, 2026 15:37

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@ppenna
ppenna merged commit c1a3edc into nanvix/v3.12.3 Aug 5, 2026
13 checks passed
@ppenna
ppenna deleted the nskip/029 branch August 5, 2026 16:00
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.

[NSKIP029] os.fchmod/fchown accepts invalid fd silently

3 participants