- 27 Dec, 2019 16 commits
-
-
Mark Lapierre authored
Retry getting the runners token if it's not available initially Ensure the docker runner container is stopped even if there's a problem removing it from the project
-
Sean McGivern authored
Move backtrace cleaner from Profiler into its own class Closes #36645 See merge request gitlab-org/gitlab!22264
-
GitLab Release Tools Bot authored
[ci skip]
-
GitLab Release Tools Bot authored
[ci skip]
-
Stan Hu authored
We call `GitLab::Profiler.clean_backtrace` in a lot of places where we aren't actually profiling. It makes sense to break this out into its own class method. This change also reduces memory usage and speeds up the backtrace cleaner since the regexp is computed once at load time. Closes https://gitlab.com/gitlab-org/gitlab/issues/36645
-
Sean McGivern authored
Refactor code involved in git workflow See merge request gitlab-org/gitlab!22266
-
Sean McGivern authored
Expose reference path for issuables See merge request gitlab-org/gitlab!20354
-
Andreas Brandl authored
Preload project, user and group to reuse objects Closes #39113 See merge request gitlab-org/gitlab!21853
-
Andreas Brandl authored
Add section to database docs for alternative primary keys See merge request gitlab-org/gitlab!22044
-
Alexandru Croitor authored
Expose issuable references in 3 options: short, relative and full. Short and full aways display corresponding issuable reference, while relative displays the reference depending on the context from which it was referenced.
-
Francisco Javier López authored
Refactor some methods, classes and specs in preparation for versioned snippets.
-
Lin Jen-Shin authored
review-performance (and other review jobs) should also use `rules` See merge request gitlab-org/gitlab!22236
-
Kushal Pandya authored
Resolve "Replace Font Awesome cog icon with GitLab settings icon" Closes #121931 See merge request gitlab-org/gitlab!22259
-
Marcel Amirault authored
Docs: Fix typo in command to enable feature flag See merge request gitlab-org/gitlab!22242
-
Kushal Pandya authored
Refactor spec file to use the same wrapper name to ensure consistency Closes #37743 See merge request gitlab-org/gitlab!22181
-
Ray Paik authored
Fix a typo See merge request gitlab-org/gitlab!22248
-
- 26 Dec, 2019 8 commits
-
-
Russell Dickenson authored
Refactoring Service Desk configuration docs Closes #119362 See merge request gitlab-org/gitlab!22053
-
Nick Gaskill authored
Combining steps and removing redundant image
-
Russell Dickenson authored
Move items from database MR template checklist to documentation See merge request gitlab-org/gitlab!21051
-
Toon Claes authored
Add some extra checkboxes to the database MR template, e.g. ask author to add SQL and query plan to the description.
-
Sean McGivern authored
Limit size of search query for postgresql search See merge request gitlab-org/gitlab!22208
-
Dmitry Gruzd authored
When using non ES search without limits, we can easily get Stack level too deep error. To fix it we implemented terms and character limits for the search#show action.
-
Lin Jen-Shin authored
Add saml identity presence filtering option to members API Closes #118475 See merge request gitlab-org/gitlab!21931
-
Pavel Shutsin authored
Use `with_saml_identity=true` param to filter out members without saml identity linked. You'll have to have access to read group saml identities to use this filter
-
- 25 Dec, 2019 8 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
-
Justin Ho authored
-
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 8 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
-
nmilojevic1 authored
Fix identation Fix changlog description
-
Sovattha Sok authored
-
nmilojevic1 authored
-
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.
-