- 27 Dec, 2019 1 commit
-
-
Francisco Javier López authored
Refactor some methods, classes and specs in preparation for versioned snippets.
-
- 25 Dec, 2019 7 commits
-
-
Lin Jen-Shin authored
Speed up path generation with build artifacts Closes #121929 See merge request gitlab-org/gitlab!22257
-
Stan Hu authored
Fix stack trace highlight for PHP Closes #121714 See merge request gitlab-org/gitlab!22258
-
Vitali Tatarintev authored
-
Vitali Tatarintev authored
Pick a first alternative language for Sentry stack trace highlight, when Rouge can't decide which lexer to choose. `StackTraceHighlightDecorator` now works with PHP and Hack languages
-
Stan Hu authored
Previously it would take seconds to render the pipeline index JSON (/gitlab-org/gitlab/pipelines.json) in the GitLab project. Apparently, we render over 5000 paths for `BuildArtifactEntity`, and generation of these paths dominated the request time. The Rails path helpers are slow because they check the namespace and project parameters against large regular expressions, which include `TOP_LEVEL_ROUTES` and `PROJECT_WILDCARD_ROUTES`, respectively. We can speed this up by generating the paths directly with strings. While this isn't ideal, this results in a 10x improvement in speed: ``` Calculating ------------------------------------- orig 86.000 i/100ms new 1.272k i/100ms ------------------------------------------------- orig 1.343k (±13.8%) i/s - 6.536k new 13.756k (±15.3%) i/s - 67.416k Comparison: new: 13756.3 i/s orig: 1343.3 i/s - 10.24x slower ``` To prevent these helper methods from breaking if the routes ever change, we add tests to ensure that the results are the same. Closes https://gitlab.com/gitlab-org/gitlab/issues/121929
-
Kushal Pandya authored
Surface language and urgency information on error detail page See merge request gitlab-org/gitlab!22122
-
Olena Horal-Koretska authored
Added related badges under issue title
-
- 24 Dec, 2019 32 commits
-
-
Lin Jen-Shin authored
Eliminate N+1 queries in PipelinesController#index Closes #118427 See merge request gitlab-org/gitlab!22189
-
Lin Jen-Shin authored
Don't run migration tests in unit test jobs Closes #121602 See merge request gitlab-org/gitlab!22218
-
Stan Hu authored
https://gitlab.com/gitlab-org/gitlab/merge_requests/20615 introduced a performance regression: each failed build would generate additional SQL queries, since they would be rendered by JobEntity. This commit fixes that by preloading failed builds among other items and adds an N+1 query test. This adds 4 additional queries per pipeline: 1. user 2. latest_statuses_ordered_by_stage 3. failed_builds 4. failed_builds metadata Closes https://gitlab.com/gitlab-org/gitlab/issues/118427
-
Kushal Pandya authored
Add approximate duration function See merge request gitlab-org/gitlab!21803
-
Ezekiel Kigbo authored
Based on the distance_of_time_in_words function from rails to convert a time in seconds to an approximate time.
-
Lin Jen-Shin authored
Update asciidoctor-plantuml 0.0.9 -> 0.0.10 See merge request gitlab-org/gitlab!22205
-
Kamil Trzciński authored
Ci resource group status transition (v2) See merge request gitlab-org/gitlab!21899
-
Lin Jen-Shin authored
Move gitlab:assets-compile to prepare See merge request gitlab-org/gitlab!22202
-
Lin Jen-Shin authored
Remove unused Gitlab::Git.committer_hash See merge request gitlab-org/gitlab!22215
-
Kushal Pandya authored
Sidebar getting partially hidden behind the content block See merge request gitlab-org/gitlab!21978
-
Allen Lai authored
-
Achilleas Pipinellis authored
Add doc about license compliance Closes #14733 See merge request gitlab-org/gitlab!21594
-
Tetiana Chupryna authored
Merge the separate doc about the license list into the main License Compliance docs.
-
Natalia Tepluhina authored
Resolve "Slightly misleading tool tip" Closes #39491 See merge request gitlab-org/gitlab!22222
-
Achilleas Pipinellis authored
Adjust codeowners so it shows the docs team See merge request gitlab-org/gitlab!22210
-
Achilleas Pipinellis authored
Update Usage Ping information with flow diagrams See merge request gitlab-org/gitlab!21960
-
Sean McGivern authored
Copy repository route under - scope See merge request gitlab-org/gitlab!22092
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Sean McGivern authored
Merge branch '25250-can-t-use-quick-action-to-set-milestone-when-the-project-only-has-milestones-from-parent-group' into 'master' Fix milestone quick action for ancestor group milestones See merge request gitlab-org/gitlab!22231
-
Stan Hu authored
Add back Gitaly feature flag for cache invalidation See merge request gitlab-org/gitlab!22106
-
Paul Okstad authored
Part of https://gitlab.com/gitlab-org/gitaly/issues/2292 Related to https://gitlab.com/gitlab-org/gitaly/issues/2288 This change is essentially a revert of https://gitlab.com/gitlab-org/gitlab/merge_requests/18766. Due to an issue found in production (see https://gitlab.com/gitlab-com/gl-infra/production/issues/1501#note_262058610), the cache invalidator needs to be disabled until the cache walker is able to remove empty directories. This feature flag will allow us to reenable the cache invalidator when we are ready to test the updated cache walker.
-
Dmitriy Zaporozhets authored
Improve specs by defining anonymous instead of named classes Closes #119104 See merge request gitlab-org/gitlab!22094
-
Kushal Pandya authored
Update comments, specify new path to spec See merge request gitlab-org/gitlab!22223
-
Kushal Pandya authored
Decorate rich_text with word-diff highlights See merge request gitlab-org/gitlab!22182
-
Kerri Miller authored
-
Marcel Amirault authored
Document `CI_MERGE_REQUEST_EVENT_TYPE` Closes #37482 See merge request gitlab-org/gitlab!22145
-
Marcel Amirault authored
Add changes to default behaviour in docs See merge request gitlab-org/gitlab!21975
-
Evan Read authored
-
Ray Paik authored
docs - Added myself (Jan Urbanec) as czech proofreader. See merge request gitlab-org/gitlab!21906
-
Heinrich Lee Yu authored
Handles ancestor group milestones by passing in the ancestor group ids to MilestonesFinder
-
Heinrich Lee Yu authored
Show sample metrics for an environment without prometheus Closes #36255 See merge request gitlab-org/gitlab!22133
-
Kirstie Cook authored
-