Skip to content

orbi setup fails on every retry: its own .orbi/ runtime dir makes the checkout 'not clean' - #1370

Merged
orbi-build[bot] merged 2 commits into
mainfrom
orbi/orbi-build-orbi-issue-1367
Sep 25, 2026
Merged

orbi-build[bot] merged 2 commits into
mainfrom
orbi/orbi-build-orbi-issue-1367

Conversation

@orbi-build

@orbi-build orbi-build Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Fixes #1367

orbi setup fails on every retry: its own .orbi/ runtime dir makes the checkout 'not clean' (run_id=12460403)

Built by Orbi from Issue #1367 · https://github.com/orbi-build/orbi

…status

orbi setup refuses a checkout with uncommitted changes, but Orbi itself
writes runtime files into <repo_dir>/.orbi/ (base-sync.lock,
cli-install.json, health.json, slots/). Untracked, they made every
retry fail with 'checkout is not clean ... ?? .orbi/'.

check_checkout now pins .orbi/ in the checkout's local git exclude
before the dirty check (whether or not .orbi/ exists yet), exactly the
way .worktrees/ is pinned: skip when git check-ignore already succeeds,
otherwise append once and log orbi_exclude_added. The pinning helper
moves to gitops.pin_git_exclude so pilot_setup stays within its size
ratchet. Real uncommitted changes and untracked files outside the
runtime dirs still fail setup.
…rnal

The `.orbi/` exclude probe now runs on every `orbi setup`, and its
exit 1 ("not ignored yet" - the branch `pin_git_exclude` handles by
itself) was logged by the generic seam as an ERROR `command_failed`
line in an otherwise successful setup output: the #341/#730/#1085
false-alarm class for an expected non-zero probe. Pass
`failure_log_level=logging.DEBUG` (the documented pattern for a
status probe), which also covers the `.worktrees/` probe now that
both share the helper, and pin the behaviour with a regression test.
@orbi-build
orbi-build Bot merged commit 13180c0 into main Sep 25, 2026
2 checks passed
@orbi-build

orbi-build Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor Author

chenzeyan54-commits added a commit to chenzeyan54-commits/orbi that referenced this pull request Sep 27, 2026
…n it follows (orbi-build#1367 → orbi-build#1370 → v0.5.47)

GitHub is where most people first meet Orbi: the repository had 2,795 views from 950 unique visitors over the last 14 days (traffic API, 2026-09-27). ...

Signed-off-by: chenzeyan54-commits <[email protected]>
orbi-build Bot added a commit that referenced this pull request Sep 27, 2026
README: link the 95-second film and show the run it follows (#1367 → #1370 → v0.5.47)
@orbi-build
orbi-build Bot deleted the orbi/orbi-build-orbi-issue-1367 branch September 28, 2026 19:01
zzuu080603 pushed a commit to zzuu080603/orbi that referenced this pull request Sep 30, 2026
…rbi-build#1424)

Replace the superseded orbi-build#1018 -> orbi-build#1023 -> v0.5.17 inspect line with the film's
poster and the run it follows (orbi-build#1367 -> orbi-build#1370 -> v0.5.47) in both READMEs,
and tighten Quick start / development wording so README.md stays inside the
8 KiB homepage budget with MAX_BYTES/MAX_LINES unchanged.

Fixes orbi-build#1424
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.

orbi setup fails on every retry: its own .orbi/ runtime dir makes the checkout 'not clean'

0 participants