You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(config): normalize nobody UUID in macOS ACL test - #3232
test(config): normalize nobody UUID in macOS ACL test
Original problem
a_replaced_file_keeps_its_acl_on_macos fails when directory services don't resolve user:nobody and ls -le prints its UUID (FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE) instead. Hit in Hydra's aarch64-darwin build (https://hydra.nixos.org/build/354547005) and in Mesh-LLM/mesh-llm#3114.
Diagnostics
Hydra build 354547005 (mesh-llm 0.80.0, aarch64-darwin) panics at acl_tests.rs:192:
Introduced with the macOS ACL test in Mesh-LLM/mesh-llm#2863.
Fix
Normalize FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE to user:nobody in acl_entries.
Validation
I ran the relevant local checks, or explained why they do not apply.
cargo fmt, cargo clippy, and cargo test -p mesh-llm-config --lib (291/291) passed on Linux and macOS (kleinbem/mesh-llm-ci run 46184838476; the runner resolves user:nobody normally).
Nixpkgs aarch64-darwin sandbox build of 0.80.0 with this patch and the test unskipped passed (kleinbem/nixpkgs-review-gha run 46184937955).
UI changes include screenshots or video, or explain why visual aids are not needed. (No UI changes.)
Summary by CodeRabbit
Tests
Updated macOS ACL test output handling to consistently recognize the well-known nobody account.
No actionable comments were generated in the recent review.
Walkthrough
The macOS ACL test helper now replaces the well-known nobody UUID in trimmed ls -le output with user:nobody. The Linux and macOS replacement tests are otherwise unchanged.
Mesh-LLM/mesh-llm#2863 — That PR introduced ACL behavior and tests, including the macOS ACL test updated here.
Merge Risk: Minimal · up to 3438b
This change only makes a macOS ACL test tolerant of environments where nobody resolves to a UUID. It has no production impact and is ready to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the test scope (config), the change type (test), and the specific fix (normalizing the nobody UUID in the macOS ACL test). The raw summary says the helper now maps the well-known nobod…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the test scope (config), the change type (test), and the specific fix (normalizing the nobody UUID in the macOS ACL test). The raw summary says the helper now maps the well-known nobody UUID from ls -le output to user:nobody, which matches the title. The title is short, specific, and does not use vague terms.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Fix failing CI checks
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Some tools did not complete. Review the errors below.
Clippy (1.99.1)
Clippy execution failed
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title
test(config): normalize nobody UUID in macOS ACL test
Original problem
a_replaced_file_keeps_its_acl_on_macosfails when directory services don't resolveuser:nobodyandls -leprints its UUID (FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE) instead. Hit in Hydra'saarch64-darwinbuild (https://hydra.nixos.org/build/354547005) and inMesh-LLM/mesh-llm#3114.Diagnostics
Hydra build 354547005 (
mesh-llm0.80.0,aarch64-darwin) panics atacl_tests.rs:192:Introduced with the macOS ACL test in
Mesh-LLM/mesh-llm#2863.Fix
Normalize
FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFEtouser:nobodyinacl_entries.Validation
cargo fmt,cargo clippy, andcargo test -p mesh-llm-config --lib(291/291) passed on Linux and macOS (kleinbem/mesh-llm-cirun 46184838476; the runner resolvesuser:nobodynormally).aarch64-darwinsandbox build of 0.80.0 with this patch and the test unskipped passed (kleinbem/nixpkgs-review-gharun 46184937955).Summary by CodeRabbit
nobodyaccount.