Skip to content

revert: "fix(e2e-tests): run e2e tests as user, not as root"#64

Merged
LawrenceBorst merged 1 commit into
mainfrom
revert-e2e-root
May 10, 2026
Merged

revert: "fix(e2e-tests): run e2e tests as user, not as root"#64
LawrenceBorst merged 1 commit into
mainfrom
revert-e2e-root

Conversation

@LawrenceBorst

Copy link
Copy Markdown
Collaborator

Initially I discovered if you're running as root for the e2e test suite, test cleanup fails because pytest attempts to clean up after changes committed by the Docker daemon, and this gives permission denied problems—this happens if a test fails.

But then I changed it. Now there's another problem, I can't write to paths inside the container owned by a different user (see the Dockerfile chown that was recently added).

Now reverting this change... Honestly no big deal. Files are written to /tmp, and either (1) cleaned up on reboot or (2) run by ephemeral job runners that clean after themselves.

Review

  • Commits are atomic
  • Checks are passing
  • Code is sufficiently tested (sufficiently meaning, sometimes a lot, sometimes no need for tests at all)

@LawrenceBorst LawrenceBorst merged commit 7c69550 into main May 10, 2026
5 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.

1 participant