Skip to content

fix(sync): gracefully handle empty repositories and missing checkout refs - #7

Closed
VILJkid wants to merge 1 commit into
masterfrom
fix/gracefully-handle-empty-repositories-and-missing-checkout-refs
Closed

fix(sync): gracefully handle empty repositories and missing checkout refs#7
VILJkid wants to merge 1 commit into
masterfrom
fix/gracefully-handle-empty-repositories-and-missing-checkout-refs

Conversation

@VILJkid

@VILJkid VILJkid commented Sep 1, 2026

Copy link
Copy Markdown
Member
  • Detect empty remote repositories during listRemoteRefs in SyncRepo and skip sync/checkout safely
  • Guard handleCheckout against repositories without commits or HEAD yet
  • Upgrade Go version to 1.27 in go.mod and Dockerfile
  • Add comprehensive table-driven tests for duration parsing, SSH port parsing, algorithm merging, and empty sync edge cases

Signed-off-by: Sidharth Jawale sidharth@obmondo.com

…refs

- Detect empty remote repositories during listRemoteRefs in SyncRepo and skip sync/checkout safely
- Guard handleCheckout against repositories without commits or HEAD yet
- Upgrade Go version to 1.27 in go.mod and Dockerfile
- Add comprehensive table-driven tests for duration parsing, SSH port parsing, algorithm merging, and empty sync edge cases

Signed-off-by: Sidharth Jawale <sidharth@obmondo.com>
@VILJkid
VILJkid force-pushed the fix/gracefully-handle-empty-repositories-and-missing-checkout-refs branch from 2333bd6 to ff2aa5b Compare September 2, 2026 00:03
@VILJkid

VILJkid commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

Closing in favour of #6 since @Rishikesh01 already working on it.

@VILJkid VILJkid closed this Sep 2, 2026
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.

1 participant