gitlab-org--gitlab-foss/spec/serializers
Stan Hu 1b7ab11f94 Omit issues links in merge request entity API response
The merge request widget has a section that includes which issues may be
closed or mentioned based on the merge request description. The problem
is that rendering and redacting Markdown can be expensive, especially
since the browser polls for the data every 10 seconds.

Since these links don't change much and are just nice to have, we only
load them on first page load. The frontend will use the existing data if
the data doesn't appear on subsequent requests.

This saves about 30% of the rendering time of this endpoint, which adds
up to significant savings considering that
`MergeRequestsController#show.json` is called over a million times a day
on GitLab.com.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63546
2019-06-20 15:59:41 -07:00
..
analytics_build_entity_spec.rb
analytics_build_serializer_spec.rb
analytics_issue_entity_spec.rb
analytics_issue_serializer_spec.rb
analytics_merge_request_serializer_spec.rb
analytics_stage_serializer_spec.rb Rephrase specs description for cycle analytics 2019-05-27 12:44:02 +02:00
analytics_summary_serializer_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
blob_entity_spec.rb
board_serializer_spec.rb Use serialization for project boards 2019-06-06 22:13:14 +12:00
build_action_entity_spec.rb
build_artifact_entity_spec.rb
build_details_entity_spec.rb Extract Ci::Build#report_artifacts into method 2019-05-28 17:06:29 +02:00
build_serializer_spec.rb
cluster_application_entity_spec.rb Expose can_uninstall in cluster_status.json 2019-04-29 22:55:11 -07:00
cluster_entity_spec.rb
cluster_serializer_spec.rb
commit_entity_spec.rb
container_repository_entity_spec.rb
container_tag_entity_spec.rb
deploy_key_entity_spec.rb
deployment_entity_spec.rb Fix deployment entity tests 2019-05-24 10:04:35 +01:00
deployment_serializer_spec.rb
detailed_status_entity_spec.rb
diff_file_entity_spec.rb Replaced part of diff file properties with diff viewer 2019-02-15 17:56:50 +00:00
diff_line_entity_spec.rb
diff_line_serializer_spec.rb
diff_viewer_entity_spec.rb
diffs_entity_spec.rb
discussion_diff_file_entity_spec.rb
discussion_entity_spec.rb
entity_date_helper_spec.rb
entity_request_spec.rb
environment_entity_spec.rb Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
environment_serializer_spec.rb Properly implement API pagination headers and add specs 2019-02-21 18:29:00 +01:00
environment_status_entity_spec.rb
group_child_entity_spec.rb Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-09 15:38:58 +00:00
group_child_serializer_spec.rb
group_variable_entity_spec.rb
issue_board_entity_spec.rb
issue_entity_spec.rb
issue_serializer_spec.rb
job_artifact_report_entity_spec.rb Move JobArtifactEntity to JobArtifactReportEntity 2019-05-28 17:06:29 +02:00
job_entity_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
label_serializer_spec.rb
lfs_file_lock_entity_spec.rb
merge_request_diff_entity_spec.rb
merge_request_for_pipeline_entity_spec.rb Expose merge request entity for pipelines 2019-03-06 16:30:35 +07:00
merge_request_serializer_spec.rb
merge_request_user_entity_spec.rb
merge_request_widget_commit_entity_spec.rb
merge_request_widget_entity_spec.rb Omit issues links in merge request entity API response 2019-06-20 15:59:41 -07:00
move_to_project_entity_spec.rb
move_to_project_serializer_spec.rb
namespace_basic_entity_spec.rb
namespace_serializer_spec.rb
note_entity_spec.rb
pipeline_details_entity_spec.rb
pipeline_entity_spec.rb Add specs checking serialization of a stage builds 2019-05-24 10:04:05 +01:00
pipeline_serializer_spec.rb Adds a way to start multiple manual jobs in stage 2019-05-02 18:27:35 +00:00
project_import_entity_spec.rb
project_mirror_entity_spec.rb
project_mirror_serializer_spec.rb
project_note_entity_spec.rb
project_serializer_spec.rb
provider_repo_entity_spec.rb Fix misspellings in app/spec executable lines 2019-02-27 22:41:34 +09:00
provider_repo_serializer_spec.rb
remote_mirror_entity_spec.rb
request_aware_entity_spec.rb
runner_entity_spec.rb
stage_entity_spec.rb Adds a way to start multiple manual jobs in stage 2019-05-02 18:27:35 +00:00
stage_serializer_spec.rb Adds a way to start multiple manual jobs in stage 2019-05-02 18:27:35 +00:00
suggestion_entity_spec.rb Fixed test specs 2019-04-04 13:08:34 +00:00
test_case_entity_spec.rb Display classname JUnit attribute in report modal 2019-05-20 13:27:08 +00:00
test_reports_comparer_entity_spec.rb
test_reports_comparer_serializer_spec.rb
test_suite_comparer_entity_spec.rb
trigger_variable_entity_spec.rb
user_entity_spec.rb
variable_entity_spec.rb