lowrail-profile 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"generated":"2026-11-25T12:35:41Z","ledger":"contributions.md","pulls":[{"ref":"ruby/ruby#19982","repo":"ruby/ruby","state":"merged","allocation_work":true,"merged_at":"2026-11-25T03:00:18Z","released_in":null,"files":[{"path":"zjit/src/hir/opt_tests.rs","methods":{"test":{"removed":[],"added":["def test(a) = \"<#{a}>\"","test(\"div\") # profile","test(\"div\") # compile (version 1 with a String guard on a)","let string_hir = hir_string(\"test\");","let iseq = crate::cruby::with_rubyvm(|| get_method_iseq(\"self\", \"test\"));","assert_eq!(1, crate::payload::get_or_create_iseq_payload(iseq).versions.len());","eval(r##\"","test(:div) # guard failure -> invalidate version 1","test(:div) # re-profile","test(:div) # compile version 2","let symbol_hir = hir_string(\"test\");","assert_eq!(2, crate::payload::get_or_create_iseq_payload(iseq).versions.len());","assert_snapshot!(format!(\"{string_hir}\\n{symbol_hir}\"), @\"","fn test@<compiled>:2:","bb1():","EntryPoint interpreter","v1:BasicObject = LoadSelf","v2:CPtr = LoadSP","v3:BasicObject = LoadField v2, :a@0x1000","Jump bb3(v1, v3)","bb2():","EntryPoint JIT(0)","v6:BasicObject = LoadArg :self@0","v7:BasicObject = LoadArg :a@1","Jump bb3(v6, v7)","bb3(v9:BasicObject, v10:BasicObject):","v14:StringExact[VALUE(0x1008)] = Const Value(VALUE(0x1008))","PatchPoint NoSingletonClass(String@0x1010)","v19:String = GuardType v10, String recompile","PatchPoint NoEPEscape(test)","v30:StringExact[VALUE(0x1018)] = Const Value(VALUE(0x1018))","v32:StringExact = StringConcat v14, v19, v30","CheckInterrupts","Return v32","CondBranchHasType v10, String, bb4(), bb5()","bb4():","v19:String = RefineType v10, String","Jump bb6(v19)","bb5():","v22:NotString = RefineType v10, NotString","v23:BasicObject = Send v22, :to_s # SendFallbackReason: Send: polymorphic call site","Jump bb6(v23)","bb6(v25:BasicObject):","CondBranchHasType v25, String, bb8(), bb9()","bb8():","v30:String = RefineType v25, String","Jump bb10(v30)","bb9():","v32:StringExact = AnyToString v10","Jump bb10(v32)","bb10(v34:String):","v36:StringExact[VALUE(0x1010)] = Const Value(VALUE(0x1010))","v38:StringExact = StringConcat v14, v34, v36","Return v38","fn test_objtostring_guard_failure_keeps_fixnum_to_string() {","set_num_exits_until_invalidate(1);","test(1) # guard failure -> invalidate version 1","test(1) # re-profile","test(1) # compile version 2","assert_snapshot!(hir_string(\"test\"), @\"","CondBranchHasType v10, Fixnum, bb7(), bb8()","bb7():","v21:Fixnum = RefineType v10, Fixnum","PatchPoint MethodRedefined(Integer@0x1010, to_s@0x1018, cme:0x1020)","v25:StringExact = FixnumToString v21","Jump bb6(v25)","v28:NotString = RefineType v10, NotString","v29:BasicObject = Send v28, :to_s # SendFallbackReason: Send: polymorphic call site","Jump bb6(v29)","bb6(v31:BasicObject):","CondBranchHasType v31, String, bb9(), bb10()","v36:String = RefineType v31, String","Jump bb11(v36)","bb10():","v38:StringExact = AnyToString v10","Jump bb11(v38)","bb11(v40:String):","v42:StringExact[VALUE(0x1048)] = Const Value(VALUE(0x1048))","v44:StringExact = StringConcat v14, v40, v42","Return v44"]}}}]},{"ref":"rubocop/rubocop-rails#1670","repo":"rubocop/rubocop-rails","state":"merged","allocation_work":true,"merged_at":"2026-11-21T09:07:39Z","released_in":null,"files":[{"path":"lib/rubocop/cop/rails/select_map.rb","methods":{"receiver_chain?":{"removed":[],"added":["break if MATERIALIZING_METHODS.include?(current.method_name)"]}}}]},{"ref":"inertiajs/inertia-rails#437","repo":"inertiajs/inertia-rails","state":"merged","allocation_work":true,"merged_at":"2026-11-18T09:07:51Z","released_in":null,"files":[{"path":"lib/inertia_rails/configuration.rb","methods":{"env_options":{"removed":["protected attr_reader :controller"],"added":["protected attr_accessor :controller"]},"bind_controller":{"removed":["Configuration.new(**@options, controller: controller)"],"added":["bound = dup","bound.controller = controller"]},"initialize_dup":{"removed":[],"added":["def initialize_dup(source)","@options = @options.dup"]}}},{"path":"lib/inertia_rails/props_resolver.rb","methods":{"needs_transform?":{"removed":["when Hash then value.any? { |_, v| needs_transform?(v) }","when Array then value.any? { |v| needs_transform?(v) }"],"added":["when Hash","value.each_value { |v| return true if needs_transform?(v) }","when Array","value.each { |v| return true if needs_transform?(v) }"]}}}]},{"ref":"inertiajs/inertia-rails#442","repo":"inertiajs/inertia-rails","state":"merged","allocation_work":true,"merged_at":"2026-11-18T08:59:00Z","released_in":null,"files":[{"path":"lib/inertia_rails/props_resolver.rb","methods":{"deep_transform_props":{"removed":["props.each_with_object({}) do |(key, prop), transformed_props|","rescue_enabled = prop.try(:rescue?)"],"added":["plain_leaves = @recorder.nil? && (parent_was_resolved || !filtering_partial_request?)","transformed_props = {}","props.each do |key, prop|","if plain_leaves && plain_leaf?(prop)","transformed_props[key] = prop","rescue_enabled = prop.is_a?(BaseProp) && prop.try(:rescue?)","transformed_props"]},"plain_leaf?":{"removed":[],"added":["def plain_leaf?(value)","case value","when BaseProp, Proc, Hash, Array then false","else !self.class.serializer?(value)"]},"keep_prop?":{"removed":["return false if excluded_by_once_cache?(prop, path)","return false if (prop.is_a?(IgnoreOnFirstLoadProp) || prop.try(:deferred?)) && !rendering_partial_component?"],"added":["prop_type = prop.is_a?(BaseProp)","return false if prop_type && excluded_by_once_cache?(prop, path)","return false if prop_type && (prop.is_a?(IgnoreOnFirstLoadProp) || prop.try(:deferred?)) &&","!rendering_partial_component?"]}}}]},{"ref":"inertiajs/inertia-rails#441","repo":"inertiajs/inertia-rails","state":"merged","allocation_work":true,"merged_at":"2026-11-17T10:44:40Z","released_in":null,"files":[{"path":"lib/inertia_rails/renderer.rb","methods":{"partial_reload?":{"removed":["@request.headers['X-Inertia-Partial-Component'] == @component"],"added":["@request.get_header('HTTP_X_INERTIA_PARTIAL_COMPONENT') == @component"]},"build_page":{"removed":["only: parse_header('X-Inertia-Partial-Data'),","except: parse_header('X-Inertia-Partial-Except'),","reset: parse_header('X-Inertia-Reset'),","except_once: parse_header('X-Inertia-Except-Once-Props'),","scroll_intent: @request.headers['X-Inertia-Infinite-Scroll-Merge-Intent'],"],"added":["only: parse_header('HTTP_X_INERTIA_PARTIAL_DATA'),","except: parse_header('HTTP_X_INERTIA_PARTIAL_EXCEPT'),","reset: parse_header('HTTP_X_INERTIA_RESET'),","except_once: parse_header('HTTP_X_INERTIA_EXCEPT_ONCE_PROPS'),","scroll_intent: @request.get_header('HTTP_X_INERTIA_INFINITE_SCROLL_MERGE_INTENT'),"]},"parse_header":{"removed":["def parse_header(name)","(@request.headers[name] || '').split(',').compact_blank!"],"added":["def parse_header(env_key)","(@request.get_header(env_key) || '').split(',').compact_blank!"]}}}]},{"ref":"#59614","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T15:42:56Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/core_ext/hash/slice.rb","methods":{"extract!":{"removed":["keys.each_with_object(self.class.new) { |key, result| result[key] = delete(key) if has_key?(key) }"],"added":["result = self.class.new","keys.each do |key|","result[key] = delete(key) if has_key?(key)","result"]}}}]},{"ref":"#59618","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T15:41:03Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/relation/query_methods.rb","methods":{"build_select":{"removed":["arel.project(table[Arel.star])"],"added":["arel.projections << table[Arel.star]"]}}}]},{"ref":"#59613","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T14:16:35Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/notifications/fanout.rb","methods":{"build_handle":{"removed":["instances = groups.map do |group_klass, grouped_listeners|","group_klass.new(grouped_listeners, name, id, payload)"],"added":["instances = []","groups.each do |group_klass, grouped_listeners|","instances << group_klass.new(grouped_listeners, name, id, payload)"]}}}]},{"ref":"#59608","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T14:09:22Z","released_in":null,"files":[{"path":"actionview/lib/action_view/renderer/abstract_renderer.rb","methods":{"prepend_formats":{"removed":["@lookup_context.formats = formats | @lookup_context.formats"],"added":["current = @lookup_context.formats","if formats.size == 1 && !current.empty? && formats.first.equal?(current.first)","@lookup_context.formats = current","@lookup_context.formats = formats | current"]}}}]},{"ref":"#59620","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T15:57:48Z","released_in":null,"files":[{"path":"actionpack/lib/action_controller/metal/renderers.rb","methods":{"_all_renderers":{"removed":["_renderers + Renderers.all"],"added":["if _renderers.empty?","Renderers.all","_renderers + Renderers.all"]}}}]},{"ref":"#59619","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T15:50:06Z","released_in":null,"files":[{"path":"actionpack/lib/action_dispatch/journey/visitors.rb","methods":{"initialize":{"removed":["@parts = parts","@children = []","@parameters = []","parts.each_with_index do |object, i|","case object","when Journey::Format","@children << i","when Parameter","@parameters << i"],"added":["@parts = join_adjacent_literals(parts)","@parameters = @parts.grep(Parameter)"]},"evaluate":{"removed":["@parameters.each do |index|","return if hash[@parts[index].name].nil?"],"added":["return if @parameters.any? { |parameter| hash[parameter.name].nil? }","private"]},"join_adjacent_literals":{"removed":[],"added":["def join_adjacent_literals(parts)","parts.each_with_object([]) do |part, joined|","if String === part && String === joined.last","joined[-1] = -(joined.last + part)","joined << part"]}}}]},{"ref":"#59616","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T14:58:25Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/timestamp.rb","methods":{"record_update_timestamps":{"removed":["current_time = current_time_from_proper_timezone"],"added":["current_time = nil","current_time ||= current_time_from_proper_timezone"]}}}]},{"ref":"#59615","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T14:31:29Z","released_in":null,"files":[{"path":"activestorage/app/models/active_storage/blob/representable.rb","methods":{"format":{"removed":["if filename.extension.present? && Marcel::MimeType.for(extension: filename.extension) == content_type","filename.extension"],"added":["extension = filename.extension","if extension.present? && Marcel::MimeType.for(extension: extension) == content_type","extension"]}}}]},{"ref":"#59607","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T13:57:13Z","released_in":null,"files":[{"path":"activemodel/lib/active_model/attribute_methods.rb","methods":{"resolve_attribute_name":{"removed":["attribute_aliases.fetch(super, &:itself)"],"added":["attribute_aliases.fetch(name = super, name)"]}}}]},{"ref":"#59605","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T13:29:02Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb","methods":{"perform_query":{"removed":["ActiveRecord::Result.new(stmt.columns, rows, stmt.types.map { |t| type_map.lookup(t) }, affected_rows: affected_rows)"],"added":["result_type_map = type_map","ActiveRecord::Result.new(stmt.columns, rows, stmt.types.map { |t| result_type_map.lookup(t) }, affected_rows: affected_rows)"]}}}]},{"ref":"#59603","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T13:14:47Z","released_in":null,"files":[{"path":"actionview/lib/action_view/helpers/tag_helper.rb","methods":{"append_tag_option":{"removed":[],"added":["when String","value = escape ? ERB::Util.unwrapped_html_escape(value) : value.to_s"]}}}]},{"ref":"#59596","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T07:33:14Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb","methods":{"cacheable_query":{"removed":["query = klass.query(sql, retryable: collector.retryable)"],"added":["query = klass.query(sql.freeze, retryable: collector.retryable)"]}}}]},{"ref":"#59597","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T07:37:34Z","released_in":null,"files":[{"path":"actionpack/lib/action_controller/metal/allow_browser.rb","methods":{"expanded_versions":{"removed":["@expanded_versions ||= (SETS[versions] || versions).with_indifferent_access"],"added":["@expanded_versions ||= EXPANDED_SETS[versions] || versions.with_indifferent_access"]}}}]},{"ref":"#59583","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T00:25:37Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/associations/through_association.rb","methods":{"stale_state":{"removed":["Array(through_reflection.foreign_key).filter_map do |foreign_key_column|","owner.read_attr(foreign_key_column)","end.presence"],"added":["foreign_key = through_reflection.foreign_key","if foreign_key.instance_of?(String)","value = owner.read_attr(foreign_key)","[value] if value","Array(foreign_key).filter_map do |foreign_key_column|","owner.read_attr(foreign_key_column)","end.presence"]}}}]},{"ref":"#59585","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-04T01:04:49Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb","methods":{"new":{"removed":["self === subtype ? subtype : super"],"added":["return subtype if self === subtype","converter = super","converter.instance_of?(TimeZoneConverter) && subtype.frozen? ? converter.freeze : converter"]}}},{"path":"activerecord/lib/active_record/enum.rb","methods":{"_enum":{"removed":["EnumType.new(name, enum_values, subtype, raise_on_invalid_values: !validate)"],"added":["enum_type = EnumType.new(name, enum_values, subtype, raise_on_invalid_values: !validate)","enum_values.frozen? && subtype.frozen? ? enum_type.freeze : enum_type"]}}}]},{"ref":"#59235","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-21T12:33:51Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/notifications/fanout.rb","methods":{"build_handle":{"removed":["groups = groups_for(name).map do |group_klass, grouped_listeners|","group_klass.new(grouped_listeners, name, id, payload)","Handle.new(name, id, groups, payload)"],"added":["groups = groups_for(name)","instances = groups.map do |group_klass, grouped_listeners|","group_klass.new(grouped_listeners, name, id, payload)","Handle.new(name, id, instances, payload)"]}}}]},{"ref":"#59236","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-21T12:46:29Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/current_attributes.rb","methods":{"resolve_defaults":{"removed":["defaults.each_with_object({}) do |(key, value), result|"],"added":["result = {}","defaults.each do |key, value|","result"]}}}]},{"ref":"#59244","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-21T16:46:28Z","released_in":null,"files":[{"path":"actionview/lib/action_view/helpers/tag_helper.rb","methods":{"append_prefix_tag_option":{"removed":["key = \"#{prefix}-#{key.to_s.dasherize}\""],"added":["key = \"#{prefix}-#{(Symbol === key ? key.name : key.to_s).dasherize}\""]}}}]},{"ref":"#59252","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-21T19:45:41Z","released_in":null,"files":[{"path":"activemodel/lib/active_model/error.rb","methods":{"generate_message":{"removed":["defaults = base.class.lookup_ancestors.flat_map do |klass|","[ :\"#{i18n_scope}.errors.models.#{klass.model_name.i18n_key}.attributes.#{attribute}.#{type}\",",":\"#{i18n_scope}.errors.models.#{klass.model_name.i18n_key}.#{type}\" ]"],"added":["defaults = []","base.class.lookup_ancestors.each do |klass|","defaults << :\"#{i18n_scope}.errors.models.#{klass.model_name.i18n_key}.attributes.#{attribute}.#{type}\"","defaults << :\"#{i18n_scope}.errors.models.#{klass.model_name.i18n_key}.#{type}\""]}}}]},{"ref":"#59270","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-22T15:33:36Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/delegated_type.rb","methods":{"define_delegated_type_methods":{"removed":["public_send(\"#{role}_class\").model_name.singular.inquiry","public_send(\"#{role}=\", public_send(\"#{role}_class\").new(*params))"],"added":["role_class = :\"#{role}_class\"","public_send(role_class).model_name.singular.inquiry","public_send(\"#{role}=\", public_send(role_class).new(*params))"]}}}]},{"ref":"#59274","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-22T20:35:57Z","released_in":null,"files":[{"path":"actionview/lib/action_view/helpers/asset_tag_helper.rb","methods":{"javascript_include_tag":{"removed":["sources_tags = sources.uniq.map { |source|"],"added":["sources_tags = sources.uniq.map! { |source|"]},"stylesheet_link_tag":{"removed":["sources_tags = sources.uniq.map { |source|"],"added":["sources_tags = sources.uniq.map! { |source|"]}}}]},{"ref":"#59278","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-22T21:49:47Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb","methods":{"cast_result":{"removed":["ar_result = if result.fields.empty?","fields = result.fields"],"added":["ar_result = if (fields = result.fields).empty?"]}}}]},{"ref":"#59533","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T16:14:27Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/relation/where_clause.rb","methods":{"predicates_with_wrapped_sql_literals":{"removed":["non_empty_predicates.map do |node|","case node","ARRAY_WITH_EMPTY_STRING = [\"\"].freeze"],"added":["nodes = []","predicates.each do |node|","next if node.eql?(\"\")","nodes << case node"]},"non_empty_predicates":{"removed":["def non_empty_predicates","predicates - ARRAY_WITH_EMPTY_STRING"],"added":[]}}}]},{"ref":"#59535","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T18:26:52Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/hash_with_indifferent_access.rb","methods":{"fetch":{"removed":["def fetch(key, *extras)","super(convert_key(key), *extras)"],"added":["def fetch(key, default = (no_default = true; nil))","if no_default","super(convert_key(key))","super(convert_key(key), default)"]}}}]},{"ref":"#59536","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T18:35:23Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb","methods":{"perform_query":{"removed":[],"added":["NO_WARNINGS = [].freeze","private_constant :NO_WARNINGS"]},"collect_warnings":{"removed":[],"added":["NO_WARNINGS"]}}},{"path":"activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb","methods":{"collect_warnings":{"removed":["return [] if ActiveRecord.db_warnings_action.nil? || @raw_connection.warning_count == 0"],"added":["return super if ActiveRecord.db_warnings_action.nil? || @raw_connection.warning_count == 0"]}}},{"path":"activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb","methods":{"collect_warnings":{"removed":[],"added":["return super if @notice_receiver_sql_warnings.empty?"]}}}]},{"ref":"#59537","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T18:42:16Z","released_in":null,"files":[{"path":"actionview/lib/action_view/helpers/tag_helper.rb","methods":{"define_element":{"removed":["\" tag_string(#{name.inspect}, content, options, escape: escape, &block)\" <<"],"added":["\" tag_string(#{name.inspect}, options, content, escape: escape, &block)\" <<"]},"define_self_closing_element":{"removed":["\" tag_string(#{name.inspect}, content, options, escape: escape, &block)\" <<"],"added":["\" tag_string(#{name.inspect}, options, content, escape: escape, &block)\" <<"]},"tag_string":{"removed":["def tag_string(name, content = nil, options, escape: true, &block)"],"added":["def tag_string(name, options, content = nil, escape: true, &block)"]},"method_missing":{"removed":["tag_string(name, *args, options, escape: escape, &block)"],"added":["tag_string(name, options, *args, escape: escape, &block)"]}}}]},{"ref":"#59538","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T18:55:52Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/relation.rb","methods":{"alias_tracker":{"removed":["def alias_tracker(joins = [], aliases = nil) # :nodoc:"],"added":["def alias_tracker(joins = FROZEN_EMPTY_ARRAY, aliases = nil) # :nodoc:"]},"exec_main_query":{"removed":["model._query_by_sql(c, arel, async: async)"],"added":["model._query_by_sql(c, arel, FROZEN_EMPTY_ARRAY, async: async)"]}}}]},{"ref":"#59539","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T19:06:51Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/associations/join_dependency/join_association.rb","methods":{"join_constraints":{"removed":["table, terminated = yield reflection, reflection_chain[index..]"],"added":["table, terminated = yield reflection, reflection_chain.drop(index)"]}}}]},{"ref":"#59541","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T19:28:15Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/relation/where_clause.rb","methods":{"merge":{"removed":["predicates = except_predicates(other.extract_attributes)"],"added":["predicates = empty? ? self.predicates : except_predicates(other.extract_attributes)"]},"except_predicates":{"removed":["return predicates if columns.empty?","non_attrs = columns.extract! { |node| node.is_a?(Arel::Predications) }","if !non_attrs.empty? && equality_node?(node) && node.left.is_a?(Arel::Predications)"],"added":["return predicates if columns.empty? || predicates.empty?","non_attrs = columns.extract! { |node| node.is_a?(Arel::Predications) } unless columns.empty?","if non_attrs && !non_attrs.empty? && equality_node?(node) && node.left.is_a?(Arel::Predications)"]}}}]},{"ref":"#59542","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-02T19:32:01Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb","methods":{"finalize_remaining_intents":{"removed":[],"added":["return if @unfinalized_intents.empty?"]}}}]},{"ref":"#59551","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T02:28:52Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/relation/merger.rb","methods":{"merge_multi_values":{"removed":["relation.extending!(*other.extensions)"],"added":["relation.extending!(*other.extensions) unless other.extensions.empty?"]}}}]},{"ref":"#59552","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T02:43:34Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/reflection.rb","methods":{"constraints":{"removed":[],"added":["def constraints","scopes"]}}}]},{"ref":"#59554","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T02:25:36Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/relation/merger.rb","methods":{"initialize":{"removed":[],"added":["NORMAL_VALUE_BANG_METHODS = NORMAL_VALUES.index_with { |name| :\"#{name}!\" }.freeze"]},"merge":{"removed":["NORMAL_VALUES.each do |name|","relation.public_send(:\"#{name}!\", *value)"],"added":["NORMAL_VALUE_BANG_METHODS.each do |name, bang_method|","relation.public_send(bang_method, *value)"]}}}]},{"ref":"#59556","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T03:29:32Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/associations/collection_proxy.rb","methods":{"upsert_all":{"removed":["} - self.public_instance_methods(false) - [ :select ] + [ :scoping, :values, :load_async ]"],"added":["} - self.public_instance_methods(false) - [ :select ] + [ :scoping, :values, :values_for_merge, :load_async ]"]}}},{"path":"activerecord/lib/active_record/relation.rb","methods":{"values_for_merge":{"removed":[],"added":["def values_for_merge # :nodoc:","@values"]}}},{"path":"activerecord/lib/active_record/relation/merger.rb","methods":{"initialize":{"removed":["@values = other.values"],"added":["@values = other.values_for_merge","@values = @values.dup if @values.equal?(relation.values_for_merge)"]}}}]},{"ref":"#59560","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T04:38:59Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb","methods":{"get_oid_type":{"removed":["type_map.fetch(oid, fmod, sql_type) { register_unknown_oid_type(oid, column_name) }"],"added":["if sql_type.empty?","type_map.fetch_result_type(oid, fmod) { register_unknown_oid_type(oid, column_name) }","type_map.fetch(oid, fmod, sql_type) { register_unknown_oid_type(oid, column_name) }"]}}},{"path":"activerecord/lib/active_record/type/hash_lookup_type_map.rb","methods":{"initialize":{"removed":[],"added":["@result_type_keys = Concurrent::Map.new"]},"fetch_result_type":{"removed":[],"added":["def fetch_result_type(lookup_key, modifier, &block)","unless args = @result_type_keys[modifier]","args = [modifier, \"\"].freeze","new_key = true","type = @cache[lookup_key].fetch_or_store(args) do","perform_fetch(lookup_key, *args, &block)","@result_type_keys.put_if_absent(modifier, args) if new_key"]},"register_type":{"removed":[],"added":["@result_type_keys.clear"]},"clear":{"removed":[],"added":["@result_type_keys.clear"]}}}]},{"ref":"#59561","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T04:54:04Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb","methods":{"thread_mattr_reader":{"removed":[],"added":["key = \"attr_#{sym}_#{object_id}\""]},"#{sym}":{"removed":["key = \"attr_#{sym}_\\#{object_id}\""],"added":["key = object_id == #{object_id} ? \"#{key}\".freeze : \"attr_#{sym}_\\#{object_id}\""]},"thread_mattr_writer":{"removed":[],"added":["key = \"attr_#{sym}_#{object_id}\""]},"#{sym}=":{"removed":["key = \"attr_#{sym}_\\#{object_id}\""],"added":["key = object_id == #{object_id} ? \"#{key}\".freeze : \"attr_#{sym}_\\#{object_id}\""]}}}]},{"ref":"#59562","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T15:24:58Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/subscriber.rb","methods":{"subscribers":{"removed":[],"added":["attr_reader :event_method_names # :nodoc:"]},"add_event_subscriber":{"removed":[],"added":["if pattern.instance_of?(String) && (dot = pattern.index(\".\"))","@event_method_names = (@event_method_names || {}).merge(pattern => pattern[0, dot].to_sym).freeze"]},"remove_event_subscriber":{"removed":[],"added":["@event_method_names = @event_method_names.except(pattern).freeze if @event_method_names&.key?(pattern)"]},"call":{"removed":["method = event.name[0, event.name.index(\".\")]","send(method, event)"],"added":["name = event.name","send(self.class.event_method_names&.[](name) || name[0, name.index(\".\")], event)"]}}}]},{"ref":"#59563","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T08:49:31Z","released_in":null,"files":[{"path":"activejob/lib/active_job/arguments.rb","methods":{"serialize_hash":{"removed":["argument.each_with_object({}) do |(key, value), hash|"],"added":["hash = {}","argument.each do |key, value|"]}}}]},{"ref":"#59568","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T08:58:28Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/querying.rb","methods":{"_load_from_sql":{"removed":[],"added":["attribute_types = self.attribute_types"]}}}]},{"ref":"#59571","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T13:59:13Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/scoping/named.rb","methods":{"scope":{"removed":["proc do |*args, **kwargs|","scope = all._exec_scope(*args, **kwargs, &scope_body)","scope = scope.extending(extension) if extension"],"added":["if scope_body.lambda? && scope_body.parameters.empty?","proc do","scope = all._exec_scope(&scope_body)","scope = scope.extending(extension) if extension","proc do |*args, **kwargs|","scope = all._exec_scope(*args, **kwargs, &scope_body)"]}}}]},{"ref":"#59576","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-03T14:19:34Z","released_in":null,"files":[{"path":"activerecord/lib/active_record/relation/where_clause.rb","methods":{"ast":{"removed":["predicates = predicates_with_wrapped_sql_literals","predicates.one? ? predicates.first : Arel::Nodes::And.new(predicates)"],"added":["if predicates.size == 1 && (node = predicates.first) && !node.eql?(\"\")","wrap_sql_literal(node)","nodes = predicates_with_wrapped_sql_literals","nodes.one? ? nodes.first : Arel::Nodes::And.new(nodes)"]},"predicates_with_wrapped_sql_literals":{"removed":["nodes << case node","when Arel::Nodes::SqlLiteral, ::String","Arel::Nodes::Grouping.new(node)","else node"],"added":["nodes << wrap_sql_literal(node)"]},"wrap_sql_literal":{"removed":[],"added":["def wrap_sql_literal(node)","case node","when Arel::Nodes::SqlLiteral, ::String","Arel::Nodes::Grouping.new(node)","else node"]}}}]},{"ref":"#59316","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-24T02:34:22Z","released_in":null,"files":[{"path":"actionpack/lib/action_dispatch/http/url.rb","methods":{"build_host_url":{"removed":["if match = host.match(HOST_REGEXP)"],"added":["if String === host && host.instance_of?(String) && !host.empty? && !host.match?(/[:\\[]/)","host = host.dup","port = nil unless options.key?(:port)","elsif match = host.match(HOST_REGEXP)"]},"normalize_protocol":{"removed":[],"added":["if String === protocol && protocol.instance_of?(String) && protocol.encoding == Encoding::UTF_8","case protocol","when \"http\", \"http:\", \"http://\"","return \"http://\"","when \"https\", \"https:\", \"https://\"","return \"https://\""]},"normalize_host":{"removed":["host = +\"\"","if subdomain == true","return _host if domain.nil?"],"added":["subdomain_from_host = subdomain == true","return _host if subdomain_from_host && domain.nil?","host = +\"\"","if subdomain_from_host"]}}}]},{"ref":"#59329","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-10-24T02:42:03Z","released_in":null,"files":[{"path":"actionpack/lib/action_dispatch/journey/formatter.rb","methods":{"extract_parameterized_parts":{"removed":["keys_to_keep = route.parts.reverse_each.drop_while { |part|","!(options.key?(part) || route.scope_options.key?(part)) || (options[part].nil? && recall[part].nil?)","} | route.required_parts"],"added":["parts = route.parts","last_kept = parts.rindex { |part|","(options.key?(part) || route.scope_options.key?(part)) && !(options[part].nil? && recall[part].nil?)","} || -1","keys_to_keep = parts.take(last_kept + 1) | route.required_parts"]}}}]},{"ref":"#59584","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-05T01:41:19Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/json/encoding.rb","methods":{"escape!":{"removed":[],"added":["elsif json.include?(\">\") || json.include?(\"<\") || json.include?(\"&\")"]}}}]},{"ref":"#59640","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-05T08:20:51Z","released_in":null,"files":[{"path":"activesupport/lib/active_support/cache/strategy/local_cache.rb","methods":{"initialize":{"removed":["@local_cache_key = \"#{self.class.name.underscore}_local_cache_#{object_id}\".gsub(/[\\/-]/, \"_\").to_sym"],"added":["@local_cache_key = \"#{self.class.name.to_s.underscore}_local_cache_#{object_id}\".gsub(/[\\/-]/, \"_\").to_sym"]}}}]},{"ref":"#59570","repo":"rails/rails","state":"merged","allocation_work":true,"merged_at":"2026-11-05T09:34:25Z","released_in":null,"files":[{"path":"actionview/lib/action_view/buffers.rb","methods":{"<<":{"removed":["ERB::Util.unwrapped_html_escape(value)"],"added":["ERB::Escape.html_escape(value)"]}}}]},{"ref":"ruby/ruby#19680","repo":"ruby/ruby","state":"merged","allocation_work":true,"merged_at":"2026-11-19T18:00:53Z","released_in":null,"files":[{"path":"zjit/src/codegen_tests.rs","methods":{"zjit_wbc_yield":{"removed":[],"added":["def zjit_wbc_yield = yield"]},"zjit_wbc_leaf":{"removed":[],"added":["def zjit_wbc_leaf(x) = x + 1","let yield_iseq = get_method_iseq(\"self\", \"zjit_wbc_yield\");","let leaf_iseq = get_method_iseq(\"self\", \"zjit_wbc_leaf\");","assert!(super::iseq_may_write_block_code(yield_iseq));","assert!(!super::iseq_may_write_block_code(leaf_iseq));","get_or_create_iseq_payload(yield_iseq);","get_or_create_iseq_payload(leaf_iseq);"]}}}]},{"ref":"ruby/ruby#19678","repo":"ruby/ruby","state":"merged","allocation_work":true,"merged_at":"2026-11-05T01:31:26Z","released_in":null,"files":[{"path":"zjit/src/codegen_tests.rs","methods":{"int_interp":{"removed":[],"added":["def int_interp(i) = \"t#{i}\""]},"mod_interp":{"removed":[],"added":["def mod_interp(m) = \"#{m} Update\""]},"mod_interp2":{"removed":[],"added":["def mod_interp2(m) = \"#{m} Update\""]},"allocations":{"removed":[],"added":["def allocations","allocated = GC.stat(:total_allocated_objects)","GC.stat(:total_allocated_objects) - allocated"]},"calls":{"removed":[],"added":["def calls","[allocations { int_interp(3) }, allocations { mod_interp(ObjToStringFoo) }, allocations { mod_interp2(ObjToStringMod) }],","int_interp(3), int_interp(-12), int_interp(1 << 40), mod_interp(ObjToStringFoo), mod_interp2(ObjToStringMod),","\"##), @r#\"[[1, 1, 1], \"t3\", \"t-12\", \"t1099511627776\", \"ObjToStringFoo Update\", \"ObjToStringMod Update\"]\"#);","fn test_objtostring_anonymous_and_singleton_module() {","assert_snapshot!(inspect(r##\""]},"test":{"removed":[],"added":["def test(m) = \"#{m}\"","test(Class.new); test(Class.new)","test(Class.new).match?(/\\A#<Class:0x\\h+>\\z/),","test(Module.new).match?(/\\A#<Module:0x\\h+>\\z/),","test(Object.new.singleton_class).match?(/\\A#<Class:#<Object:0x\\h+>>\\z/),","\"##), @\"[true, true, true]\");","fn test_objtostring_integer_to_s_redefined_after_compile() {","assert_snapshot!(inspect(r##\"","def test(i) = \"#{i}\"","test(1); test(2)","result = [test(3)]","class Integer; def to_s = \"x\"; end","result << test(3)","\"##), @r#\"[\"3\", \"x\"]\"#);","fn test_objtostring_module_to_s_redefined_after_compile() {","class ObjToStringBar; end","test(ObjToStringBar); test(ObjToStringBar)","result = [test(ObjToStringBar)]","class Module; def to_s = \"mod!\"; end","result << test(ObjToStringBar)","\"##), @r#\"[\"ObjToStringBar\", \"mod!\"]\"#);","fn test_objtostring_refined_to_s() {","// A refined Integer#to_s or Module#to_s is a different method, so interpolation calls it","module ObjToStringRefine","refine(Integer) { def to_s = \"int!\" }","refine(Module) { def to_s = \"mod!\" }","module ObjToStringM; end"]},"plain":{"removed":[],"added":["def plain(x) = \"#{x}\"","using ObjToStringRefine"]},"refined":{"removed":[],"added":["def refined(x) = \"#{x}\"","calls = -> { [refined(7), refined(ObjToStringM), plain(7), plain(ObjToStringM)] }","calls.()","\"##), @r#\"[\"int!\", \"mod!\", \"7\", \"ObjToStringM\"]\"#);"]}}},{"path":"zjit/src/hir/opt_tests.rs","methods":{"test":{"removed":[],"added":["def test(a)","\"#{a}\"","test(1); test(2)","assert_snapshot!(hir_string(\"test\"), @\"","fn test@<compiled>:3:","bb1():","EntryPoint interpreter","v1:BasicObject = LoadSelf","v2:CPtr = LoadSP","v3:BasicObject = LoadField v2, :a@0x1000","Jump bb3(v1, v3)","bb2():","EntryPoint JIT(0)","v6:BasicObject = LoadArg :self@0","v7:BasicObject = LoadArg :a@1","Jump bb3(v6, v7)","bb3(v9:BasicObject, v10:BasicObject):","v14:StringExact[VALUE(0x1008)] = Const Value(VALUE(0x1008))","PatchPoint MethodRedefined(Integer@0x1010, to_s@0x1018, cme:0x1020)","v20:Fixnum = GuardType v10, Fixnum","v21:StringExact = FixnumToString v20","PatchPoint NoEPEscape(test)","v32:StringExact = StringConcat v14, v21","CheckInterrupts","Return v32","fn test_optimize_objtostring_profiled_module() {","eval(r##\"","class ObjToStringModule; end","test(ObjToStringModule); test(ObjToStringModule)","fn test@<compiled>:4:","PatchPoint MethodRedefined(Class@0x1010, to_s@0x1018, cme:0x1020)","v20:ClassSubclass[class_exact*:Class@VALUE(0x1010)] = GuardType v10, ClassSubclass[class_exact*:Class@VALUE(0x1010)]","v21:String|NilClass = CCall v20, :rb_mod_name@0x1048","v22:String = GuardType v21, String recompile","v33:StringExact = StringConcat v14, v22","Return v33","fn test_optimize_objtostring_profiled_module_with_redefined_to_s_falls_back_to_send() {","class ObjToStringCustom; def self.to_s = 'custom'; end","test(ObjToStringCustom); test(ObjToStringCustom)","v18:ClassSubclass[class_exact*:Class@VALUE(0x1010)] = GuardType v10, ClassSubclass[class_exact*:Class@VALUE(0x1010)]","PushInlineFrame :to_s, v18 (0x1048), num_args=0","v46:StringExact[VALUE(0x1068)] = Const Value(VALUE(0x1068))","v47:StringExact = StringCopy v46","PopInlineFrame","v30:StringExact = StringConcat v14, v47","Return v30"]}}}]},{"ref":"ruby/ruby#19682","repo":"ruby/ruby","state":"merged","allocation_work":true,"merged_at":"2026-11-05T01:51:13Z","released_in":null,"files":[{"path":"zjit/src/codegen_tests.rs","methods":{"foo":{"removed":[],"added":["def foo(x) = block_given? ? yield(x) : x","class B < A","def foo(x) = super(x)","B.new.foo(1); B.new.foo(1)","let num_profiles = get_option!(num_profiles);","for _ in 0..num_profiles + 2 {","eval(\"B.new.foo(1) { _1 + 1 }\");","assert_snapshot!(assert_compiles(\"[B.new.foo(1), B.new.foo(1) { _1 + 1 }]\"), @\"[1, 2]\");","fn test_invokesuper_with_own_block_ignores_frame_block() {","set_call_threshold(2);","eval(r#\"","class A"]},"implicit":{"removed":[],"added":["def implicit = block_given?","def implicit = super"]},"block_arg":{"removed":[],"added":["def block_arg = block_given?","def block_arg(&b) = super(&b)"]},"literal_block":{"removed":[],"added":["def literal_block = block_given?","class B < A","def literal_block = super { 1 }","for _ in 0..get_option!(num_profiles) + 2 {","eval(\"b = B.new; b.implicit { 0 }; b.block_arg { 0 }; b.literal_block { 0 }\");","let saw_block = |name: &str| {","let iseq = get_method_iseq(\"B.new\", name);","let payload = get_or_create_iseq_payload(iseq);","let size = unsafe { get_iseq_encoded_size(iseq) } as usize;","assert!((0..size).any(|idx| payload.profile.get_super_method_entry(idx).is_some()), \"{name} was not profiled\");","(0..size).any(|idx| payload.profile.super_saw_block(idx))","assert!(saw_block(\"implicit\"));","assert!(!saw_block(\"block_arg\"));","assert!(!saw_block(\"literal_block\"));"]}}}]},{"ref":"ruby/ruby#19909","repo":"ruby/ruby","state":"merged","allocation_work":true,"merged_at":"2026-11-16T17:20:12Z","released_in":null,"files":[{"path":"zjit/src/codegen_tests.rs","methods":{"test":{"removed":[],"added":["def test(type) = type != :aria && type != :class","test(nil)","test(:data)","test(:aria)","assert_contains_opcode(\"test\", YARVINSN_opt_neq);","// An unprofiled receiver uses the original Send without leaving compiled code.","assert_snapshot!(assert_compiles(\"[test(nil), test(:data), test(:aria), test(:class), test(AlwaysEqual.new)]\"), @\"[true, true, false, false, false]\");","fn test_opt_neq_polymorphic_redefined_neq() {","set_call_threshold(5);","eval(\"","class CustomNeq","def test(a, b) = a != b","test(nil, 1)","test(CustomNeq.new, 1)","assert_snapshot!(assert_compiles_allowing_exits(\"","result = [test(nil, 1), test(CustomNeq.new, 1)]","class NilClass","$obj = IdentityEq.new","test($obj, 1)","test(CustomEq.new, 1)","result = [test($obj, $obj), test(CustomEq.new, 1), test(CustomEq.new, 2)]","class IdentityEq","def ==(other) = false","result << test($obj, $obj)","\"), @\"[false, false, true, true]\");","fn test_opt_neq_polymorphic_refined() {","// BasicObject#!= calls #== without the caller's refinements.","assert_snapshot!(inspect(\"","module NeqRefine","refine(NilClass) { def !=(other) = :refined }","refine(Symbol) { def ==(other) = true }","test(MissingNeq.new, 1)","test(MissingEq.new, 1)","assert_snapshot!(assert_compiles(\"[test(MissingNeq.new, 1), test(MissingEq.new, 1)]\"), @\"[[:!=, [1]], false]\");","fn test_opt_neq_polymorphic_truthiness() {","class EqResult","test(EqResult.new(nil), 1)","test(EqOther.new(0), 1)","test(EqResult.new(false), 1)","test(EqOther.new(true), 1)","assert_snapshot!(assert_compiles(\"","[nil, false, true, 0, :sym, Object.new].flat_map { [test(EqResult.new(it), 1), test(EqOther.new(it), 1)] }","\"), @\"[true, true, true, true, false, false, false, false, false, false, false, false]\");","fn test_opt_neq_polymorphic_basic_object() {","class Bare < BasicObject; end","class BareEq < BasicObject","def ==(other) = :equal","$bare = Bare.new","test($bare, 1)","test(BareEq.new, 1)","assert_snapshot!(assert_compiles(\"[test($bare, $bare), test($bare, 1), test(BareEq.new, 1), test(BasicObject.new, 1)]\"), @\"[false, true, false, true]\");"]},"!=":{"removed":[],"added":["def !=(other) = :custom","def !=(other) = :redefined","result << test(nil, 1) << test(CustomNeq.new, 1)","\"), @\"[true, :custom, :redefined, :custom]\");","fn test_opt_neq_polymorphic_redefined_eq() {","set_call_threshold(5);","eval(\"","class IdentityEq; end","class CustomEq","def ==(other) = other == 1"]},"plain":{"removed":[],"added":["def plain(a, b) = a != b","using NeqRefine"]},"refined":{"removed":[],"added":["def refined(a, b) = a != b","calls = -> { [refined(nil, 1), refined(:a, 1), plain(nil, 1), plain(:a, 1)] }","4.times { calls.() }","calls.()","\"), @\"[:refined, true, true, true]\");","fn test_opt_neq_polymorphic_method_missing() {","set_call_threshold(5);","eval(\"","class MissingNeq","undef_method :!="]},"method_missing":{"removed":[],"added":["def method_missing(name, *args) = [name, args]","class MissingEq","undef_method :=="]},"initialize":{"removed":[],"added":["def initialize(result) = @result = result","def ==(other) = @result","class EqOther < EqResult; end"]}}},{"path":"zjit/src/hir/opt_tests.rs","methods":{"test":{"removed":[],"added":["def test(type) = type != :aria","test(nil)","test(:data)","test(:aria)","assert_snapshot!(hir_string(\"test\"), @\"","fn test@<compiled>:2:","bb1():","EntryPoint interpreter","v1:BasicObject = LoadSelf","v2:CPtr = LoadSP","v3:BasicObject = LoadField v2, :type@0x1000","Jump bb3(v1, v3)","bb2():","EntryPoint JIT(0)","v6:BasicObject = LoadArg :self@0","v7:BasicObject = LoadArg :type@1","Jump bb3(v6, v7)","bb3(v9:BasicObject, v10:BasicObject):","v15:StaticSymbol[:aria] = Const Value(VALUE(0x1008))","CondBranchHasType v10, NilClass, bb6(), bb7()","bb6():","v21:NilClass = RefineType v10, NilClass","PatchPoint MethodRedefined(NilClass@0x1010, !=@0x1018, cme:0x1020)","PushInlineFrame :!=, v21 (0x1048), num_args=1","PatchPoint MethodRedefined(NilClass@0x1010, ==@0x1068, cme:0x1070)","v115:CBool = IsBitEqual v21, v15","v116:BoolExact = BoxBool v115","v65:BoolExact = BoolNegate v116","PatchPoint NoEPEscape(!=)","PopInlineFrame","Jump bb4(v65)","bb7():","CondBranchHasType v10, StaticSymbol, bb8(), bb5()","bb8():","v26:StaticSymbol = RefineType v10, StaticSymbol","PatchPoint MethodRedefined(Symbol@0x1098, !=@0x1018, cme:0x1020)","PushInlineFrame :!=, v26 (0x1048), num_args=1","PatchPoint MethodRedefined(Symbol@0x1098, ==@0x1068, cme:0x10a0)","v120:CBool = IsBitEqual v26, v15","v121:BoolExact = BoxBool v120","v98:BoolExact = BoolNegate v121","Jump bb4(v98)","bb5():","v29:BasicObject = Send v10, :!=, v15 # SendFallbackReason: Send: polymorphic fallback","Jump bb4(v29)","bb4(v18:BasicObject):","CheckInterrupts","Return v18"]}}}]},{"ref":"mperham/connection_pool#225","repo":"mperham/connection_pool","state":"merged","allocation_work":true,"merged_at":"2026-11-03T17:56:35Z","released_in":"3.0.3","files":[{"path":"lib/connection_pool.rb","methods":{"with":{"removed":["Thread.handle_interrupt(Exception => :never) do","Thread.handle_interrupt(Exception => :immediate) do"],"added":["Thread.handle_interrupt(DEFER_INTERRUPTS) do","Thread.handle_interrupt(IMMEDIATE_INTERRUPTS) do"]}}}]},{"ref":"caxlsx/caxlsx#550","repo":"caxlsx/caxlsx","state":"merged","allocation_work":true,"merged_at":"2026-11-03T17:55:11Z","released_in":null,"files":[{"path":"lib/axlsx/workbook/worksheet/cell.rb","methods":{"cell_type_from_value":{"removed":["elsif v.respond_to?(:to_i) && Axlsx::NUMERIC_REGEX.match?(v.to_s)"],"added":["elsif v.is_a?(Integer) || (v.respond_to?(:to_i) && Axlsx::NUMERIC_REGEX.match?(v.to_s))"]}}}]},{"ref":"rmosolgo/graphql-ruby#5880","repo":"rmosolgo/graphql-ruby","state":"merged","allocation_work":true,"merged_at":"2026-11-05T20:39:10Z","released_in":"2.6.15","files":[{"path":"lib/graphql/language/lexer.rb","methods":{"advance":{"removed":["loop do","@scanner.skip(IGNORE_REGEXP)","if @scanner.skip(COMMENT_REGEXP)","@tokens_count += 1","if @tokens_count > @max_tokens","@pos = @scanner.pos","raise_parse_error(\"This query is too large to execute.\")"],"added":["@scanner.skip(IGNORE_REGEXP)","while @scanner.skip(\"#\")","@scanner.skip(COMMENT_BODY_REGEXP)","@tokens_count += 1","if @tokens_count > @max_tokens","@pos = @scanner.pos","raise_parse_error(\"This query is too large to execute.\")"]},"raise_parse_error":{"removed":["COMMENT_REGEXP = /\\#[^\\n\\r]*/"],"added":["COMMENT_BODY_REGEXP = /[^\\n\\r]*/"]}}}]},{"ref":"rmosolgo/graphql-ruby#5908","repo":"rmosolgo/graphql-ruby","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/graphql/schema/warden.rb","methods":{"get_type":{"removed":["@visible_types ||= read_through do |name|"],"added":["@visible_types ||= read_through_by_name do |name|"]},"get_field":{"removed":["read_through do |f_name|"],"added":["read_through_by_name do |f_name|"]},"read_through_by_name":{"removed":[],"added":["def read_through_by_name","Hash.new { |h, k| h[k] = yield(k) }"]}}}]},{"ref":"ruby-i18n/i18n#763","repo":"ruby-i18n/i18n","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/i18n/backend/fallbacks.rb","methods":{"translate":{"removed":["on_fallback(locale, fallback, key, options) if locale.to_s != fallback.to_s"],"added":["on_fallback(locale, fallback, key, options) if locale != fallback && locale.to_s != fallback.to_s"]}}}]},{"ref":"ruby-i18n/i18n#764","repo":"ruby-i18n/i18n","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/i18n/backend/fallbacks.rb","methods":{"extract_non_symbol_default!":{"removed":["defaults = [options[:default]].flatten"],"added":["default = options[:default]","unless default.is_a?(Array)","return if default.is_a?(Symbol)","options[:default] = []","return default","defaults = [default].flatten"]}}}]},{"ref":"ruby-i18n/i18n#765","repo":"ruby-i18n/i18n","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/i18n/backend/fallbacks.rb","methods":{"translate":{"removed":["fallback_options = options.merge(:fallback_in_progress => true, fallback_original_locale: locale)"],"added":["fallback_options = options.dup","fallback_options[:fallback_in_progress] = true","fallback_options[:fallback_original_locale] = locale"]}}}]},{"ref":"ruby-i18n/i18n#766","repo":"ruby-i18n/i18n","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/i18n.rb","methods":{"config":{"removed":["if Fiber.respond_to?(:[])"],"added":["if FIBER_STORAGE || Fiber.respond_to?(:[])"]},"writable_config":{"removed":["if Fiber.respond_to?(:[])"],"added":["if FIBER_STORAGE || Fiber.respond_to?(:[])"]},"config=":{"removed":["if Fiber.respond_to?(:[])"],"added":["if FIBER_STORAGE || Fiber.respond_to?(:[])"]}}}]},{"ref":"rails/propshaft#289","repo":"rails/propshaft","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/propshaft/load_path.rb","methods":{"assets_by_path":{"removed":["logical_path = file.relative_path_from(path)","mapped[logical_path.to_s] ||= Propshaft::Asset.new(file, logical_path: logical_path, load_path: self)"],"added":["prefix = File.join(path, \"\")","logical_path = file.to_s.delete_prefix(prefix)","mapped[logical_path] ||= Propshaft::Asset.new(file, logical_path: logical_path, load_path: self)"]}}}]},{"ref":"MiniProfiler/rack-mini-profiler#670","repo":"MiniProfiler/rack-mini-profiler","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/mini_profiler_rails/railtie.rb","methods":{"initialize!":{"removed":[],"added":["next if !should_measure?"]}}}]},{"ref":"rack/rack#2550","repo":"rack/rack","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/rack/utils.rb","methods":{"set_cookie_header":{"removed":["value = [value] unless Array === value","return \"#{key}=#{value.map { |v| escape v }.join('&')}#{domain}\" \\"],"added":["escaped = Array === value ? value.map { |v| escape v }.join('&') : escape(value)","return \"#{key}=#{escaped}#{domain}\" \\"]}}}]},{"ref":"rack/rack#2557","repo":"rack/rack","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/rack/query_parser.rb","methods":{"unescape":{"removed":["URI.decode_www_form_component(string, encoding)"],"added":["return URI.decode_www_form_component(string, encoding) unless string.instance_of?(String) && string.encoding.ascii_compatible?","raise ArgumentError, \"invalid %-encoding (#{string})\" if /%(?!\\h\\h)/.match?(string)","CGI.unescape(string, Encoding::BINARY).force_encoding(encoding)"]}}},{"path":"lib/rack/utils.rb","methods":{"escape":{"removed":["URI.encode_www_form_component(s)"],"added":["return URI.encode_www_form_component(s) unless s.instance_of?(String) && s.encoding.ascii_compatible?","escaped = CGI.escape(s).force_encoding(Encoding::US_ASCII)","escaped.gsub!(\"%2A\", \"*\")","escaped.gsub!(\"~\", \"%7E\")","escaped"]},"unescape":{"removed":["URI.decode_www_form_component(s, encoding)"],"added":["return URI.decode_www_form_component(s, encoding) unless s.instance_of?(String) && s.encoding.ascii_compatible?","raise ArgumentError, \"invalid %-encoding (#{s})\" if /%(?!\\h\\h)/.match?(s)","CGI.unescape(s, Encoding::BINARY).force_encoding(encoding)"]},"best_q_match":{"removed":["require 'cgi/escape'"],"added":[]}}}]},{"ref":"sparklemotion/nokogiri#3759","repo":"sparklemotion/nokogiri","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/nokogiri/xml/document_fragment.rb","methods":{"css":{"removed":["if children.any?","children.css(*args) # 'children' is a smell here"],"added":["nodes = children # 'children' is a smell here","if nodes.any?","nodes.css(*args)"]}}}]},{"ref":"ruby/ruby#19659","repo":"ruby/ruby","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"zjit/src/codegen_tests.rs","methods":{"test":{"removed":["test { 1 }"],"added":["def test = [one_param, no_params, trailing_comma, two_params, one_no_params]","assert_snapshot!(assert_compiles(\"test\"), @\"[[1, 2], :none, [1, 2], [[1, 2], 3], :none]\");","fn test_yield_surplus_args_block_side_exit_keeps_caller_stack() {","// The Float makes the block side-exit, so the interpreter returns to the caller's saved SP.","set_call_threshold(2);","eval(\"","def test(x) = foo(x) { |a| a + 1 }","test(1); test(1); test(1)","assert_snapshot!(assert_compiles_allowing_exits(\"test(1.5)\"), @\"2.5\");","fn test_yield_evaluates_dropped_args() {","def test","log = []","[foo(log) { |a| a.size }, foo(log) { log.size }, log]","assert_snapshot!(assert_compiles(\"test\"), @\"[2, 4, [:first, :dropped, :first, :dropped]]\");","fn test_integer_times_without_block_param() {","3.times { n += 1 }","assert_snapshot!(assert_compiles(\"test\"), @\"3\");","fn test_yield_surplus_args_to_lambda_raises() {","foo(&->(a) { a })","rescue ArgumentError => e","e.message","assert_snapshot!(assert_compiles_allowing_exits(\"test\"), @r#\"\"wrong number of arguments (given 2, expected 1)\"\"#);"]},"with_block":{"removed":["assert_snapshot!(assert_compiles(\"test { 1 }\"), @\"1\");","test { 1 }","assert_snapshot!(assert_compiles(\"test { 2 }\"), @\"2\");"],"added":["def with_block = test { 1 }","with_block","assert_snapshot!(assert_compiles(\"with_block\"), @\"1\");","def with_block(n) = test { n }","with_block(1)","assert_snapshot!(assert_compiles(\"with_block(2)\"), @\"2\");"]},"foo":{"removed":[],"added":["def foo = yield([1, 2], 3)","def foo(x) = yield(x, 2)","def foo(log) = yield(log << :first, log << :dropped)","def foo = yield(1, 2)"]},"one_param":{"removed":[],"added":["def one_param = foo { |a| a }"]},"no_params":{"removed":[],"added":["def no_params = foo { :none }"]},"trailing_comma":{"removed":[],"added":["def trailing_comma = foo { |a,| a }"]},"two_params":{"removed":[],"added":["def two_params = foo { |a, b| [a, b] }"]},"one":{"removed":[],"added":["def one = yield 1"]},"one_no_params":{"removed":[],"added":["def one_no_params = one { :none }"]},"test_yield":{"removed":["test_yield; test_yield"],"added":[]},"via_yield_trailing":{"removed":[],"added":["def via_yield_trailing = yield([3, 4])"]},"test_trailing_comma":{"removed":["assert_snapshot!(assert_compiles_allowing_exits(\"test_yield\"), @\"7\");"],"added":["def test_trailing_comma = via_yield_trailing { |a,| a }","test_yield; test_yield; test_trailing_comma; test_trailing_comma","assert_snapshot!(assert_compiles_allowing_exits(\"[test_yield, test_trailing_comma]\"), @\"[7, 3]\");"]}}},{"path":"zjit/src/hir/opt_tests.rs","methods":{"foo":{"removed":[],"added":["def foo = yield 1","def foo = yield(1, 2)","def foo = yield [1, 2]"]},"test":{"removed":[],"added":["def test = foo { 4 }","assert_eq!(VALUE::fixnum_from_usize(4), result);","assert_snapshot!(hir_string(\"test\"), @\"","fn test@<compiled>:3:","bb1():","EntryPoint interpreter","v1:BasicObject = LoadSelf","Jump bb3(v1)","bb2():","EntryPoint JIT(0)","v4:BasicObject = LoadArg :self@0","Jump bb3(v4)","bb3(v6:BasicObject):","PatchPoint MethodRedefined(Object@0x1000, foo@0x1008, cme:0x1010)","v18:ObjectSubclass[class_exact*:Object@VALUE(0x1000)] = GuardType v6, ObjectSubclass[class_exact*:Object@VALUE(0x1000)] recompile","PushInlineFrame :foo, v18 (0x1038), num_args=0, block=0x1058","v25:Fixnum[1] = Const Value(1)","v27:CPtr = GetEP 0","v28:CInt64 = LoadField v27, :VM_ENV_DATA_INDEX_SPECVAL@0x1078","v29:CInt64[-4] = Const CInt64(-4)","v30:CInt64 = IntAnd v28, v29","v32:BasicObject = InvokeBlockIseqDirect (0x1058), v30","PopInlineFrame","CheckInterrupts","Return v32","fn test_yield_surplus_args_dispatches_directly() {","eval(\"","def test = foo { |a| a }","assert_snapshot!(hir_string(\"foo\"), @\"","fn foo@<compiled>:2:","v10:Fixnum[1] = Const Value(1)","v12:Fixnum[2] = Const Value(2)","v14:CPtr = GetEP 0","v15:CInt64 = LoadField v14, :VM_ENV_DATA_INDEX_SPECVAL@0x1000","v16:CInt64[3] = Const CInt64(3)","v17:CInt64 = IntAnd v15, v16","v18:CInt64[1] = GuardBitEquals v17, CInt64(1) recompile","v19:CInt64[-4] = Const CInt64(-4)","v20:CInt64 = IntAnd v15, v19","v21:Iseq = LoadField v20, :code_iseq@0x1001","v22:Iseq[VALUE(0x1008)] = GuardBitEquals v21, Value(VALUE(0x1008)) recompile","v24:BasicObject = InvokeBlockIseqDirect (0x1008), v20, v10","Return v24","fn test_yield_polymorphic_blocks_with_fewer_params_dispatch_directly() {","def test = 3.times { }","let hir = hir_string_proc(\"3.method(:times)\");","assert!(hir.contains(\"InvokeBlockIseqDirect\"), \"{hir}\");","assert!(!hir.contains(\"SendFallbackReason: InvokeBlock\"), \"{hir}\");","fn test_yield_single_arg_to_multiple_params_falls_back() {"]},"no_params":{"removed":[],"added":["def no_params = foo { 0 }"]},"one_param":{"removed":[],"added":["def one_param = foo { |a| a }","no_params; one_param","assert_snapshot!(hir_string(\"foo\"), @\"","fn foo@<compiled>:2:","bb1():","EntryPoint interpreter","v1:BasicObject = LoadSelf","Jump bb3(v1)","bb2():","EntryPoint JIT(0)","v4:BasicObject = LoadArg :self@0","Jump bb3(v4)","bb3(v6:BasicObject):","v10:Fixnum[1] = Const Value(1)","v12:Fixnum[2] = Const Value(2)","v14:CPtr = GetEP 0","v15:CInt64 = LoadField v14, :VM_ENV_DATA_INDEX_SPECVAL@0x1000","v16:CInt64[3] = Const CInt64(3)","v17:CInt64 = IntAnd v15, v16","v19:CInt64[1] = Const CInt64(1)","v20:CBool = IsBitEqual v17, v19","CondBranch v20, bb5(), bb6()","bb5():","v22:CInt64[-4] = Const CInt64(-4)","v23:CInt64 = IntAnd v15, v22","v24:Iseq = LoadField v23, :code_iseq@0x1001","v25:Iseq[VALUE(0x1008)] = Const Value(VALUE(0x1008))","v26:CBool = IsBitEqual v24, v25","CondBranch v26, bb7(), bb8()","bb7():","v29:BasicObject = InvokeBlockIseqDirect (0x1008), v23, v10","Jump bb4(v29)","bb8():","v31:Iseq[VALUE(0x1010)] = Const Value(VALUE(0x1010))","v32:CBool = IsBitEqual v24, v31","CondBranch v32, bb9(), bb10()","bb9():","v35:BasicObject = InvokeBlockIseqDirect (0x1010), v23","Jump bb4(v35)","bb10():","Jump bb6()","bb6():","v38:CInt64[3] = Const CInt64(3)","v39:CBool = IsBitEqual v17, v38","CondBranch v39, bb12(), bb13()","bb12():","v42:BasicObject = InvokeBlockIfunc v15, v10, v12","Jump bb11(v42)","bb13():","v44:BasicObject = InvokeBlock v10, v12 # SendFallbackReason: InvokeBlock: polymorphic dispatch miss","Jump bb11(v44)","bb11(v40:BasicObject):","Jump bb4(v40)","bb4(v18:BasicObject):","CheckInterrupts","Return v18","fn test_integer_times_without_block_param_invokes_block_directly() {","// Integer#times does `yield i`.","eval(\""]},"two_params":{"removed":[],"added":["def two_params = foo { |a, b| a }"]},"trailing_comma":{"removed":[],"added":["def trailing_comma = foo { |a,| a }","two_params; trailing_comma","let hir = hir_string(\"foo\");","assert!(!hir.contains(\"InvokeBlockIseqDirect\"), \"{hir}\");","assert!(hir.contains(\"SendFallbackReason: InvokeBlock: not yet specialized\"), \"{hir}\");"]}}}]},{"ref":"ruby/ruby#19912","repo":"ruby/ruby","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"zjit/src/codegen_tests.rs","methods":{"foo":{"removed":[],"added":["def foo = yield 3","def foo = block_given? ? yield(3) : :none","def foo = yield 0","module Refined","using Doubling","test = -> { [(foo(&:double) rescue $!.class), ([3].flat_map(&:double) rescue $!.class), ([3].sum(&:double) rescue $!.class)] }","before = [test.(), test.()].last","[before, test.()]","\"), @\"[[NoMethodError, NoMethodError, NoMethodError], [6, [6], 6]]\");","fn test_send_symbol_block_arg_to_proc_redefined_with_itself_keeps_proc_identity() {","assert_snapshot!(inspect(\"","SYMS = 200.times.map { |i| :\\\"evict_#{i}\\\" }","def foo(&blk) = [block_given?, blk.lambda?, blk.arity, blk.call(3)]"]},"test":{"removed":[],"added":["def test = foo(&:succ)","\"), @\"4\");","fn test_send_symbol_block_arg_to_cfunc() {","assert_snapshot!(inspect(\"","def test(array) = [array.reject(&:odd?), array.sum(&:succ)]","test([1, 2, 3])","\"), @\"[[2], 9]\");","fn test_send_symbol_block_arg_side_exit() {","assert_snapshot!(inspect(r#\"","class Integer","def test(blk) = foo(&blk)","test(:succ)","[test(:succ), test(nil), test(proc { |x| x * 2 }), test(\"dynamic_#{$$}\".to_sym), test(:pred)]","\"#), @\"[4, :none, 6, -3, 2]\");","fn test_send_symbol_block_arg_to_proc_redefined_after_compile() {","[test, test, test]","\"), @\"[11, 21, 31]\");","fn test_send_symbol_block_arg_to_proc_redefined_with_itself() {","module Doubling","refine(Integer) { def double = self * 2 }","def test = [(Refined.iseq rescue $!.class), (Refined.cfunc.call(3) rescue $!.class), (Refined.variadic_cfunc.call(3) rescue $!.class)]","before = [test, test].last","Symbol.define_method(:to_proc, Symbol.instance_method(:to_proc))","[before, test]","\"), @\"[[6, 6, 6], [NoMethodError, NoMethodError, NoMethodError]]\");","fn test_send_symbol_block_arg_guard_precedes_to_proc() {","redefine = Object.new","def test(expected) = materialize(expected, &:succ)","test(:succ.to_proc)","\"), @\"true\");","fn test_send_symbol_block_arg_block_param() {","\"), @\"[true, true, -2, 4]\");","fn test_send_symbol_block_arg_errors() {","class Foo"]},"method_missing":{"removed":[],"added":["def method_missing(name, *) = name.start_with?(\"dynamic_\") ? -self : super"]},"iseq":{"removed":[],"added":["def iseq = foo(&:succ)","def self.iseq = foo(&:double)"]},"cfunc":{"removed":[],"added":["def cfunc = [3].flat_map(&:succ)","def self.cfunc = proc(&:double)","def self.cfunc = [[3].flat_map(&:double), [3].sum(&:double)]"]},"variadic_cfunc":{"removed":[],"added":["def variadic_cfunc = [3].sum(&:succ)","iseq; iseq","cfunc; cfunc","variadic_cfunc; variadic_cfunc","class Symbol","def self.variadic_cfunc = Proc.new(&:double)"]},"to_proc":{"removed":[],"added":["def to_proc","Object.class_eval 'def foo = yield 30'","proc { |x| x * 10 }","[iseq, cfunc, variadic_cfunc]","\"), @\"[300, [30], 30]\");","fn test_send_symbol_block_arg_to_proc_redefined_before_compile() {","assert_snapshot!(inspect(\"","$calls = 0","class Symbol","$calls += 1","Object.class_eval \\\"def foo = yield #{$calls * 10}\\\"","proc { |x| x + 1 }"]},"redefine.to_proc":{"removed":[],"added":["def redefine.to_proc","Object.class_eval 'def foo = yield 30'","proc { |x| x + 1 }","test(:succ)","test(redefine)","\"), @\"31\");","fn test_send_symbol_block_arg_with_refinements() {","assert_snapshot!(inspect(\"","module Doubling","refine(Integer) do"]},"double":{"removed":[],"added":["def double = self * 2"]},"ten":{"removed":[],"added":["def ten = self + 10"]},"twenty":{"removed":[],"added":["def twenty = self + 20"]},"thirty":{"removed":[],"added":["def thirty = self + 30"]},"uncached":{"removed":[],"added":["def self.uncached(a, b, c) = [foo(&a), [3].flat_map(&b), [3].sum(&c)]"]},"inlined":{"removed":[],"added":["def inlined = Refined.iseq"]},"unrefined":{"removed":[],"added":["def unrefined = foo(&:double)"]},"error":{"removed":[],"added":["def error = yield.class","Refined.iseq","Refined.cfunc","Refined.uncached(:double, :double, :double)","inlined","unrefined rescue nil","GC.stress = true","result = [Refined.iseq, Refined.cfunc, Refined.uncached(:ten, :twenty, :thirty), inlined]","GC.stress = false","result << error { unrefined rescue $! }","\"), @\"[6, [[6], 6], [13, [23], 33], 6, NoMethodError]\");","fn test_send_symbol_block_arg_with_refinements_activated_after_compile() {","assert_snapshot!(inspect(\"","module Doubling","refine(Integer) { def double = self * 2 }"]},"materialize":{"removed":[],"added":["def materialize(expected, &b)","SYMS.each(&:to_proc)","b.equal?(expected)"]},"boom":{"removed":[],"added":["def boom = raise('boom')","private def secret = 1"]},"none":{"removed":[],"added":["def none = yield"]},"one":{"removed":[],"added":["def one(x) = yield(x)"]},"no_receiver":{"removed":[],"added":["def no_receiver = none(&:succ)"]},"private_call":{"removed":[],"added":["def private_call(x) = one(x, &:secret)"]},"raising":{"removed":[],"added":["def raising(x) = one(x, &:boom)"]},"message":{"removed":[],"added":["def message","rescue => e","[e.class, e.message[/\\\\A[\\\\w ]+/], e.backtrace_locations.first(3).map(&:base_label)]","foo = Foo.new","2.times { message { no_receiver }; message { private_call(foo) }; message { raising(foo) } }","[message { no_receiver }, message { private_call(foo) }, message { raising(foo) }]","\"), @r#\"[[ArgumentError, \"no receiver given\", [\"none\", \"no_receiver\", \"<compiled>\"]], [NoMethodError, \"private method \", [\"one\", \"private_call\", \"<compiled>\"]], [RuntimeError, \"boom\", [\"boom\", \"one\", \"raising\"]]]\"#);"]}}},{"path":"zjit/src/hir/opt_tests.rs","methods":{"foo":{"removed":["def foo = 42"],"added":["def foo = yield(42)"]},"to_proc":{"removed":[],"added":["def to_proc = proc { |value| value }"]},"test":{"removed":[],"added":["def test(block)","foo(&block)","block = BlockargToProc.new","test(block); test(block)","assert_snapshot!(hir_string(\"test\"), @\"","fn test@<compiled>:9:","bb1():","EntryPoint interpreter","v1:BasicObject = LoadSelf","v2:CPtr = LoadSP","v3:BasicObject = LoadField v2, :block@0x1000","Jump bb3(v1, v3)","bb2():","EntryPoint JIT(0)","v6:BasicObject = LoadArg :self@0","v7:BasicObject = LoadArg :block@1","Jump bb3(v6, v7)","bb3(v9:BasicObject, v10:BasicObject):","v16:BasicObject = Send v9, &block, :foo, v10 # SendFallbackReason: Send: block argument is not nil","PatchPoint NoEPEscape(test)","CheckInterrupts","Return v16","fn test_send_with_profiled_symbol_block_arg() {","eval(\"","def test(block) = foo(&block)","test(:to_s); test(:to_s)","fn test@<compiled>:3:","v24:StaticSymbol = GuardType v10, StaticSymbol recompile","PatchPoint RootBoxOnly","PatchPoint MethodRedefined(Symbol@0x1008, to_proc@0x1010, cme:0x1018)","v28:CallableMethodEntry[VALUE(0x1018)] = Const Value(VALUE(0x1018))","v29:CUInt64 = LoadField v28, :RBASIC_FLAGS@0x1040","v30:CUInt64 = GuardAnyBitSet v29, METHOD_ENTRY_BASIC_FLAG=CUInt64(524288) recompile","v31:CPtr = GetCref","v32:RubyValue = LoadField v31, :refinements@0x1041","v33:NilClass = GuardBitEquals v32, Value(nil) recompile","PatchPoint MethodRedefined(Object@0x1048, foo@0x1050, cme:0x1058)","v35:ObjectSubclass[class_exact*:Object@VALUE(0x1048)] = GuardType v9, ObjectSubclass[class_exact*:Object@VALUE(0x1048)] recompile","v36:BasicObject = SendDirect v35, &v24, :foo (0x1080)","Return v36","fn test_send_with_dynamic_symbol_block_arg_falls_back() {","eval(r#\"","block = \"dynamic_block_arg\".to_sym","2.times { test(block) rescue nil }","fn test_send_to_cfunc_with_symbol_block_arg() {","def test(array) = array.reject(&:odd?)","test([1, 2]); test([1, 2])","fn test@<compiled>:2:","v3:BasicObject = LoadField v2, :array@0x1000","v7:BasicObject = LoadArg :array@1","v15:StaticSymbol[:odd?] = Const Value(VALUE(0x1008))","PatchPoint NoSingletonClass(Array@0x1010)","PatchPoint MethodRedefined(Symbol@0x1018, to_proc@0x1020, cme:0x1028)","v29:CallableMethodEntry[VALUE(0x1028)] = Const Value(VALUE(0x1028))","v30:CUInt64 = LoadField v29, :RBASIC_FLAGS@0x1050","v31:CUInt64 = GuardAnyBitSet v30, METHOD_ENTRY_BASIC_FLAG=CUInt64(524288) recompile","v32:CPtr = GetCref","v33:RubyValue = LoadField v32, :refinements@0x1051","v34:NilClass = GuardBitEquals v33, Value(nil) recompile","PatchPoint MethodRedefined(Array@0x1010, reject@0x1052, cme:0x1058)","v37:ArrayExact = GuardType v10, ArrayExact recompile","v38:BasicObject = CCallWithFrame v37, :Array#reject@0x1080, block=&v15","Return v38","fn test_send_to_cfunc_with_symbol_block_arg_and_splat_falls_back() {","def test(array, args, block) = array.each_slice(*args, &block)","test([1, 2], [1], :sum); test([1, 2], [1], :sum)","v4:BasicObject = LoadField v2, :args@0x1001","v5:BasicObject = LoadField v2, :block@0x1002","Jump bb3(v1, v3, v4, v5)","v8:BasicObject = LoadArg :self@0","v9:BasicObject = LoadArg :array@1","v10:BasicObject = LoadArg :args@2","v11:BasicObject = LoadArg :block@3","Jump bb3(v8, v9, v10, v11)","bb3(v13:BasicObject, v14:BasicObject, v15:BasicObject, v16:BasicObject):","v22:ArrayExact = ToArray v15","v27:BasicObject = Send v14, &block, :each_slice, v22, v16 # SendFallbackReason: Complex argument passing","Return v27","fn test_send_to_variadic_cfunc_with_symbol_block_arg() {","def test(array) = array.sum(&:succ)","v15:StaticSymbol[:succ] = Const Value(VALUE(0x1008))","PatchPoint MethodRedefined(Array@0x1010, sum@0x1052, cme:0x1058)","v38:BasicObject = CCallVariadic v37, :Array#sum@0x1080, block=&v15"]}}}]},{"ref":"ruby/ruby-bench#571","repo":"ruby/ruby-bench","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"benchmarks/lobsters/benchmark.rb","methods":{"Time.now":{"removed":["process_start_t = Time.now","ActiveSupport::Notifications.subscribe \"sql.active_record\" do |name, started, finished, unique_id, data|","process_duration = Time.now - process_start_t"],"added":["def Time.now = $clock_frozen ? FROZEN_NOW.dup : REAL_NOW.call","$clock_frozen = true","require_relative 'config/environment'","require_relative \"route_generator\"","mem_db = ActiveRecord::Base.connection.raw_connection","file_db = SQLite3::Database.new('db/production.sqlite3')","b = SQLite3::Backup.new(mem_db, 'main', file_db, 'main')","b.step(-1) # import until finished","b.finish # destroy the Backup object","mem_db.execute(\"ANALYZE\")","app = Rails.application","generator = RouteGenerator.new(app)","generator.routes # Make sure routes have been pregenerated","ensure","$clock_frozen = false","process_start_t = Process.clock_gettime(Process::CLOCK_MONOTONIC)","ActiveSupport::Notifications.monotonic_subscribe \"sql.active_record\" do |name, started, finished, unique_id, data|","process_duration = Process.clock_gettime(Process::CLOCK_MONOTONIC) - process_start_t"]}}}]},{"ref":"ruby/ruby-bench#579","repo":"ruby/ruby-bench","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"harness/callgrind.rb","methods":{"run_benchmark":{"removed":["Valgrind.callgrind_start_instrumentation","Valgrind.callgrind_dump_stats(benchmark_name)","puts \"Callgrind stats dumped for #{benchmark_name} (output controlled by --callgrind-out-file).\""],"added":["name = benchmark_name","Valgrind.callgrind_start_instrumentation","Valgrind.callgrind_dump_stats(name)","Valgrind.callgrind_zero_stats","puts \"Callgrind stats dumped for #{name} (output controlled by --callgrind-out-file).\""]}}}]},{"ref":"#59661","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"actionpack/lib/action_dispatch/http/parameters.rb","methods":{"parameter_parsers=":{"removed":["@parameter_parsers = parsers.transform_keys { |key| key.respond_to?(:symbol) ? key.symbol : key }.freeze"],"added":["parsers = parsers.transform_keys { |key| key.respond_to?(:symbol) ? key.symbol : key }","@parameter_parsers = @parameter_parsers.frozen? ? parsers.freeze : parsers"]}}}]},{"ref":"#59662","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"activemodel/lib/active_model/attribute.rb","methods":{"freezable?":{"removed":[],"added":["!type.respond_to?(:freezable_default?) || type.freezable_default?(value_before_type_cast)"]}}},{"path":"activemodel/lib/active_model/type/helpers/mutable.rb","methods":{"freezable_default?":{"removed":[],"added":["def freezable_default?(value)","value.nil?"]}}},{"path":"activerecord/lib/active_record/encryption/encrypted_attribute_type.rb","methods":{"freezable_default?":{"removed":[],"added":["def freezable_default?(value) # :nodoc:","!cast_type.respond_to?(:freezable_default?) || cast_type.freezable_default?(value)"]}}},{"path":"activerecord/lib/active_record/type/serialized.rb","methods":{"freezable_default?":{"removed":[],"added":["def freezable_default?(value)"]}}}]},{"ref":"#59800","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"activemodel/lib/active_model/attribute_set.rb","methods":{"keys":{"removed":["keys = row_keys | @ctx.type_keys","keys.keep_if do |name|"],"added":["row_keys.keep_if do |name|"]},"materialize":{"removed":["@ctx.type_keys.each { |key| self[key] }"],"added":[]}}},{"path":"activemodel/lib/active_model/attribute_set/builder.rb","methods":{"initialize":{"removed":["@type_keys = types.keys.freeze","attr_reader :type_keys","@type_keys = type_table.type_keys"],"added":[]}}}]},{"ref":"#59804","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"actionview/lib/action_view/helpers/form_tag_helper.rb","methods":{"text_field_tag":{"removed":["tag :input, { \"type\" => \"text\", \"name\" => name, \"id\" => sanitize_to_id(name), \"value\" => value }.update(options.stringify_keys)"],"added":["options = options.stringify_keys","tag :input, { \"type\" => \"text\", \"name\" => name, \"id\" => (sanitize_to_id(name) unless options.key?(\"id\")), \"value\" => value }.update(options)"]},"sanitize_to_id":{"removed":["name.to_s.delete(\"]\").tr(\"^-a-zA-Z0-9:.\", \"_\")"],"added":["id = name.to_s.delete(\"]\")","id.tr!(\"^-a-zA-Z0-9:.\", \"_\")"]}}},{"path":"actionview/lib/action_view/helpers/tag_helper.rb","methods":{"tag":{"removed":["\"<#{name}#{tag_builder.tag_options(options, escape) if options}#{open ? \">\" : \" />\"}\".html_safe"],"added":["\"<#{name}#{tag_builder.tag_options(options, escape) if options}#{open ? \">\" : \" />\"}\".freeze.html_safe"]}}}]},{"ref":"#59832","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"activemodel/lib/active_model/errors.rb","methods":{"messages_for":{"removed":[],"added":["return [] if @errors.empty?"]}}}]},{"ref":"#59824","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"actionview/lib/action_view/helpers/form_tag_helper.rb","methods":{"field_id":{"removed":["sanitized_object_name = object_name.to_s.gsub(/\\]\\[|[^-a-zA-Z0-9:.]/, \"_\").delete_suffix(\"_\")","sanitized_method_name = method_name.to_s.delete_suffix(\"?\")"],"added":["sanitized_object_name = object_name.to_s","sanitized_object_name = sanitized_object_name.gsub(/\\]\\[|[^-a-zA-Z0-9:.]/, \"_\") if sanitized_object_name.match?(/[^-a-zA-Z0-9:._]/)","sanitized_object_name = sanitized_object_name.delete_suffix(\"_\") if sanitized_object_name.end_with?(\"_\")","sanitized_method_name = method_name.to_s","sanitized_method_name = sanitized_method_name.delete_suffix(\"?\") if sanitized_method_name.end_with?(\"?\")"]},"field_name":{"removed":["names = method_names.map! { |name| \"[#{name}]\" }.join"],"added":["names = method_names.empty? ? \"\" : method_names.map! { |name| \"[#{name}]\" }.join"]}}},{"path":"actionview/lib/action_view/helpers/tags/base.rb","methods":{"sanitized_method_name":{"removed":["@sanitized_method_name ||= @method_name.delete_suffix(\"?\")"],"added":["@sanitized_method_name ||= @method_name.end_with?(\"?\") ? @method_name.delete_suffix(\"?\") : @method_name"]}}}]},{"ref":"#59565","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb","methods":{"has_default_function?":{"removed":[],"added":["SYNTAX_ERROR = \"42601\""]},"translate_exception":{"removed":[],"added":["when SYNTAX_ERROR","hint = bind_parameter_syntax_hint(exception, sql)","super(exception, message: hint ? \"#{message.chomp}\\n#{hint}\\n\" : message, sql: sql, binds: binds)","BIND_PARAMETER_KEYWORD = /(?<![\\w.$\"])(DATE|TIME|TIMESTAMPTZ|TIMESTAMP(?:\\s+WITH(?:OUT)?\\s+TIME\\s+ZONE)?|INTERVAL|JSONB|IS(?:\\s+NOT)?)\\s+\\z/i","private_constant :BIND_PARAMETER_KEYWORD"]},"bind_parameter_syntax_hint":{"removed":[],"added":["def bind_parameter_syntax_hint(exception, sql)","param = exception.message[/syntax error at or near \"(\\$\\d+)\"/, 1]","position = exception.result.error_field(PG::PG_DIAG_STATEMENT_POSITION).to_i","return unless param && position > 0 && sql.is_a?(String) && sql[position - 1, param.size] == param","before = sql[0, position - 1]","return unless (match = BIND_PARAMETER_KEYWORD.match(before))","return if before[(before.rindex(\"\\n\", match.begin(1)) || -1) + 1...match.begin(1)].include?(\"--\")","keyword = match[1].downcase.gsub(/\\s+/, \" \")","if keyword.start_with?(\"is\")","\"Hint: #{keyword.upcase} takes only NULL, TRUE, FALSE or UNKNOWN, not #{param}. Write the literal, \" \\","\"compare with IS #{\"NOT \" unless keyword == \"is not\"}DISTINCT FROM #{param}, or interpolate the value with sanitize_sql_array.\"","\"Hint: #{param} cannot follow #{keyword} as a typed literal. Cast it instead, as in \" \\","\"CAST(#{param} AS #{keyword}) or #{param}::#{keyword}, or interpolate the value with sanitize_sql_array.\""]}}}]},{"ref":"#59569","repo":"rails/rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"activerecord/lib/active_record/associations/association_scope.rb","methods":{"scope":{"removed":["chain = get_chain(reflection, association, scope.alias_tracker, routes)"],"added":["chain = get_chain(reflection, association, scope, routes)"]},"get_chain":{"removed":["def get_chain(reflection, association, tracker, routes)"],"added":["def get_chain(reflection, association, scope, routes)","tracker = nil","tracker ||= scope.alias_tracker"]}}},{"path":"activerecord/lib/active_record/associations/disable_joins_association_scope.rb","methods":{"scope":{"removed":["reverse_chain = get_chain(source_reflection, association, unscoped.alias_tracker, routes).reverse"],"added":["reverse_chain = get_chain(source_reflection, association, unscoped, routes).reverse"]}}}]},{"ref":"rails/importmap-rails#336","repo":"rails/importmap-rails","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"app/helpers/importmap/importmap_tags_helper.rb","methods":{"javascript_importmap_module_preload_tags":{"removed":["packages = importmap.preloaded_module_packages(resolver: self, entry_point:, cache_key: entry_point)","_generate_preload_tags(packages) { |path, package| [path, { integrity: package.integrity }] }"],"added":["nonce = request&.content_security_policy_nonce","if nonce","_generate_module_preload_tags(importmap, entry_point, nonce)","importmap.cache_as(\"module_preload_tags:#{entry_point}\") { _generate_module_preload_tags(importmap, entry_point, nil) }.dup"]},"javascript_module_preload_tag":{"removed":["_generate_preload_tags(paths) { |path| [path, {}] }"],"added":["_generate_preload_tags(paths) do |path, nonce|","tag.link rel: \"modulepreload\", href: path, nonce: nonce"]},"_generate_preload_tags":{"removed":["def _generate_preload_tags(items)","content_security_policy_nonce = request&.content_security_policy_nonce","path, options = yield(item)","tag.link rel: \"modulepreload\", href: path, nonce: content_security_policy_nonce, **options"],"added":["def _generate_preload_tags(items, nonce = request&.content_security_policy_nonce)","yield(item, nonce)"]},"_generate_module_preload_tags":{"removed":[],"added":["def _generate_module_preload_tags(importmap, entry_point, nonce)","packages = importmap.preloaded_module_packages(resolver: self, entry_point:, cache_key: entry_point)","_generate_preload_tags(packages, nonce) do |(path, package), nonce|","integrity = package.integrity","tag.link rel: \"modulepreload\", href: path, nonce: nonce, integrity: integrity"]}}},{"path":"lib/importmap/map.rb","methods":{"cache_as":{"removed":["def cache_as(name)","if result = cache[name.to_s]","result","cache[name.to_s] = yield"],"added":["def cache_as(name) # :nodoc:","if result = cache[name.to_s]","result","cache[name.to_s] = yield"]}}}]},{"ref":"tzinfo/tzinfo#171","repo":"tzinfo/tzinfo","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/tzinfo/data_sources/zoneinfo_reader.rb","methods":{"make_signed_int64":{"removed":["def make_signed_int64(high, low)","unsigned = (high << 32) | low","unsigned >= 0x8000000000000000 ? unsigned - 0x10000000000000000 : unsigned"],"added":[]},"parse":{"removed":["high, low = check_read(file, 8).unpack('NN'.freeze)","transition_time = make_signed_int64(high, low)"],"added":["transition_time = check_read(file, 8).unpack('q>'.freeze)[0]"]}}}]},{"ref":"tzinfo/tzinfo#175","repo":"tzinfo/tzinfo","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/tzinfo/timezone_transition.rb","methods":{"local_start_at":{"removed":[],"added":["return true if equal?(tti)"]}}}]},{"ref":"rubocop/rubocop-performance#550","repo":"rubocop/rubocop-performance","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"docs/modules/ROOT/pages/cops_performance.adoc","methods":{"uniq":{"removed":[],"added":["def uniq","@unique = super","values = RetainingArray.new([1, 1, 2])","values.uniq.map { |n| n * 2 }","values.unique # => [1, 2]","values.uniq.map! { |n| n * 2 }","values.unique # => [2, 4]"]}}}]},{"ref":"basecamp/once-campfire#352","repo":"basecamp/once-campfire","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"app/helpers/content_filters/remove_solo_unfurled_link_text.rb","methods":{"applicable?":{"removed":["normalize_tweet_url(solo_unfurled_url) == normalize_tweet_url(content.to_plain_text)"],"added":["if url = solo_unfurled_url","normalize_tweet_url(url) == normalize_tweet_url(content.to_plain_text)"]}}},{"path":"app/helpers/content_filters/sanitize_tags.rb","methods":{"apply":{"removed":["fragment.replace(not_allowed_tags_css_selector) { nil }","private"],"added":[]},"not_allowed_tags_css_selector":{"removed":["def not_allowed_tags_css_selector","ALLOWED_TAGS.map { |tag| \":not(#{tag})\" }.join(\"\")"],"added":["fragment.update do |source|","source.xpath(\".//*\").each do |node|","node.remove unless ALLOWED_TAG_NAMES.include?(node.name)"]}}}]},{"ref":"ruby/ruby#17864","repo":"ruby/ruby","state":"merged","allocation_work":true,"merged_at":"2026-11-18T21:40:31Z","released_in":null,"files":[{"path":"array.rb","methods":{"each_index":{"removed":["Primitive.attr! :inline_block, :without_interrupts"],"added":["Primitive.attr! :inline_block, :always_inline, :without_interrupts"]},"each":{"removed":["Primitive.attr! :inline_block, :c_trace, :without_interrupts"],"added":["Primitive.attr! :inline_block, :always_inline, :c_trace, :without_interrupts"]},"map":{"removed":["Primitive.attr! :inline_block, :c_trace, :without_interrupts"],"added":["Primitive.attr! :inline_block, :always_inline, :c_trace, :without_interrupts"]},"select":{"removed":["Primitive.attr! :inline_block, :c_trace, :without_interrupts"],"added":["Primitive.attr! :inline_block, :always_inline, :c_trace, :without_interrupts"]},"find":{"removed":["Primitive.attr! :inline_block, :c_trace, :without_interrupts"],"added":["Primitive.attr! :inline_block, :always_inline, :c_trace, :without_interrupts"]}}},{"path":"kernel.rb","methods":{"tap":{"removed":["Primitive.attr! :inline_block"],"added":["Primitive.attr! :inline_block, :always_inline"]},"then":{"removed":["Primitive.attr! :inline_block"],"added":["Primitive.attr! :inline_block, :always_inline"]},"loop":{"removed":["Primitive.attr! :inline_block"],"added":["Primitive.attr! :inline_block, :always_inline"]}}},{"path":"numeric.rb","methods":{"times":{"removed":["Primitive.attr! :inline_block"],"added":["Primitive.attr! :inline_block, :always_inline"]},"upto":{"removed":["Primitive.attr! :inline_block"],"added":["Primitive.attr! :inline_block, :always_inline"]},"downto":{"removed":["Primitive.attr! :inline_block, :c_trace"],"added":["Primitive.attr! :inline_block, :always_inline, :c_trace"]}}}]},{"ref":"mikel/mail#1693","repo":"mikel/mail","state":"open","allocation_work":true,"merged_at":null,"released_in":null,"files":[{"path":"lib/mail/encodings/8bit.rb","methods":{"compatible_input?":{"removed":["def self.compatible_input?(str)","!str.lines.find { |line| line.bytesize > 998 }"],"added":["if String.method_defined?(:byteindex)","def self.compatible_input?(str)","if $/ != \"\\n\" || !str.encoding.ascii_compatible? || !str.valid_encoding?","return !str.lines.find { |line| line.bytesize > 998 }","start = 0","while (newline = str.byteindex(\"\\n\", start))","return false if newline - start + 1 > 998","start = newline + 1","str.bytesize - start <= 998","!str.lines.find { |line| line.bytesize > 998 }"]}}},{"path":"lib/mail/message.rb","methods":{"find_attachment":{"removed":["content_type_name = header[:content_type].filename rescue nil","content_disp_name = header[:content_disposition].filename rescue nil","content_loc_name = header[:content_location].location rescue nil"],"added":["content_type_name = header[:content_type]&.filename rescue nil","content_disp_name = header[:content_disposition]&.filename rescue nil","content_loc_name = header[:content_location]&.location rescue nil"]}}}]},{"ref":"rubys/roundhouse#1070","repo":"rubys/roundhouse","state":"merged","allocation_work":true,"merged_at":"2026-10-20T01:00:39Z","released_in":null,"files":[{"path":"tests/emit_and_run/instance_extend.rs","methods":{"begin_transport":{"removed":[],"added":["def begin_transport"]},"ping":{"removed":[],"added":["def ping","begin_transport",".write(","\"test/test_helpers/open_helper.rb\",","r#\"module OpenHelper"]},"opened":{"removed":[],"added":["def opened(tag)","Box.new.tap do |box|","box.note = tag",".write(","\"test/lib/box_test.rb\",","r#\"require \"test_helper\"","class BoxTest < ActiveSupport::TestCase","include OpenHelper","test \"one object\" do","failing = Module.new { private def begin_transport(*) = :closed }","assert_equal :closed, opened(\"a\").extend(failing).ping","assert_equal :open, opened(\"b\").ping","test \"sibling\" do","assert_equal :open, Box.new.ping","test \"direct\" do","failing = Module.new { def begin_transport = :closed }","one = Box.new","assert_equal :closed, one.extend(failing).ping","fn one_extended_object_answers_the_module_and_its_sibling_does_not() {","app().run_test(\"test/models/box_test.rb\").assert_passes();","/// The emitted module and the `extend` statements, compiled by Spinel","/// on their own. A full test-file compile also loads the blog runtime;","/// this is the file's own extend, which is what Spinel refuses when the","/// receiver is not one `.new`.","fn one_extended_object_answers_the_module_on_spinel() {","let (emitted, errors) = app().emit(roundhouse::project::BuildTarget::Spinel);","assert!(","errors.is_empty(),","\"analysis or emit reports errors:\\n{}\",","errors.join(\"\\n\")","let box_rb =","std::fs::read_to_string(walk_for(&emitted, \"box.rb\").expect(\"emitted box.rb\")).unwrap();","let test_rb =","std::fs::read_to_string(walk_for(&emitted, \"box_test.rb\").expect(\"emitted box_test.rb\"))",".unwrap();","let tests = test_rb.split(\"# Spinel AOT autorun\").next().unwrap();","let tests: String = tests",".lines()",".filter(|line| !line.starts_with(\"require\"))",".collect::<Vec<_>>()",".join(\"\\n\");","let program = format!(","\"class TestBase; end\\n{box_rb}\\n{tests}\\nBoxTest.new.test_one_object\\nBoxTest.new.test_sibling\\nBoxTest.new.test_direct\\nputs \\\"3 tests passed\\\"\\n\"","let source = emitted.join(\"build/box_extend.rb\");","std::fs::create_dir_all(source.parent().unwrap()).expect(\"mkdir build\");","std::fs::write(&source, &program).expect(\"write spinel program\");","let compiler = std::env::var(\"SPINEL\").unwrap_or_else(|_| \"spinel\".into());","let binary = emitted.join(\"build/box_extend\");","let compiled = std::process::Command::new(&compiler)",".arg(&source)",".arg(\"-o\")",".arg(&binary)",".current_dir(&emitted)",".output()",".expect(\"spawn spinel\");","compiled.status.success(),","\"spinel refused the emitted extend\\n=== stdout ===\\n{}\\n=== stderr ===\\n{}\\n=== program ===\\n{program}\",","String::from_utf8_lossy(&compiled.stdout),","String::from_utf8_lossy(&compiled.stderr)","let ran = std::process::Command::new(&binary)",".expect(\"run box_extend\");","ran.status.success(),","\"spinel binary failed\\n=== stdout ===\\n{}\\n=== stderr ===\\n{}\",","String::from_utf8_lossy(&ran.stdout),","String::from_utf8_lossy(&ran.stderr)","let stdout = String::from_utf8_lossy(&ran.stdout);","assert!(stdout.contains(\"3 tests passed\"), \"spinel run:\\n{stdout}\");","fn walk_for(root: &std::path::Path, name: &str) -> Option<std::path::PathBuf> {","let mut stack = vec![root.to_path_buf()];","while let Some(dir) = stack.pop() {","let entries = std::fs::read_dir(&dir).ok()?;","for entry in entries.flatten() {","let path = entry.path();","if path.is_dir() {","stack.push(path);","} else if path.file_name().and_then(|n| n.to_str()) == Some(name) {","return Some(path);"]}}}]},{"ref":"rubys/roundhouse#1138","repo":"rubys/roundhouse","state":"merged","allocation_work":true,"merged_at":"2026-10-20T11:02:33Z","released_in":null,"files":[{"path":"scripts/ci-plan.py","methods":{"focus_plan":{"removed":["the heavy Spinel11 Campfire suite stay off. `ci:rust` and"],"added":["the heavy Spinel Campfire suite stay off. `ci:rust` and"]},"select":{"removed":["jobs_selected.update(SPINEL11)","jobs.extend(j for j in [*SPINEL11, \"archive-results\"] if j in jobs_selected)"],"added":["jobs_selected.update(SPINEL)","jobs_selected.update(SPINEL_FULL_OR_PATH)","jobs.extend(","for j in [*SPINEL, *SPINEL_FULL_OR_PATH, \"archive-results\"]","if j in jobs_selected"]}}},{"path":"tests/ci_plan_focus_test.py","methods":{"assert_extra_focus":{"removed":["self.assertFalse(set(ci.SPINEL11).intersection(plan[\"jobs\"]))"],"added":["self.assertFalse(set(ci.SPINEL).intersection(plan[\"jobs\"]))"]},"test_unknown_input_spinel_lane_stays_advisory_full_suite":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))"]},"test_rust_and_typescript_focus_labels_are_independent":{"removed":["self.assertFalse(set(ci.SPINEL11).intersection(rust[\"jobs\"]))"],"added":["self.assertFalse(set(ci.SPINEL).intersection(rust[\"jobs\"]))"]}}},{"path":"tests/ci_plan_test.py","methods":{"test_shared_emitters_select_cross_target_full_coverage":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))"]},"test_sidekiq_live_runs_only_when_the_push_or_its_client_changes":{"removed":[],"added":["self.assertNotIn(\"sidekiq-live\", ci.SPINEL)","self.assertNotIn(\"sidekiq-live\", ci.select([], spinel_lane=True)[\"jobs\"])"]},"test_campfire_smoke_is_path_or_full_not_bulk_spinel":{"removed":[],"added":["def test_campfire_smoke_is_path_or_full_not_bulk_spinel(self):","self.assertNotIn(\"campfire-smoke\", ci.SPINEL)","self.assertIn(\"campfire-archive-build\", ci.SPINEL)","self.assertIn(\"campfire-smoke-docker\", ci.SPINEL)","self.assertEqual(ci.SPINEL_FULL_OR_PATH, (\"campfire-smoke\", \"sidekiq-live\"))","lane = ci.select([], spinel_lane=True)","self.assertNotIn(\"campfire-smoke\", lane[\"jobs\"])","self.assertIn(\"campfire-smoke-docker\", lane[\"jobs\"])","full = ci.select([], full=True)","self.assertIn(\"campfire-smoke\", full[\"jobs\"])","self.assertIn(\"campfire-smoke\", full[\"advisory\"])","self.assertIn(\"campfire-smoke\", ci.select([\"scripts/build-campfire-archive\"])[\"jobs\"])"]},"test_spinel_lane_skips_other_languages":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))"]},"test_full_overrides_spinel_without_enabling_publication":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))"]},"test_canonical_main_push_uses_path_ownership_not_always_on_spinel":{"removed":["self.assertFalse(any(job in floor[\"jobs\"] for job in ci.SPINEL11))","self.assertFalse(any(job in go[\"jobs\"] for job in ci.SPINEL11))"],"added":["self.assertFalse(any(job in floor[\"jobs\"] for job in ci.SPINEL))","self.assertFalse(any(job in go[\"jobs\"] for job in ci.SPINEL))"]},"test_full_input_on_main_still_selects_every_sdk":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))"]},"test_a_ci_full_marker_line_on_a_main_push_plans_full":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))"]},"test_a_ci_full_marker_must_be_a_line_of_its_own":{"removed":["self.assertFalse(any(job in plan[\"jobs\"] for job in ci.SPINEL11), message)"],"added":["self.assertFalse(any(job in plan[\"jobs\"] for job in ci.SPINEL), message)"]},"test_proven_project_owners_keep_their_consumers_without_other_targets":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))","self.assertFalse(set(ci.SPINEL11).intersection(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))","self.assertFalse(set(ci.SPINEL).intersection(plan[\"jobs\"]))"]},"test_full_manual_and_publication_are_distinct":{"removed":["self.assertTrue(set(ci.SPINEL11).issubset(plan[\"jobs\"]))"],"added":["self.assertTrue(set(ci.SPINEL).issubset(plan[\"jobs\"]))"]}}}]}]}