{"record":{"id":"0f067d1771295eda","repo":"sds/overcommit","slug":"one-or-more-hooks-had-invalid-processor-value-co","errorCode":null,"errorMessage":"One or more hooks had invalid `processor` value configured","messagePattern":"One or more hooks had invalid `processor` value configured","errorType":"exception","errorClass":"Overcommit::Exceptions::ConfigurationError","httpStatus":null,"severity":"error","filePath":"lib/overcommit/configuration_validator.rb","lineNumber":167,"sourceCode":"\n      errors = []\n      Overcommit::Utils.supported_hook_type_classes.each do |hook_type|\n        hash.fetch(hook_type) { {} }.each do |hook_name, hook_config|\n          processors = hook_config.fetch('processors') { 1 }\n          if processors > concurrency\n            errors << \"#{hook_type}::#{hook_name} `processors` value \" \\\n                      \"(#{processors}) is larger than the global `concurrency` \" \\\n                      \"option (#{concurrency})\"\n          end\n        end\n      end\n\n      if errors.any?\n        if @log\n          @log.error errors.join(\"\\n\")\n          @log.newline\n        end\n        raise Overcommit::Exceptions::ConfigurationError,\n              'One or more hooks had invalid `processor` value configured'\n      end\n    end\n\n    # Prints a warning if the `verify_plugin_signatures` option is used instead\n    # of the new `verify_signatures` option.\n    def check_for_verify_plugin_signatures_option(hash)\n      return unless @log\n\n      if hash.key?('verify_plugin_signatures')\n        @log.warning '`verify_plugin_signatures` has been renamed to ' \\\n                     '`verify_signatures`. Defaulting to verifying signatures.'\n        @log.warning \"See change log at #{REPO_URL}/blob/v0.29.0/CHANGELOG.md for details.\"\n        @log.newline\n      end\n    end\n  end\nend","sourceCodeStart":149,"sourceCodeEnd":185,"githubUrl":"https://github.com/sds/overcommit/blob/fee0cd74b26eb81f64b43b7fab17bbb541575cc4/lib/overcommit/configuration_validator.rb#L149-L185","documentation":"Error \"One or more hooks had invalid `processor` value configured\" thrown in sds/overcommit.","triggerScenarios":"Thrown at lib/overcommit/configuration_validator.rb:167 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Lower the hook's `processors` value in .overcommit.yml so it does not exceed the global `concurrency` setting, or raise `concurrency`.","Check the error lines printed above the message; they name each hook whose `processors` value is too large.","Remove the `processors` option to use the default of 1."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fee0cd74b26eb81f64b43b7fab17bbb541575cc4","analyzedAt":"2026-08-23T04:07:28.153Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}