Commits on Source (45)
-
-
Taurie Davis authored
-
Taurie Davis authored
-
-
-
Lucas Charles authored
Updates ingress-controller image to latest instead of previously pinned 0.10.1 version
-
Kenny Johnston authored
-
Lucas Charles authored
-
-
-
-
Evan Read authored
-
Evan Read authored
-
Sean McGivern authored
There were three sources of N+1 queries here: the license check, the path and namespace information, and the root namespace. The license check was the worst. We were checking the license information on each project individually. This meant we couldn't paginate in SQL, but did so in Ruby, so it was not only an N+1, it was loading too many records. To fix this, we use the fact that this API endpoint can only return projects in a particular namespace. License checks end up at one of two places: for most instances, it's the instance's license itself. For GitLab.com, where individual namespaces have their own plan, it's the root namespace (subgroups can't have plans; they inherit their plan from the root). This means that we only ever need a single check. If it passes, every project returned has the feature available. If it fails, we return a 404, like the other endpoints here. That way we can paginate in SQL, as we should. The path and namespace information N+1 was simple to fix: just preload that information. The final N+1 was on the root namespace, which we return as the `owner` field for compatibility with GitHub. Again, this was always the same for all items in the response, but we can't preload it easily because different projects will be at different levels of the hierarchy. Instead, we just calculate the root namespace once, and pass that as an option to the entity. The entity uses that value if it's given, and falls back to calculating it if it's not (in case this entity is used elsewhere without that option).
-
Taurie Davis authored
# Conflicts: # doc/development/fe_guide/components.md
-
Walmyr Lima authored
-
Walmyr Lima authored
There was some duplication in the show page object of group and project issue boards, so now this is a component that can be used by both group and project issue boards since they share the same elements and methods. Also, update the affected tests accordingly.
-
Walmyr Lima authored
Now issue boards hide redundant labels so the removed expectation makes no sense anymore. Actually, due to this expectation this test is failing on master. This is not really related to what this MR intends to do, which is to create a new e2e tests, but since I found it while creating this new test, I thought it would make sense to fix it here.
-
Walmyr Lima authored
-
Tanya Pazitny authored
-
Tanya Pazitny authored
Add current state of 50k architecture to docs See merge request !18484
-
Kyle Wiebers authored
Closes #33862
-
Dan Davison authored
Add end-to-end test for creating a group issue board via the GUI See merge request !18474
-
Thong Kuah authored
Fix N+1 queries in Jira Development Panel API endpoint See merge request !18329
-
Mike Lewis authored
Remove fe components See merge request !17131
-
Mike Lewis authored
Fix typo in Praefect section See merge request !18413
-
-
Thong Kuah authored
Enable frozen string for spec/validators See merge request !18367
-
James Edwards-Jones authored
-
Mark Lapierre authored
Refactor shared docker code to make it more maintainable and easier to add new services
-
Mark Lapierre authored
Extract shared docker code into a base class See merge request !18306
-
-
After review, minor improvements to docs from suggestions
-
James Fargher authored
-
Mike Lewis authored
Docs style guide proposals mpenna20190906 port See merge request !17862
-
Thong Kuah authored
Unpin ingress-controller image version, bump ingress chart to 1.22.1 Closes #28492 See merge request gitlab-org/gitlab!18047
-
Evan Read authored
Includes unifying the process documentation, making corrections, and editing the content.
-
Mike Lewis authored
Initial refactor of Documentation process See merge request !17593
-
Martin Wortschack authored
Remove extra div/typo from /help/ui See merge request !18501
-
When the project-level setting is disabled, merge requests will be immediately dropped. Closes #14959
-
Thong Kuah authored
Merge branch '14959-drop-all-merge-requests-from-merge-trains-when-the-project-level-setting-is-disabled-2' into 'master' Drop all merge requests from merge trains when the project-level setting is disabled Closes #14959 See merge request !17774
Showing
- .gitlab/ci/qa.gitlab-ci.yml 0 additions, 2 deletions.gitlab/ci/qa.gitlab-ci.yml
- app/assets/javascripts/boards/components/boards_selector.vue 5 additions, 1 deletionapp/assets/javascripts/boards/components/boards_selector.vue
- app/models/clusters/applications/ingress.rb 1 addition, 1 deletionapp/models/clusters/applications/ingress.rb
- app/views/help/ui.html.haml 1 addition, 2 deletionsapp/views/help/ui.html.haml
- changelogs/unreleased/28492-upgrade-ingress-to-latest.yml 5 additions, 0 deletionschangelogs/unreleased/28492-upgrade-ingress-to-latest.yml
- changelogs/unreleased/fix-n-plus-one-in-jira-github-api.yml 5 additions, 0 deletionschangelogs/unreleased/fix-n-plus-one-in-jira-github-api.yml
- doc/administration/gitaly/praefect.md 1 addition, 1 deletiondoc/administration/gitaly/praefect.md
- doc/administration/high_availability/README.md 20 additions, 4 deletionsdoc/administration/high_availability/README.md
- doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md 17 additions, 0 deletions...dministration/troubleshooting/gitlab_rails_cheat_sheet.md
- doc/development/documentation/feature-change-workflow.md 2 additions, 175 deletionsdoc/development/documentation/feature-change-workflow.md
- doc/development/documentation/improvement-workflow.md 2 additions, 60 deletionsdoc/development/documentation/improvement-workflow.md
- doc/development/documentation/index.md 4 additions, 6 deletionsdoc/development/documentation/index.md
- doc/development/documentation/structure.md 1 addition, 1 deletiondoc/development/documentation/structure.md
- doc/development/documentation/styleguide.md 21 additions, 7 deletionsdoc/development/documentation/styleguide.md
- doc/development/documentation/workflow.md 329 additions, 7 deletionsdoc/development/documentation/workflow.md
- doc/development/elasticsearch.md 1 addition, 1 deletiondoc/development/elasticsearch.md
- doc/development/event_tracking/frontend.md 1 addition, 1 deletiondoc/development/event_tracking/frontend.md
- doc/development/fe_guide/components.md 3 additions, 40 deletionsdoc/development/fe_guide/components.md
- doc/development/fe_guide/dropdowns.md 3 additions, 1 deletiondoc/development/fe_guide/dropdowns.md
- doc/development/fe_guide/index.md 5 additions, 4 deletionsdoc/development/fe_guide/index.md