- 21 Apr, 2021 1 commit
-
-
Dylan Griffith authored
As part of our efforts to avoid using joins in Elasticsearch queries https://gitlab.com/groups/gitlab-org/-/epics/2054 we need to "denormalize" (copy them into child docs) the permission related fields needed for searching. In order to allow us to search for merge requests without joining to the project we need to store the `merge_requests_access_level` as well as the `visibility_level` of the project on the merge request record. This MR also introduces an extra field `project_id` for the merge request in Elasticsearch which is redundant since we already have `target_project_id` and `project_id` is just aliased to this value but adding it to Elasticsearch will make the query logic simpler to share across all document types. Previously they were all able to consistently join to a parent "project" so it helps when changing the code they all have a field called `project_id`. As well as saving these new fields with the merge requests we need to also update these fields when they change which we also do in this MR. We need to track updates in a few places: 1. When a `ProjectFeature` record is changed (this is where `merge_requests_access_level` lives) 2. When a `Project` is updated (this is where `visibility_level` lives) 3. When a project is moved to another group. This logic was already implemented generically to delegate to `Project` but we update the spec for this just to be safe. The change to index these new fields also introduced an N+1 query which required an update to `MergeRequestClassProxy` to preload these new fields we're now setting in Elasticsearch. Changelog: changed
-
- 20 Apr, 2021 12 commits
-
-
Tiger Watson authored
Improve notification recipients builder db performance [RUN ALL RSPEC] [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!57688
-
David Kim authored
-
Ramya Authappan authored
Quarantine two security_reports_spec examples See merge request gitlab-org/gitlab!59710
-
Tiger Watson authored
Simple and optimized self_and_descendants query See merge request gitlab-org/gitlab!59599
-
Albert Salim authored
Add a docs metadata check again See merge request gitlab-org/gitlab!59228
-
Evan Read authored
-
Alex Pooley authored
-
Russell Dickenson authored
Add SAST documentation on SELinux support See merge request gitlab-org/gitlab!59411
-
Zach Rice authored
-
Thong Kuah authored
Fix flaky spec in spec/models/packages/debian/group_distribution_spec.rb See merge request gitlab-org/gitlab!59708
-
Stan Hu authored
The array elements can be returned in any order, so just check for that.
-
Anastasia McDonald authored
Failing due to known bugs QA failures https://gitlab.com/gitlab-org/gitlab/-/issues/297164 https://gitlab.com/gitlab-org/gitlab/-/issues/299975 https://gitlab.com/gitlab-org/gitlab/-/issues/328035
-
- 19 Apr, 2021 27 commits
-
-
Marcel Amirault authored
Follow up to initial MR See merge request gitlab-org/gitlab!59574
-
Suzanne Selhorn authored
-
Dan Davison authored
Refactor and update MWPS e2e test after CR See merge request gitlab-org/gitlab!59440
-
Douglas Barbosa Alexandre authored
Merge branch 'philipcunningham-add-backend-for-specifying-target-type-for-on-demand-294060' into 'master' Add backend support for specifying target type [RUN ALL RSPEC] [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!58723
-
Philip Cunningham authored
-
Amy Qualls authored
Step 2 - Add docs for "Reject unsigned commits" caveats See merge request gitlab-org/gitlab!58465
-
Nick Gaskill authored
Add valid values for cadence See merge request gitlab-org/gitlab!59621
-
Harsh Chouraria authored
-
Amy Qualls authored
Tidy up this small section to better meet GitLab tone and style.
-
Mayra Cabrera authored
Resolve "Style/ParallelAssignment rubocop failure" See merge request gitlab-org/gitlab!59688
-
🤖 GitLab Bot 🤖 authored
Update Gitaly version See merge request gitlab-org/gitlab!59657
-
John Jarvis authored
Revise expectation on explicit coordination in feature flag rollout template See merge request gitlab-org/gitlab!59633
-
Mike Greiling authored
Update dependency core-js to ^3.10.2 See merge request gitlab-org/gitlab!59683
-
Mike Jang authored
Clarify that VSA only includes items that have reached the end event See merge request gitlab-org/gitlab!58707
-
Dan Jensen authored
-
Mayra Cabrera authored
Allow filtering alertManagementIntegrations GraphQL by ID [RUN ALL RSPEC] [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!57590
-
Kyle Wiebers authored
-
Vitali Tatarintev authored
-
Kerri Miller authored
Externalize strings in file _confirmation_instructions_account.text.erb See merge request gitlab-org/gitlab!58215
-
Marvin Karegyeya authored
-
Mayra Cabrera authored
Support multiple columns in column copy triggers See merge request gitlab-org/gitlab!58177
-
Patrick Bair authored
-
Matija Čupić authored
Merge branch '326053-clarify-that-a-stage-has-to-be-added-to-run-dast-in-gitlab-ci-yml' into 'master' Clarify that a stage has to be added to run DAST in .gitlab-ci.yml See merge request gitlab-org/gitlab!59496
-
Avielle Wolfe authored
-
Enrique Alcántara authored
OKR: Update external wiki UI text and docs See merge request gitlab-org/gitlab!58600
-
Dan Davison authored
Fix for transient discussion e2e spec See merge request gitlab-org/gitlab!59497
-
Mike Greiling authored
Externalize strings in instance_configuration/_gitlab_pages.html.haml See merge request gitlab-org/gitlab!58437
-