Skip to content

[test-only] Copy of #6122 (fork) - #6154

Draft
janniklasrose wants to merge 4 commits into
mainfrom
GrantIsEaton/fix-repos-git-cli-folders
Draft

[test-only] Copy of #6122 (fork)#6154
janniklasrose wants to merge 4 commits into
mainfrom
GrantIsEaton/fix-repos-git-cli-folders

Conversation

@janniklasrose

@janniklasrose janniklasrose commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

For CI of #6122 only

repoArgumentToRepoID resolved a path via workspace get-status and then
required ObjectType == REPO. Since the Git CLI rollout, Git-CLI-enabled
folders are materialized as plain DIRECTORY nodes, so get-status returns
DIRECTORY and the gate rejected them with `object at path "..." is not a
repo` even though the repos API still resolves their object ID as a repo.

Drop the client-side object-type gate and let the repos API be the
authority, per the repos API owner's guidance. The testserver now reports
repos as DIRECTORY nodes so the path-based repos tests guard the fix.

Co-authored-by: Isaac
- testserver get-status now reports control-plane repos (under /Repos) as
  REPO and Git-CLI folders elsewhere as DIRECTORY, so both behaviors are
  covered rather than forcing every repo to DIRECTORY.
- Add acceptance test git_cli_folder covering path-based get/update/delete
  against a DIRECTORY-typed Git CLI folder; the /Repos tests keep exercising
  the REPO type.
- Trim the explanatory comment in repoArgumentToRepoID.
- Note in the changelog that Git CLI is a toggleable preview and can be
  turned off as a mitigation.

Co-authored-by: Isaac
The case existed to exercise the client-side `!= REPO` gate. With that gate
gone, it only tested that an arbitrary directory id isn't a registered repo,
which is not a behavior this change is about. The positive REPO and DIRECTORY
path-resolution tests cover the fix.

Co-authored-by: Isaac
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: cfb1677

Run: 30900056349

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 306 1071 5:01
💚​ aws windows 4 4 308 1069 9:11
💚​ azure linux 4 4 305 1071 5:07
💚​ azure windows 4 4 307 1069 8:58
💚​ gcp linux 1 5 306 1071 5:24
💚​ gcp windows 1 5 308 1069 9:02
8 interesting tests: 4 RECOVERED, 4 SKIP
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R
Top 6 slowest tests (at least 2 minutes):
duration env testname
8:28 aws windows TestAccept
8:21 gcp windows TestAccept
8:19 azure windows TestAccept
2:59 aws linux TestAccept
2:54 gcp linux TestAccept
2:52 azure linux TestAccept

Co-authored-by: Jan N Rose <janniklas.rose@gmail.com>
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.

3 participants