- 12 Nov, 2020 40 commits
-
-
Bob Van Landuyt authored
This would cause us to keep track of a reference of all metrics on the class level. Which would mean we would keep looking at the old metrics the registry in that we kept track of in [Prometheus::Client::Registry#metrics][0] after it was reset using[Gitlab::Metrics.reset_registry][1]. This wouldn't cause any issues in production, because the metrics are never reset. But in specs, we do count on those being reset in between runs. This is safe to do, because the registry itself is memoized on [Gitlab::Metrics][2]. Getting the specific metric is an [initialization the first time around][3], but after a registry is memoized, it's just a [read from a hash][4]. [0] https://gitlab.com/gitlab-org/prometheus-client-mmap/-/blob/9e5b696dfd47a96cf22808cbebb04f00cd3d4ffc/lib/prometheus/client/registry.rb#L17 [1] https://gitlab.com/gitlab-org/gitlab/blob/82db58bab85531e49fa7264d6461928d49425a6e/lib/gitlab/metrics/prometheus.rb#L30 [2] https://gitlab.com/gitlab-org/gitlab/blob/82db58bab85531e49fa7264d6461928d49425a6e/lib/gitlab/metrics/prometheus.rb#L39 [3] https://gitlab.com/gitlab-org/gitlab/blob/82db58bab85531e49fa7264d6461928d49425a6e/lib/gitlab/metrics/prometheus.rb#L87 [4] https://gitlab.com/gitlab-org/prometheus-client-mmap/-/blob/9e5b696dfd47a96cf22808cbebb04f00cd3d4ffc/lib/prometheus/client/registry.rb#L56
-
Bob Van Landuyt authored
Pushing this in a separate commit so we can watch the specs fail later and see the follow up fix them.
-
Phil Hughes authored
Merge branch '229696-migrate-deprecatedmodal2-to-glmodal-in-app-assets-javascripts-vue_shared-components-gl_modal' into 'master' Remove unused shared gl_modal.vue component See merge request gitlab-org/gitlab!47390
-
Nicolò Maria Mezzopera authored
Remove gl-button from star button See merge request gitlab-org/gitlab!47446
-
Marcin Sedlak-Jakubowski authored
Add Epics Swimlanes documentation See merge request gitlab-org/gitlab!46635
-
Enrique Alcántara authored
Disable a custom tooltip initialization See merge request gitlab-org/gitlab!46427
-
Florie Guibert authored
-
Vitali Tatarintev authored
Fix comment for diff note images See merge request gitlab-org/gitlab!47400
-
Kushal Pandya authored
Fixes multi line comments options in parallel mode See merge request gitlab-org/gitlab!45557
-
Denys Mishunov authored
Add documentation for the Web IDE command palette See merge request gitlab-org/gitlab!45869
-
Tomas Vik authored
-
Sanad Liaquat authored
Update Project Security Dashboard Spec See merge request gitlab-org/gitlab!47332
-
Grzegorz Bizon authored
Improve thread safety of Ci::BuildTraceChunk data stores See merge request gitlab-org/gitlab!46717
-
Phil Hughes authored
Fix secure MR widget background colors in dark mode See merge request gitlab-org/gitlab!47352
-
Sean McGivern authored
Schedule clean up of merge request refs efficiently See merge request gitlab-org/gitlab!46758
-
Miguel Rincon authored
Code quality severity icons See merge request gitlab-org/gitlab!46829
-
Scott Hampton authored
Adding badges to the code quality for severity
-
Kushal Pandya authored
Swimlanes - Hide epic lanes with 0 issues See merge request gitlab-org/gitlab!47257
-
Natalia Tepluhina authored
Boards - Create new issue in GraphQL [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!46747
-
Stan Hu authored
Handle invalid strings in authorization headers See merge request gitlab-org/gitlab!47206
-
Natalia Tepluhina authored
Add integration with BE based on mocks See merge request gitlab-org/gitlab!47019
-
Olena Horal-Koretska authored
-
Heinrich Lee Yu authored
Add CI job to Terraform state version GraphQL type See merge request gitlab-org/gitlab!47339
-
Miguel Rincon authored
Updated service desk incoming email to use custom email See merge request gitlab-org/gitlab!46053
-
Dylan Griffith authored
Add background migrations for Elasticsearch See merge request gitlab-org/gitlab!46672
-
Dmitry Gruzd authored
This MR implements elastic migration framework, which looks and behaves similar to rails database migrations. Migrations are stored in ee/elastic/migrate/ with YYYYMMDDHHMMSS_migration_name.rb file name format
-
Gabriel Mazetto authored
Update rake to v13 See merge request gitlab-org/gitlab!47318
-
Kushal Pandya authored
Use closed icons for issue and epics See merge request gitlab-org/gitlab!47176
-
Michael Le authored
-
Kushal Pandya authored
-
Tiger Watson authored
Add region field to AWS Role See merge request gitlab-org/gitlab!47209
-
Emily Ring authored
Add migration to add field to AWS Role. Update AuthorizeRoleService and FetchCredentialsService to use new region field.
-
Douglas Barbosa Alexandre authored
Generate package events file See merge request gitlab-org/gitlab!47118
-
Luke Duncalfe authored
hAdd a rule to enforce resolver type annotations See merge request gitlab-org/gitlab!47375
-
Alex Kalderimis authored
This new rubocop rule enforces that all resolvers declare their type. This is important for several reasons: - developers can read a resolver and know what it does, by understanding what it is meant to return. - we can enable better testing of resolvers, by creating fields from resolvers using `Resolver.field_options`. - Resolvers become the SSOT for field metadata, enabling us to eliminate repetition and boilerplate.
-
Florie Guibert authored
Add VueX action to create issue using graphQL mutation
-
Gabriel Mazetto authored
Fetch available issue types in Jira integration for vulnerabilities See merge request gitlab-org/gitlab!47046
-
Alan (Maciej) Paruszewski authored
This change adds fetching availalbe issue types for Jira integration for vulnerabilities when the integration is being tested.
-
Ash McKenzie authored
Remove hardcoded ID from spec See merge request gitlab-org/gitlab!47462
-
Thong Kuah authored
Added destroy command to base Terraform template See merge request gitlab-org/gitlab!46777
-