Skip to content

fix(installer): claim a root-owned wheels directory before staging - #317

Merged
Developer-Simon merged 6 commits into
mainfrom
fix/installer-wheels-dir-owner
Dec 4, 2026
Merged

Developer-Simon merged 6 commits into
mainfrom
fix/installer-wheels-dir-owner

Conversation

@Developer-Simon

@Developer-Simon Developer-Simon commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Squash-merge commit message

Step 50 runs as root and creates /var/lib/energy-node-installer/wheels when
it runs before the host has staged any wheels, for example after an updater
run. The host then ran mkdir/chmod as the SSH user and failed with
"chmod: Operation not permitted". The listing now takes ownership of the
directory and its top-level files with sudo, like the state directory itself.

CI: the post-merge runs on main and prerelease now share one concurrency
group for the macOS media end-to-end job, so they queue one after the other
instead of waiting for scarce macOS runners at the same time. PR runs keep
a group per run and stay parallel.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

Highlight translations

Highlights (de):
- Installer übernimmt ein root-eigenes Wheels-Verzeichnis vor dem Ablegen

Tour

none

Summary

Step 50 runs as root and creates /var/lib/energy-node-installer/wheels when
it runs before the host has staged any wheels, for example after an updater
run. The host then ran mkdir/chmod as the SSH user and failed with
"chmod: Operation not permitted". The listing now takes ownership of the
directory and its top-level files with sudo, like the state directory itself.

Checks

  • The title is a Conventional Commits subject.
  • scripts/dev/check_tracked_secrets.sh is clean.
  • AI assistance disclosed per AI-DISCLAIMER.md: Claude Sonnet 5.5
  • Suites run locally: go test ./internal/host, go vet, test_bootstrap_lib_wheels.sh
  • Linked issue: none

Developer-Simon and others added 6 commits December 4, 2026 20:36
Step 50 runs as root and creates /var/lib/energy-node-installer/wheels when
it runs before the host has staged any wheels, for example after an updater
run. The host then ran mkdir/chmod as the SSH user and failed with
"chmod: Operation not permitted". The listing now takes ownership of the
directory and its top-level files with sudo, like the state directory itself.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The main and prerelease runs now share one concurrency group for the macOS
media end-to-end job, so they no longer wait for scarce macOS runners at
the same time. PR runs keep a group per run and stay parallel.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tory

The user's primary group is not always named after the user. On the macOS
runner "runner" belongs to "staff", so "install -g runner" failed. Use
"id -gn" for the group instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Developer-Simon
Developer-Simon merged commit 5309c47 into main Dec 4, 2026
30 checks passed
@Developer-Simon
Developer-Simon deleted the fix/installer-wheels-dir-owner branch December 4, 2026 20:05
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