8000 feat(osx): own the fleet account's git auto-gc settings on the offload host by inkatze · Pull Request #261 · inkatze/dotfiles · GitHub
[go: up one dir, main page]

Skip to content

feat(osx): own the fleet account's git auto-gc settings on the offload host - #261

Merged
inkatze merged 5 commits into
mainfrom
planwright/flight/mc-dotfiles-ad-hoc-8b07b2c3
Nov 14, 2026
Merged

inkatze merged 5 commits into
mainfrom
planwright/flight/mc-dotfiles-ad-hoc-8b07b2c3

Conversation

@inkatze
@inkatze inkatze commented Nov 14, 2026 •
Copy link
Copy Markdown
Owner

The Mac fleet account's git auto-gc settings are now owned by the osx role: on the offload host the play sets gc.auto=0 and maintenance.auto=false in the account's global git config, so a fresh install gets them. Background auto-gc removed loose-object directories in the middle of runner jobs and broke mise-action twice; the settings had only been applied by hand.

  • New roles/osx/tasks/offload-git.yml, included only on the offload hosts (after the account checks), using community.general.git_config with global scope. No sudo, nothing in the owner's account.

  • The play skips the write when ~/.gitconfig is a symlink: the osx role runs before the git role, and a link still pointing at a checkout would take the write into the tracked file. The git role replaces a link into a checkout of this repo and the next run sets the keys; any other symlink stays, and the keys stay unset until it is replaced by hand (documented).

  • The git role does not manage these keys; the keys land below its include block.

  • Own task file, to keep the conflict with the open runner-hook PR (Refuse fork jobs on the Mac's self-hosted runners and run several instances per repository #258, which edits offload-runner.yml) to the one include line in main.yml.

  • scripts/osx-offload-guard-test.sh pins both keys, the global scope, the host-only include and the symlink guard; docs/offload-host.md gets a short "Git auto-gc" section.

  • The tasks and the include carry osx and offload only: the git tag is reserved for the git role in the CI role matrix, which failed the previous head.

Verification: scripts/osx-offload-guard-test.sh passes (70), scripts/ci-role-matrix-test.sh passes, yamllint and ansible-lint clean on the changed files. Slow suites were left to CI.

Reviews: /polish --nested and /panel-review --nested (gemini) both ran as the real skills, in the worker's own session rather than separate sessions (recorded as degraded below), on the first head and again on the tag-fix and docs delta. The second polish round applied one prose fix (the foreign-symlink wording); its other findings and panel-review's XDG-config finding were declined as unreachable in this repo or low risk.

Bot review: cubic was triggered first and replied with a quota refusal ("cubic can't start this review because your workspace has reached its free monthly review limit ... Reviews resume on 2 December 2026"), so PR-Agent's review counts: on the latest head it reports no major issues and no inline comments.

Step records

Steps at convergence (run 000001)

# Step Kind Target Hosting Backend Session Head Start End Outcome Excerpt Output
1 polish skill polish in-session stream-json-persistent db7a231 to 56279af 2026-11-14T09:11:55Z 2026-11-14T09:21:55Z applied (degraded: isolated session not launched; ran in-session through the skill tool) polish --nested ran in-session through the skill tool: self-review passes with lens sub-agents (ansible correctness, tests and docs, security and boundary, then a re-pass over the fix delta). Applied: symlinked gitconfig write-through guard (b3b4eec) and test-hardening plus a docs line (56279af). Final pass found none.
2 panel-review skill panel-review in-session stream-json-persistent 56279af 2026-11-14T09:22:21Z 2026-11-14T09:45:07Z passed (degraded: isolated session not launched; ran in-session through the skill tool) panel-review --nested ran in-session through the skill tool with the gemini backend (profile server, egress consent already recorded). One discovery pass returned two findings, both declined after local validation: a docs claim about key position (true on a fresh file and on an existing one, since keys land below the git role block either way) and an exact-match test assertion (intentional, the pattern the file already uses). Nothing applied; inbox empty; converged.

Ended on 56279afbd327.

Steps at post-pr (run 000001)

# Step Kind Target Hosting Backend Session Head Start End Outcome Excerpt Output
1 bot-review skill bot-review in-session stream-json-persistent 56279af 2026-11-14T10:04:46Z 2026-11-14T10:07:37Z passed (degraded: isolated session not launched; ran in-session through the skill tool; cubic quota refusal, PR-Agent counted per r-30) bot-review --nested ran in-session through the skill tool. cubic was triggered first and its actual reply on PR 261 was a quota refusal: "cubic can't start this review because your workspace has reached its free monthly review limit. cubic has reviewed 40,041 of the 40,000 allowed lines of code this month. Reviews resume on 2 December 2026." Stopped with Vendor quota and nothing further was requested from cubic. Per r-30 the PR-Agent review counts as the bot review: run 43583193484.1 on head 56279af, status success, no major issues, no security concerns, zero inline comments, so nothing to reply to or resolve.

Ended on 56279afbd327.

Steps at convergence (run 000002)

# Step Kind Target Hosting Backend Session Head Start End Outcome Excerpt Output
1 polish skill polish in-session stream-json-persistent de6cf06 to 9d1eb55 2026-11-14T10:48:30Z 2026-11-14T10:59:36Z applied (degraded: isolated session launch needs a driver for its approval prompts; ran the real nested skill in the unit session) polish --nested, 2 passes, 9-lens then 6-lens agent fan-out run in-session; pass 1 applied one doc fix (foreign gitconfig symlink wording), 8 findings declined as out of scope or low-risk; pass 2 found nothing.
2 panel-review skill panel-review in-session stream-json-persistent 9d1eb55 2026-11-14T11:00:30Z 2026-11-14T11:11:33Z passed (degraded: isolated session launch needs a driver for its approval prompts; ran the real nested skill in the unit session) panel-review --nested on gemini (non-Anthropic), 1 iteration: 2 candidates (XDG git config redirect), both declined as unreachable in this repo; nothing applied.

Ended on 9d1eb55f1361.

Steps at post-pr (run 000002)

# Step Kind Target Hosting Backend Session Head Start End Outcome Excerpt Output
1 bot-review skill bot-review in-session stream-json-persistent 9d1eb55 2026-11-14T10:54:53Z 2026-11-14T11:16:46Z passed (degraded: no findings to drain; read PR-Agent's persistent review on the new head instead of a full drain loop) cubic refused on quota (quoted in the PR body); PR-Agent reviewed head 9d1eb55 (run 43588903310.1, success): no findings, no inline threads, nothing to reply to or resolve.

Ended on 9d1eb55f1361.

The osx role runs before the git role, so a gitconfig still linked at a
checkout would have taken the write into the tracked file.

Planwright-Sign-Off: PS-1
@github-actions
github-actions Bot commented Nov 14, 2026 •
Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit 9d1eb55)

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
github-actions Bot commented Nov 14, 2026 •
Copy link
Copy Markdown

PR-Agent run 43588903310.1 on 9d1eb55: success

@inkatze
inkatze commented Nov 14, 2026
Copy link
Copy Markdown
Owner Author

@cubic-dev-ai review this PR

@cubic-dev-ai
cubic-dev-ai Bot commented Nov 14, 2026
Copy link
Copy Markdown

@cubic-dev-ai review this PR

@inkatze cubic can't start this review because your workspace has reached its free monthly review limit. cubic has reviewed 40,041 of the 40,000 allowed lines of code this month. Reviews resume on 2 December 2026 (in 19 days). Paid plans include much higher monthly review limits. Upgrade now to resume reviews.

To help optimise your usage, you can tune cubic to get the most out of your usage limits:

Learn more →

@github-actions
Copy link
Copy Markdown

Persistent review updated to latest commit 9d1eb55

@inkatze
inkatze marked this pull request as ready for review November 14, 2026 11:35
@inkatze
inkatze merged commit f0f5783 into main Nov 14, 2026
14 checks passed
@inkatze
inkatze deleted the planwright/flight/mc-dotfiles-ad-hoc-8b07b2c3 branch November 14, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0