Skip to content
Snippets Groups Projects
Select Git revision
  • ps-migrate-vscode-extension-marketplace-ff-to-db
  • check-tag-rules-when-deleting-container-images
  • pb/517368/add-provider-to-saml-group-links
  • backfill-desired-sharding-key-large-table-push_event_payloads
  • 16653_add_vulns_api_from_stat_adjustments_branch
  • backfill-desired-sharding-key-small-table-scan_result_policies
  • master default protected
  • rails-next protected
  • ruby-next protected
  • backfill-multiple-desired-sharding-key-small-table-snippet_statistics
  • sharding-key-backfill-keeps
  • backfill-desired-sharding-key-small-table-incident_management_pending_issue_escalations
  • issue_509317
  • eduardosanz/update-codeowners
  • document-new-golang-runbook
  • 505041-add-parent-param-groups-resolver
  • axil-docs-redirects-skip_indexmd
  • 514146-add-sharding-key-for-redirect_routes
  • qa-knapsack-master-report-update
  • brodock/unified-backup-use-rake-directly
  • v17.7.6-ee protected
  • v17.8.4-ee protected
  • v17.9.1-ee protected
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
40 results

commit_controller_spec.rb

  • Patrick Bajao's avatar
    73db527a
    Log diffs_files_count when MR diffs and commit are accessed · 73db527a
    Patrick Bajao authored
    To be able to give an estimate on how much storage we are going
    to use when we cache diffs HTML, we need to get some data on
    how many files are there in diffs.
    
    We add this logging metadata to `MergeRequestsController#diffs` and
    `CommitController#show` actions since those are the actions that
    we want to track.
    73db527a
    History
    Log diffs_files_count when MR diffs and commit are accessed
    Patrick Bajao authored
    To be able to give an estimate on how much storage we are going
    to use when we cache diffs HTML, we need to get some data on
    how many files are there in diffs.
    
    We add this logging metadata to `MergeRequestsController#diffs` and
    `CommitController#show` actions since those are the actions that
    we want to track.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.