mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-11 13:17:07 +00:00
In CI the workflow runs as the unprivileged `runner` user, so `scripts/install/package.sh`'s `apt-get update && apt-get install build-essential debhelper dpkg-dev rsync` aborted with `E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)` before the .deb was ever produced. Local act runs as root inside catthehacker/ubuntu so we never hit it. Detect non-root in 05_bootstrap_nodes.sh and prepend `sudo -E` to the build invocation. Inside the swarm-node containers package.sh still runs as root and never goes through sudo (those exec calls are unchanged). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Test Utilities 🧪
This directory holds the operational side of testing in Infinito.Nexus.
These assets are meant to support confidence, not ceremony. They help the project validate real-world behavior across local development, CI environments, and deployment-oriented smoke tests. The emphasis is on practical feedback: when something breaks, the surrounding test tooling should make the failure easier to understand, easier to reproduce, and easier to clean up. 🚀
Good changes in this area usually make the test experience more:
- repeatable
- diagnosable
- environment-aware
- safe to rerun
The ideal outcome is boring reliability: contributors should be able to trust that a test run says something meaningful about the system, not just about the machine that happened to execute it. ✅