- 10 Nov, 2021 3 commits
-
-
Patrick Steinhardt authored
The `#create_if_not_exists` function is supposed to create a repository if it doesn't exist yet. It may happen though that the existence-cache may pretend a repo doesn't exist yet even though it does, and in that case we'd call the CreateRepository RPC. This worked alright until now given that this RPC call is idempotent and simply reinitializes the repo in case it exists already. But Gitaly is going to change semantics of the RPC such that it raises an error if the repo exists already, where it then won't touch the preexisting repo at all. Prepare for this change by introducing a new `RepositoryExists` error which gets raised when `#create_repository` returns an AlreadyExists error. This error is rescued from in `#create_if_not_exists` such that semantics of this RPC call remain the same.
-
Patrick Steinhardt authored
When synchronizing repositories, then depending on a retry counter we may either fetch into the real repository, or recreate the repo by first creating a temporary staging repository, populating that repository and then moving it into place. Our tests stub out this logic though such that we always end up fetching into the real repository: this both keeps us from exercising whether we fetch into the expected repo, and this logic will break when Gitaly changes semantics of the CreateRepository RPC to raise an error if the repository exists already. Fix this issue by not stubbing out the temporary repository. Instead, we now assert that function calls end up using the correct repository.
-
Patrick Steinhardt authored
In order to set up snippet repositories in some of our tests, we first copy over a template repository into the target location and then call Gitaly's `CreateRepository()`. While this call wouldn't do anything if used with Gitaly only given that the RPC is idempotent, it would create a database record when Gitaly is proxied by Praefect. Gitaly is about to drop idempotentcy of `CreateRepository()`, where it will instead raise an error. Prepare for this by reversing calls such that we first create the repository in Gitaly, and then copy over contents of our seed repository.
-
- 08 Nov, 2021 37 commits
-
-
Sean McGivern authored
Extract sidekiq-cluster to top-level directory See merge request gitlab-org/gitlab!73630
-
Matthias Käppler authored
This prevents name clashes with library code that is auto-loaded in workers from lib/
-
Amy Qualls authored
Fix minor vale and style issues on Jira page See merge request gitlab-org/gitlab!73962
-
Rémy Coutable authored
Update dependency letter_opener_web to v2 See merge request gitlab-org/gitlab!73898
-
GitLab Dependency Bot authored
-
Mikołaj Wawrzyniak authored
Cleanup policies: format cleanup cache hit ratio See merge request gitlab-org/gitlab!73730
-
Sean McGivern authored
Enable add sidekiq worker in jh folder See merge request gitlab-org/gitlab!73703
-
Jan Provaznik authored
Load Rails 6.1 framework defaults See merge request gitlab-org/gitlab!70577
-
Sean McGivern authored
Recalculate project authorizations on group transfer See merge request gitlab-org/gitlab!72550
-
Vincent Fazio authored
Changelog: fixed
-
Illya Klymov authored
Move fetchiterations to ee See merge request gitlab-org/gitlab!73692
-
Scott Stern authored
-
Mikołaj Wawrzyniak authored
Remove unused count_by_project_id scope See merge request gitlab-org/gitlab!73923
-
Rémy Coutable authored
Add Secure schemas version 14.0.4 See merge request gitlab-org/gitlab!73312
-
Rémy Coutable authored
Remove unused only_opened scope See merge request gitlab-org/gitlab!73924
-
Bob Van Landuyt authored
Step 1.1 - Create graphql_known_operations from webpack plugin See merge request gitlab-org/gitlab!73232
-
Paul Slaughter authored
-
David Fernandez authored
-
Marcin Sedlak-Jakubowski authored
Docs: Finish community contribution - CI/CD required for the Agent See merge request gitlab-org/gitlab!73964
-
Marcia Ramos authored
-
Matthias Käppler authored
Remove unused of_milestones scope See merge request gitlab-org/gitlab!73926
-
Tetiana Chupryna authored
Remove unused due_date_order_desc scope See merge request gitlab-org/gitlab!73928
-
Savas Vedova authored
Merge branch '341050-long-urls-in-the-evidence-section-of-vulnerability-popup-does-not-wrap' into 'master' Vulnerability Modal: Fix issue with long URLs See merge request gitlab-org/gitlab!73713
-
Phil Hughes authored
Improve Blame Page rendering performance See merge request gitlab-org/gitlab!73885
-
Brandon Labuschagne authored
Rename a DevOps Reports view partial for clarity See merge request gitlab-org/gitlab!73484
-
Phil Hughes authored
Update Diff app so that Jump To Next Unresolved Thread tracks progress through page See merge request gitlab-org/gitlab!71508
-
Andrejs Cunskis authored
E2E: fix out of sync qa lockfile See merge request gitlab-org/gitlab!73936
-
Sean McGivern authored
Add modal to warn group owners the impact of changing user cap See merge request gitlab-org/gitlab!72805
-
Sheldon Led authored
When group owners are increasing the group's user cap, this will automatically approve pending users. We need to warn group owners of such side effect. Changelog: added MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/72805 EE: true
-
Brandon Labuschagne authored
Move devops_report to devops_reports in code See merge request gitlab-org/gitlab!73585
-
Dan Jensen authored
-
Kati Paizee authored
-
Heinrich Lee Yu authored
Automatically exclude flaky tests from RSpec jobs See merge request gitlab-org/gitlab!64284
-
Rémy Coutable authored
-
release-tools approver bot authored
Update Gitaly version See merge request gitlab-org/gitlab!73953
-
Heinrich Lee Yu authored
Improve `Project :: Infra :: Google Cloud` Menu See merge request gitlab-org/gitlab!73889
-
Fiona Neill authored
Clarify changes and exists are OR operations See merge request gitlab-org/gitlab!73942
-