Rack timeout during pipeline.save!
While trying to create a pipeline for a merge request with pipeline:run-all-e2e set, we receive a Rack::Timeout::RequestTimeoutException
while in pipeline.save!
, indicating the pipeline save is creating too many records to be able to succeed within 60 seconds.
Perhaps pipeline save needs to be enqueued and success/error handled asynchronously in order to be reliable.
Sentry event: gitlabcom:35c54b8bde6e4deea171bd94decd19c9
BulkInsertableAssociations.with_bulk_insert do
::Ci::BulkInsertableTags.with_bulk_insert_tags do
pipeline.transaction do
pipeline.save!
Gitlab::Ci::Tags::BulkInsert.bulk_insert_tags!(statuses)
end
end