Skip to content

bootstrap: do not fail if no user or group defined #1223

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

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

ibizaman
Copy link
Contributor

@ibizaman ibizaman commented Jul 17, 2025

The case where no file is found should be handled gracefully. And with DO_CLEANUP=true, it means we want to cleanup all users and groups.

This was tested in this NixOS PR NixOS/nixpkgs#425923

Pushing my luck on the fast review :P

@ibizaman ibizaman requested a review from nitnelave as a code owner July 17, 2025 16:47
Copy link

codecov bot commented Jul 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.57%. Comparing base (0b0e6ae) to head (3427f12).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1223   +/-   ##
=======================================
  Coverage   86.57%   86.57%           
=======================================
  Files          64       64           
  Lines       11859    11859           
=======================================
  Hits        10267    10267           
  Misses       1592     1592           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nitnelave nitnelave merged commit f02b365 into lldap:main Jul 21, 2025
17 checks passed
@ibizaman ibizaman deleted the bootstrap_file branch July 21, 2025 21:41
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