Skip to content

loosen sandbox to allow sudo to run; allow omitting branch from jobs#7

Merged
reynoldsnlp merged 2 commits into
mainfrom
debug-setuid
May 29, 2026
Merged

loosen sandbox to allow sudo to run; allow omitting branch from jobs#7
reynoldsnlp merged 2 commits into
mainfrom
debug-setuid

Conversation

@reynoldsnlp

@reynoldsnlp reynoldsnlp commented May 28, 2026

Copy link
Copy Markdown
Contributor

Fixed the bugs in fetch-runner.service that were blocking sudo from switching user id.

I think we want the dev deployments to allow developers to manually switch which branch we are following, so we should allow the jobs config to omit branch. If branch is omitted, then simply fetch whatever branch is currently checked out.

@reynoldsnlp reynoldsnlp requested a review from benrencher May 28, 2026 23:02
Comment thread examples/jobs.toml
# [[jobs]].branch (optional) — fixed branch to track. Omit to follow
# whatever branch is currently checked out in the working tree, so an
# operator can `git checkout` a different branch and fetch-runner will
# start tracking it on the next poll. Detached HEAD is skipped.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've always felt that "detached HEAD" was a gruesome way to describe this function of git.

@reynoldsnlp reynoldsnlp merged commit 9328f12 into main May 29, 2026
1 check passed
@reynoldsnlp reynoldsnlp deleted the debug-setuid branch May 29, 2026 16:16
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