fix(runner): keep workspace metadata out of git status#6909
Conversation
Homeboy Results —
|
# Conflicts: # src/core/runner/workspace/sync.rs
Homeboy Results —
|
# Conflicts: # src/core/runner/workspace/sync.rs
Summary
Fixes #6908.
Homeboy now adds
.homeboy/to.git/info/excludefor Git-backed runner workspaces before writing.homeboy/runner-workspace.json. This keeps Homeboy-owned runner metadata from dirtying synthetic Lab checkouts while preserving the existing strict patch-capture preflight for real source changes.Tests
rustfmt --check src/core/runner/workspace/sync.rs src/core/runner/workspace/tests/snapshot.rs src/core/runner/lab/offload/tests/workspace_sync.rscargo test snapshot_git_sync_materializes_dirty_source_as_synthetic_git_checkoutcargo test required_git_checkout_preflight_accepts_homeboy_runner_metadata_when_excludedNote:
cargo fmt --checkcurrently reports formatting diffs in unrelated files onorigin/main, so this PR verified formatting on the touched files directly.AI assistance