Skip to content

feat(oz): support cloning GitLab environment repos#12659

Open
captainsafia wants to merge 1 commit into
masterfrom
safia/remote-1861-support-cloning-gitlab-repos-during-environment-setup
Open

feat(oz): support cloning GitLab environment repos#12659
captainsafia wants to merge 1 commit into
masterfrom
safia/remote-1861-support-cloning-gitlab-repos-during-environment-setup

Conversation

@captainsafia

Copy link
Copy Markdown
Contributor

Description

Support cloning GitLab repositories during local Warp/Oz cloud environment setup.

  • Add provider-neutral environment repository modeling with legacy GitHub compatibility.
  • Resolve omitted source-repository forges from the environment's configured code forge.
  • Use forge-aware clone URLs throughout environment cloning, registration, indexing, MCP discovery, and skill loading.
  • Store credentials for all managed git hosts while keeping GitHub CLI configuration GitHub-only.
  • Log non-sensitive credential injection diagnostics without exposing tokens, usernames, or emails.

Implementation plan: https://staging.warp.dev/drive/notebook/VPOgs3sL5WvVNxr1BRONAW
Agent conversation: https://staging.warp.dev/conversation/940bd50f-1875-43fb-a5b2-ab3f87274969

Linked Issue

REMOTE-1861

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Screenshots or videos are not applicable because this change has no UI changes.

Testing

  • ./script/format
  • cargo clippy --workspace --exclude warp_completer --all-targets --tests -- -D warnings
  • cargo clippy -p warp_completer --all-targets --tests -- -D warnings
  • cargo test -p cloud_object_models
  • Focused environment cloning and git credential tests
  • I have manually tested my changes locally with ./script/run

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-OZ: Support cloning GitLab repositories during cloud environment setup.

Co-Authored-By: Oz oz-agent@warp.dev

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jun 15, 2026
@oz-for-oss

oz-for-oss Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@captainsafia

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds provider-neutral cloud environment repository modeling, routes GitLab repositories through forge-aware clone URLs, updates environment repo cloning/skill-loading flows to use SourceRepo, and extends git credential writing so non-GitHub hosts are available to git while keeping gh configuration GitHub-only.

Concerns

  • No blocking correctness, security, or spec-drift concerns found in the attached diff.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

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