Skip to content

🤖 Document sync error for commit 78226a #509

Closed
@ErikSchierboom

Description

@ErikSchierboom

We hit an error trying to sync the latest commit (78226ae) to the website.

The error was:

131 is out of range for ActiveModel::Type::Integer with limit 1 bytes

/opt/website/vendor/bundle/ruby/3.3.0/gems/activemodel-7.0.4.3/lib/active_model/type/integer.rb:52:in `ensure_in_range'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activemodel-7.0.4.3/lib/active_model/type/integer.rb:28:in `serialize'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activemodel-7.0.4.3/lib/active_model/attribute.rb:56:in `value_for_database'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/collectors/substitute_binds.rb:19:in `add_bind'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:743:in `visit_ActiveModel_Attribute'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/visitor.rb:30:in `visit'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:107:in `block (2 levels) in visit_Arel_Nodes_ValuesList'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:103:in `each'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:103:in `each_with_index'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:103:in `block in visit_Arel_Nodes_ValuesList'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:100:in `each'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:100:in `each_with_index'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:100:in `visit_Arel_Nodes_ValuesList'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/visitor.rb:30:in `visit'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:821:in `maybe_visit'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:65:in `visit_Arel_Nodes_InsertStatement'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/visitor.rb:30:in `visit'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/visitor.rb:11:in `accept'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/arel/visitors/to_sql.rb:18:in `compile'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/database_statements.rb:37:in `to_sql_and_binds'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/database_statements.rb:166:in `insert'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `insert'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/persistence.rb:496:in `_insert_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/persistence.rb:1096:in `_create_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/counter_cache.rb:166:in `_create_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/locking/optimistic.rb:79:in `_create_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/attribute_methods/dirty.rb:222:in `_create_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/callbacks.rb:461:in `block in _create_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:107:in `run_callbacks'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:929:in `_run_create_callbacks'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/callbacks.rb:461:in `_create_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/timestamp.rb:108:in `_create_record'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/persistence.rb:1067:in `create_or_update'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/callbacks.rb:457:in `block in create_or_update'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/autosave_association.rb:370:in `around_save_collection_association'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:138:in `run_callbacks'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:929:in `_run_save_callbacks'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/callbacks.rb:457:in `create_or_update'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/timestamp.rb:126:in `create_or_update'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/persistence.rb:648:in `save!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/validations.rb:53:in `save!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/transactions.rb:302:in `block in save!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/database_statements.rb:314:in `transaction'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/transactions.rb:350:in `with_transaction_returning_status'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/transactions.rb:302:in `save!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/suppressor.rb:54:in `save!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/persistence.rb:55:in `create!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:870:in `_create!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:115:in `block in create!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:881:in `_scoping'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:428:in `scoping'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:115:in `create!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:219:in `block in create_or_find_by!'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/transactions.rb:209:in `transaction'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation/delegation.rb:67:in `block in transaction'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:881:in `_scoping'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:428:in `scoping'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation/delegation.rb:67:in `transaction'
/opt/website/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.4.3/lib/active_record/relation.rb:219:in `create_or_find_by!'
/opt/website/app/commands/git/sync_doc.rb:7:in `call'
/opt/website/vendor/bundle/ruby/3.3.0/gems/mandate-2.2.0/lib/mandate/call_injector.rb:10:in `call'
/opt/website/app/commands/git/sync_main_docs.rb:21:in `block in sync_config!'
/opt/website/app/commands/git/sync_main_docs.rb:20:in `each'
/opt/website/app/commands/git/sync_main_docs.rb:20:in `each_with_index'
/opt/website/app/commands/git/sync_main_docs.rb:20:in `sync_config!'
/opt/website/app/commands/git/sync_main_docs.rb:10:in `call'
/opt/website/vendor/bundle/ruby/3.3.0/gems/mandate-2.2.0/lib/mandate/call_injector.rb:10:in `call'
(irb):1:in `<main>'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb/workspace.rb:117:in `eval'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb/workspace.rb:117:in `evaluate'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb/context.rb:566:in `evaluate'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1023:in `block (2 levels) in eval_input'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1335:in `signal_status'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1016:in `block in eval_input'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1098:in `block in each_top_level_statement'
<internal:kernel>:187:in `loop'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1093:in `each_top_level_statement'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1015:in `eval_input'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1002:in `block in run'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1001:in `catch'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:1001:in `run'
/opt/rubies/ruby-3.3.0/lib/ruby/3.3.0/irb.rb:903:in `start'
/opt/website/vendor/bundle/ruby/3.3.0/gems/railties-7.0.4.3/lib/rails/commands/console/console_command.rb:70:in `start'
/opt/website/vendor/bundle/ruby/3.3.0/gems/railties-7.0.4.3/lib/rails/commands/console/console_command.rb:19:in `start'
/opt/website/vendor/bundle/ruby/3.3.0/gems/railties-7.0.4.3/lib/rails/commands/console/console_command.rb:102:in `perform'
/opt/website/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/lib/thor/command.rb:28:in `run'
/opt/website/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/lib/thor/invocation.rb:127:in `invoke_command'
/opt/website/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/lib/thor.rb:527:in `dispatch'
/opt/website/vendor/bundle/ruby/3.3.0/gems/railties-7.0.4.3/lib/rails/command/base.rb:87:in `perform'
/opt/website/vendor/bundle/ruby/3.3.0/gems/railties-7.0.4.3/lib/rails/command.rb:48:in `invoke'
/opt/website/vendor/bundle/ruby/3.3.0/gems/railties-7.0.4.3/lib/rails/commands.rb:18:in `<main>'
/opt/website/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/opt/website/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
bin/rails:4:in `<main>'

Please tag @exercism/maintainers-admin if you require more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions