Skip to content

feat: add gr2 repo status surface#548

Merged
laynepenney merged 1 commit intomainfrom
atlas/gr2-repo-status
Apr 12, 2026
Merged

feat: add gr2 repo status surface#548
laynepenney merged 1 commit intomainfrom
atlas/gr2-repo-status

Conversation

@laynepenney
Copy link
Copy Markdown
Collaborator

Summary

  • add a read-only gr2 repo status surface across shared repos and unit repos
  • classify repo-maintenance state with explicit actions instead of implicit sync behavior
  • add focused CLI coverage for missing, dirty, and behind-upstream cases

Closes #545.

Behavior

  • inspects shared repos and unit-mounted repos from the live workspace spec
  • reports actions such as clone_missing, block_dirty, fast_forward, manual_sync, and no_change
  • intentionally does not fetch remotes in this first slice; ahead/behind is based on already-known upstream state

Verification

  • cargo check -p gr2-cli --quiet
  • cargo test --test cli_tests test_gr2_repo_status_reports_missing_unit_checkout_as_clone_missing --quiet
  • cargo test --test cli_tests test_gr2_repo_status_reports_dirty_unit_repo_as_block_dirty --quiet
  • cargo test --test cli_tests test_gr2_repo_status_reports_shared_repo_behind_upstream_as_fast_forward --quiet

@laynepenney
Copy link
Copy Markdown
Collaborator Author

Reviewed locally after the format miss. No new design blocker in this slice: read-only gr2 repo status is the right first surface, and keeping remote fetch out of v1 is the correct boundary. I am pushing the fmt-only fix now, then this can merge once main checks are green.

@laynepenney laynepenney force-pushed the atlas/gr2-repo-status branch from 871bc7e to 7988c9b Compare April 12, 2026 04:45
@laynepenney laynepenney force-pushed the atlas/gr2-repo-status branch from 7988c9b to 996bf9b Compare April 12, 2026 04:59
@laynepenney
Copy link
Copy Markdown
Collaborator Author

Fixed the CI fallout on : the staging test repos now configure git identity, the shared-repo update test no longer hardcodes , and Windows TOML paths are escaped via . Local verification is green with
running 87 tests
....................................................................................... 87/87

test result: ok. 87 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.27s.

@laynepenney laynepenney merged commit 8ccb343 into main Apr 12, 2026
9 of 10 checks passed
@laynepenney laynepenney deleted the atlas/gr2-repo-status branch April 12, 2026 05:02
laynepenney added a commit that referenced this pull request Apr 12, 2026
Merges PR #550: gr2 exec status surface with lane-scoped
execution planning. Resolves doc conflicts by keeping main's
canonical versions (already merged via #557, #549, #548, #543).

New: gr2/src/exec.rs, ExecCommands in args.rs, dispatch.rs
wiring, load_lane() in lane.rs, two integration tests.
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.

feat: gr2 repo status for explicit repo-maintenance planning

1 participant