| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
- Fix `O(n)` complexity of `append_or_update_attribute`,
we append objects to an array and re-save project
- Remove the usage of `keys.include?` as it performs `O(n)`
search, instead use `.has_key?`
- Remove the usage of `.keys.first` as it performs a copy
of all keys, instead use `.first.first`
|
|
|
|
|
| |
This will make it easier to parse this in production and adds the
`correlation_id` if available.
|
|\
| |
| |
| |
| | |
Add a group setting to allow Maintainers to create sub-groups
See merge request gitlab-org/gitlab-ce!29718
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
PATs are accepted using the OAuth2 compliant header
"Authorization: Bearer {token}" in order to allow for
OAuth requests while 2FA is enabled.
|
|/
|
|
|
|
|
| |
This adds a counter to count page creation, which is reflected in the
usage-data we collect.
The number created is stored in Redis, avoiding DB access.
|
|\
| |
| |
| |
| |
| |
| | |
Fix Gitaly auto-detection caching
Closes #64802
See merge request gitlab-org/gitlab-ce!30954
|
| |
| |
| |
| |
| |
| |
| |
| | |
If `GitalyClient#can_use_disk?` returned `false`, it was never cached
properly and led to excessive number of Gitaly calls. Instead of using
`cached_value.present?`, we need to check `cached_value.nil?`.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64802
|
| |
| |
| |
| | |
See https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6069
|
|\ \
| | |
| | |
| | |
| | | |
Get rid of `worker_label` in RubySampler
See merge request gitlab-org/gitlab-ce!30942
|
| | |
| | |
| | |
| | |
| | |
| | | |
We have Prometheus::PidProvider which sets correct worker id for a
process, so such implementation of `worker_label` in the sampler is
obsolete.
|
| |/
|/| |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Resolve "Export frontend fixtures as pipeline artifact"
Closes #64722 and #59166
See merge request gitlab-org/gitlab-ce!30917
|
| |
| |
| |
| |
| | |
Moves every fixture source file from
spec/javascripts to spec/frontend
|
| |
| |
| |
| |
| |
| | |
Introduces frontend:fixtures rake task to replace
karma:fixtures and update documentation and CI scripts
to match
|
| |
| |
| |
| |
| |
| | |
* Remove `controller` and `action` labels from duration histogram.
* Create a new simple counter for `controller` and `action`.
* Adjust histogram buckets to observe smaller response times.
|
| |
| |
| |
| |
| |
| |
| | |
The actions tracked in the web IDE are:
- creation of commits
- creation of merge requests
- projects loaded
|
|\ \
| | |
| | |
| | |
| | | |
Use predictable environment slugs
See merge request gitlab-org/gitlab-ce!30551
|
| |/
| |
| |
| |
| |
| |
| | |
If an environment slug is predictable given only the environment
name, we can use the environment slug earlier in the CI variable
evaluation process as we don't have to wait for the environment
record itself to be persisted.
|
|/
|
|
|
|
|
|
|
| |
With https://gitlab.com/gitlab-org/gitlab-ee/issues/12388 change going
live there is potential risk of breaking imports of 'Internal' projects.
This change makes sure if 'Internal' visibility level is restricted
all 'Internal' projects will be marked as 'Private'
See: https://gitlab.com/gitlab-org/gitlab-ce/issues/64311
|
|\
| |
| |
| |
| |
| |
| | |
Adds chaos endpoints to Sidekiq
Closes #64663
See merge request gitlab-org/gitlab-ce!30814
|
| |
| |
| |
| |
| | |
This allows the chaos endpoints to be invoked in Sidekiq so that this
environment can be tested for resilience.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This improves the `add_timestamps_with_timezone` helper by allowing the
column names to be configured. This has the advantage that unnecessary
columns can be avoided, saving space.
A helper for removing the columns is also provided, to be used in the
`down` method of migrations.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add Rugged calls and duration to API and Rails logs
Closes #64676
See merge request gitlab-org/gitlab-ce!30871
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds `rugged_duration_ms` and `rugged_calls` fields to
`api_json.log` and `production_json.log`. This will make it easier to
identify performance issues caused by excessive I/O.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64676
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Add profile mode to extend request profiling
See merge request gitlab-org/gitlab-ce!30126
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Extend the support for "X-Profile-Token: <token>" to have an additional
header that defines type of profile we are looking for, like:
X-Profile-Mode: execution
X-Profile-Mode: memory
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use relative worker identifier for metrics (instead of Process.pid) and
identify when Unicorn/Puma/Sidekiq is used.
Previously, it was assumed that all metrics are gathered from Unicorn
due to hardcoded implementation which was incorrect.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Fix inconsistency in Redis performance bar stats
Closes #64707
See merge request gitlab-org/gitlab-ce!30866
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
peek-redis resets its counters at the start of an ActionController
notification (`start_processing.action_controller`), which causes it to
miss some Redis queries that precede it, such as the database load
balancer and Rack Attack queries. This produces inconsistencies in the
performance bar between the number of calls and their durations with the
actual calls in the detailed view.
We fix this by getting rid of peek-redis in favor of consolidating all
logic into the `RedisDetailed` view, which tracks Redis queries using
`RequestStore`. This has the nice property of removing thread-specific
counters as well.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64707
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
API: Allow changing only ci_default_git_depth
See merge request gitlab-org/gitlab-ce!30888
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Use correct parent when committing in WebIDE
See merge request gitlab-org/gitlab-ce!29598
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When passing start_branch on committing from the WebIDE, it's possible
that the branch has changed since editing started, which results in the
change being applied on top of the latest commit in the branch and
overwriting the new changes.
By passing the start_sha instead we can make sure that the change is
applied on top of the commit which the user started editing from.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Deploy serverless apps with `gitlabktl`
Closes #64494
See merge request gitlab-org/gitlab-ce!30740
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
Adjust cycle analytics to group level
See merge request gitlab-org/gitlab-ce!30391
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change small things for better readability
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Make specs more readable
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add specs for group level
Update entities
Update base classes
Add groups-centric changes
Update plan and review stage
Add summary classes
Add summary spec
Update specs files
Add to specs test cases for group
Add changelog entry
Add group serializer
Fix typo
Fix typo
Add fetching namespace in sql query
Update specs
Add rubocop fix
Add rubocop fix
Modify method to be in sync with code review
Add counting deploys from subgroup
To group summary stage
Add subgroups handling
In group stage summary
Add additional spec
Add additional specs
Add more precise inheritance
Add attr reader to group level
Fix rubocop offence
Fix problems with specs
Add cr remarks
Renaming median method and a lot of calls in specs
Move spec setup
Rename method in specs
Add code review remarks regarding module
Add proper module name
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This MR refactor RedisCounter and WebIdeCommitsCounter
to be reused by other components.
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
Wrap rugged calls with access disk block
See merge request gitlab-org/gitlab-ce!30592
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Whenever we use the rugged implementation, we are going straight to disk
so we want to bypass the disk access check.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Preserve footnote link ids
Closes #64645
See merge request gitlab-org/gitlab-ce!30790
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This is part of migration of Folder View to Vue
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Set access level in before_validation hook
- Add post migration for updating existing project_features
|
| | | | |
| | | | |
| | | | |
| | | | | |
EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14598
|
| | | | |
| | | | |
| | | | |
| | | | | |
remove frontend spec unnecessary tests
|