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
CI: generalize rootful (integration) test execution beyond the imagecache one-off #501
Follow-up to #467 review feedback (pr-workflow.yaml thread).
#467 added a one-off CI step that re-runs ./internal/imagecache/ under sudo so its root-gated tests (overlay mounts, whiteout mknod, trusted.* xattrs) execute instead of skipping. As more packages grow privileged tests, this shouldn't be a hardcoded package list.
Proposal: a repo-wide convention that a single CI step can discover — e.g. tests self-gate with t.Skip when unprivileged (as imagecache already does) and CI runs sudo -E go test for a designated set discovered via a build tag (//go:build roottest), a naming convention, or a small manifest. Should also document how to run them locally (sudo go test ./internal/imagecache/) in the contributor docs.
Activity
Generalize rootful test execution via internal/roottest discovery (#507)