Skip to content

Outlandish number for CI job timeout causes 500 error

https://sentry.gitlap.com/gitlab/gitlabcom/issues/155657/

RangeError: 1200000000000000000000000000 is out of range for ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer with limit 4
  config/initializers/active_record_locking.rb:16:in `_update_record'
    return super unless locking_enabled?
  app/services/projects/update_service.rb:30:in `execute'
    if project.update_attributes(params.except(:default_branch))
  app/controllers/projects/pipelines_settings_controller.rb:10:in `block in update'
    if service.execute
  app/controllers/projects/pipelines_settings_controller.rb:9:in `tap'
    Projects::UpdateService.new(project, current_user, update_params).tap do |service|
  app/controllers/projects/pipelines_settings_controller.rb:9:in `update'
    Projects::UpdateService.new(project, current_user, update_params).tap do |service|
...
(203 additional frame(s) were not displayed)

RangeError: 1200000000000000000000000000 is out of range for ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer with limit 4

/cc @markglenfletcher