Skip to content

test(config): normalize nobody UUID in macOS ACL test - #3232

Merged
i386 merged 1 commit into
Mesh-LLM:mainfrom
kleinbem:kleinbem/macos-acl-uuid
Nov 29, 2026
Merged

i386 merged 1 commit into
Mesh-LLM:mainfrom
kleinbem:kleinbem/macos-acl-uuid

Conversation

@kleinbem

@kleinbem kleinbem commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Title

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:

left: ["0: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFE allow read"]
right: ["0: user:nobody allow read"]

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.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

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.

Changes: macOS ACL test

Layer / File(s) Summary
Normalize ACL output
mesh/crates/mesh-llm-config/src/private_file/acl_tests.rs
The macOS ACL output helper replaces the well-known nobody UUID with user:nobody after trimming each line.

Estimated code review effort: 2 (Simple) | ~7 minutes

Change: Other

Possibly related issues

Possibly related PRs

  • 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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c9cb684b-b8e3-42cd-84e3-544893c1e34d
Commits

Reviewing files that changed from the base of the PR and between 74c8765 and 3438ba9.

Files selected for processing: 1

  • mesh/crates/mesh-llm-config/src/private_file/acl_tests.rs

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@i386
i386 merged commit d650da1 into Mesh-LLM:main Nov 29, 2026
16 of 30 checks passed
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.

2 participants