renovate icon indicating copy to clipboard operation
renovate copied to clipboard

Dependency pinning gets grouped by monorepo

Open astellingwerf opened this issue 2 years ago • 9 comments

How are you running Renovate?

Self-hosted

Please select which platform you are using if self-hosting.

Bitbucket Cloud (bitbucket.org)

If you're self-hosting Renovate, tell us what version of Renovate you run.

26.7.0

Describe the bug

When the config:base preset is extended in the configuration, dependency pinning is unexpectedly and hinderingly split by pin-{monorepo} groups, plus a renovate/pin-dependencies branch for "others".

I reproduced the issue with a package.json file as small as this:

{
  "name": "Reproduce-Renovate-discussion-11438",
  "dependencies": {
    "@angular/core": "~11.1.0",
    "uuid": "^8.3.2"
  }
}

...and a configuration as minimalistic as:

DEBUG: Combined config
       "config": {
         "$schema": "https://docs.renovatebot.com/renovate-schema.json",
         "platform": "bitbucket",
         "username": "[email protected]",
         "password": "***********",
         "gitAuthor": "Renovate Bot <[email protected]>",
         "baseDir": "/tmp/renovate",
         "repositories": ["astellingwerf/reproduce-renovate-discussion-11438"],
         "extends": ["config:base"],
         "dryRun": true,
         "hostRules": [
           {"hostType": "github", "matchHost": "github.com", "token": "***********"}
         ]
       }

Relevant debug logs

Logs
DEBUG: Using RE2 as regex engine
DEBUG: Parsing configs
DEBUG: Checking for config file in /usr/src/app/config
DEBUG: File config
       "config": {
         "$schema": "https://docs.renovatebot.com/renovate-schema.json",
         "platform": "bitbucket",
         "username": "[email protected]",
         "password": "***********",
         "gitAuthor": "Renovate Bot <[email protected]>",
         "baseDir": "/tmp/renovate",
         "repositories": ["astellingwerf/reproduce-renovate-discussion-11438"],
         "extends": ["config:base"],
         "dryRun": true
       }
DEBUG: CLI config
       "config": {"dryRun": true}
DEBUG: Env config
       "config": {
         "hostRules": [
           {"hostType": "github", "matchHost": "github.com", "token": "***********"}
         ]
       }
DEBUG: Combined config
       "config": {
         "$schema": "https://docs.renovatebot.com/renovate-schema.json",
         "platform": "bitbucket",
         "username": "[email protected]",
         "password": "***********",
         "gitAuthor": "Renovate Bot <[email protected]>",
         "baseDir": "/tmp/renovate",
         "repositories": ["astellingwerf/reproduce-renovate-discussion-11438"],
         "extends": ["config:base"],
         "dryRun": true,
         "hostRules": [
           {"hostType": "github", "matchHost": "github.com", "token": "***********"}
         ]
       }
DEBUG: Using configured gitAuthor (Renovate Bot <[email protected]>)
DEBUG: Adding password authentication for api.bitbucket.org to hostRules
DEBUG: Using configured baseDir: /tmp/renovate
DEBUG: Using cacheDir: /tmp/renovate/cache
DEBUG: Initializing Renovate internal cache into /tmp/renovate/cache/renovate/renovate-cache-v1
DEBUG: Commits limit = null
DEBUG: Clearing hostRules
DEBUG: Adding token authentication for github.com to hostRules
DEBUG: Adding password authentication for api.bitbucket.org to hostRules
 INFO: Repository started (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "renovateVersion": "26.7.0"
DEBUG: Using localDir: /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: initRepo("astellingwerf/reproduce-renovate-discussion-11438") (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: astellingwerf/reproduce-renovate-discussion-11438 owner = undefined (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: resetMemCache() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Resetting npmrc (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: checkOnboarding() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: isOnboarded() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: findFile(renovate.json) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Initializing git repository into /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: git clone completed (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "durationMs": 1027
DEBUG: latest repository commit (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "latestCommit": {
         "hash": "fb6ba608b1761041a4f9fb038a17d00d169667d9",
         "date": "2021-08-29T18:28:32+02:00",
         "message": "Reduce the amount of packages, to see whether the issue is still reproducible",
         "refs": "HEAD -> master, origin/master, origin/HEAD",
         "body": "",
         "author_name": "Anne Stellingwerf",
         "author_email": "[email protected]"
       }
DEBUG: Setting git author name (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "gitAuthorName": "Renovate Bot"
DEBUG: Setting git author email (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "gitAuthorEmail": "[email protected]"
DEBUG: Config file exists (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "fileName": "renovate.json"
DEBUG: Issues are disabled - cannot ensureIssueClosing (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Repo is onboarded (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Found renovate.json config file (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Repository config (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "fileName": "renovate.json",
       "config": {"$schema": "https://docs.renovatebot.com/renovate-schema.json"}
DEBUG: migrateAndValidate() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: No config migration necessary (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: massaged config (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "config": {
         "$schema": "https://docs.renovatebot.com/renovate-schema.json",
         "extends": ["config:base"]
       }
DEBUG: migrated config (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "config": {
         "$schema": "https://docs.renovatebot.com/renovate-schema.json",
         "extends": ["config:base"]
       }
DEBUG: Setting hostRules from config (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Found repo ignorePaths (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "ignorePaths": [
         "**/node_modules/**",
         "**/bower_components/**",
         "**/vendor/**",
         "**/examples/**",
         "**/__tests__/**",
         "**/test/**",
         "**/tests/**",
         "**/__fixtures__/**"
       ]
DEBUG: detectSemanticCommits() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getCommitMessages (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Semantic commits detection: unknown (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: No semantic commits detected (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Setting branchPrefix: renovate/ (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: No vulnerability alerts found (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: findIssue(Dependency Dashboard) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Issues are disabled - cannot findIssue (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: No baseBranches (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: extract() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Setting current branch to master (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: latest commit (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "branchName": "master",
       "latestCommitDate": "2021-08-29T18:28:32+02:00"
DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)galaxy\.ya?ml$ for manager ansible-galaxy (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: azure.*pipelines?.*\.ya?ml$ for manager azure-pipelines (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)batect(-bundle)?\.yml$ for manager batect (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)batect$ for manager batect-wrapper (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)WORKSPACE(|\.bazel)$ for manager bazel (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.bzl$ for manager bazel (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: buildkite\.ya?ml for manager buildkite (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)Gemfile$ for manager bundler (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.cake$ for manager cake (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)Cargo.toml$ for manager cargo (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/).circleci/config.yml$ for manager circleci (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)cloudbuild.ya?ml for manager cloudbuild (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)Podfile$ for manager cocoapods (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)([\w-]*)composer.json$ for manager composer (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)deps\.edn$ for manager deps-edn (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)docker-compose[^/]*\.ya?ml$ for manager docker-compose (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/|\.)Dockerfile$ for manager dockerfile (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)Dockerfile\.[^/]*$ for manager dockerfile (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/).drone.yml$ for manager droneci (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/).gitmodules$ for manager git-submodules (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: ^(workflow-templates|\.github\/workflows)\/[^/]+\.ya?ml$ for manager github-actions (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.gitlab-ci\.yml$ for manager gitlabci (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci-include (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)go.mod$ for manager gomod (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)gradle.properties$ for manager gradle (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper.properties$ for manager gradle-wrapper (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)requirements\.yaml$ for manager helm-requirements (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)values.yaml$ for manager helm-values (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)helmfile.yaml$ for manager helmfile (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)Chart.yaml$ for manager helmv3 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.html?$ for manager html (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)plugins\.(txt|ya?ml)$ for manager jenkins (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)kustomization\.yaml for manager kustomize (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.pom\.xml$ for manager maven (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)pom\.xml$ for manager maven (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)package.js$ for manager meteor (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)mix\.exs$ for manager mix (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/).node-version$ for manager nodenv (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)package.json$ for manager npm (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.(?:props|targets)$ for manager nuget (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.config\/dotnet-tools\.json$ for manager nuget (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)\.nvmrc$ for manager nvm (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)([\w-]*)requirements\.(txt|pip)$ for manager pip_requirements (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)setup.py$ for manager pip_setup (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)\.pre-commit-config\.yaml$ for manager pre-commit (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/).python-version$ for manager pyenv (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.sbt$ for manager sbt (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: project/[^/]*.scala$ for manager sbt (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)setup\.cfg$ for manager setup-cfg (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)Package\.swift for manager swift (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: \.tf$ for manager terraform (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)\.terraform-version$ for manager terraform-version (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)terragrunt\.hcl$ for manager terragrunt (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: (^|/)\.terragrunt-version$ for manager terragrunt-version (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using file match: ^.travis.yml$ for manager travis (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Matched 1 file(s) for manager npm: package.json (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: npm file package.json has name "Reproduce-Renovate-discussion-11438" (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Detecting pnpm Workspaces (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Detecting Lerna and Yarn Workspaces (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Finding locked versions (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Found package-lock.json for package.json (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Found npm package files (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Found 1 package file(s) (repository=astellingwerf/reproduce-renovate-discussion-11438)
 INFO: Dependency extraction complete (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "baseBranch": "master",
       "stats": {
         "managers": {"npm": {"fileCount": 1, "depCount": 2}},
         "total": {"fileCount": 1, "depCount": 2}
       }
DEBUG: Package releases lookups complete (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "baseBranch": "master"
DEBUG: branchifyUpgrades (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using group branchName template (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Dependency @angular/core is part of group angular monorepo (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using group branchName template (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Dependency @angular/core is part of group angular monorepo (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using group branchName template (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Dependency @angular/core is part of group angular monorepo (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Using group branchName template (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Dependency uuid is part of group Pin Dependencies (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: 4 flattened updates found: @angular/core, @angular/core, @angular/core, uuid (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Returning 3 branch(es) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Fetching changelog: https://github.com/angular/angular (11.1.2 -> 11.2.14) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Fetching changelog: https://github.com/angular/angular (11.1.2 -> 12.2.3) (repository=astellingwerf/reproduce-renovate-discussion-11438)
 INFO: Ignoring upgrade collision (repository=astellingwerf/reproduce-renovate-discussion-11438, packageFile=package.json, branch=renovate/angular-monorepo)
       "manager": "npm",
       "depName": "@angular/core",
       "currentValue": "~11.1.0",
       "previousNewValue": "11.1.2",
       "thisNewValue": "11.2.14"
DEBUG: config.repoIsOnboarded=true (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: packageFiles with updates (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "config": {
         "npm": [
           {
             "packageFile": "package.json",
             "deps": [
               {
                 "depType": "dependencies",
                 "depName": "@angular/core",
                 "currentValue": "~11.1.0",
                 "datasource": "npm",
                 "prettyDepType": "dependency",
                 "lockedVersion": "11.1.2",
                 "depIndex": 0,
                 "updates": [
                   {
                     "updateType": "pin",
                     "isPin": true,
                     "newValue": "11.1.2",
                     "newMajor": 11,
                     "branchName": "renovate/angular-monorepo"
                   },
                   {
                     "bucket": "non-major",
                     "newVersion": "11.2.14",
                     "newValue": "11.2.14",
                     "releaseTimestamp": "2021-05-12T21:17:07.664Z",
                     "newMajor": 11,
                     "newMinor": 2,
                     "updateType": "minor",
                     "branchName": "renovate/angular-monorepo"
                   },
                   {
                     "bucket": "major",
                     "newVersion": "12.2.3",
                     "newValue": "12.2.3",
                     "releaseTimestamp": "2021-08-25T21:31:05.064Z",
                     "newMajor": 12,
                     "newMinor": 2,
                     "updateType": "major",
                     "branchName": "renovate/major-angular-monorepo"
                   }
                 ],
                 "warnings": [],
                 "versioning": "npm",
                 "sourceUrl": "https://github.com/angular/angular",
                 "sourceDirectory": "packages/core",
                 "currentVersion": "11.1.2",
                 "isSingleVersion": true,
                 "fixedVersion": "11.1.2"
               },
               {
                 "depType": "dependencies",
                 "depName": "uuid",
                 "currentValue": "^8.3.2",
                 "datasource": "npm",
                 "prettyDepType": "dependency",
                 "lockedVersion": "8.3.2",
                 "depIndex": 1,
                 "updates": [
                   {
                     "updateType": "pin",
                     "isPin": true,
                     "newValue": "8.3.2",
                     "newMajor": 8,
                     "branchName": "renovate/pin-dependencies"
                   }
                 ],
                 "warnings": [],
                 "versioning": "npm",
                 "sourceUrl": "https://github.com/uuidjs/uuid",
                 "currentVersion": "8.3.2",
                 "fixedVersion": "8.3.2"
               }
             ],
             "packageJsonName": "Reproduce-Renovate-discussion-11438",
             "packageFileVersion": "0.9.2",
             "packageJsonType": "app",
             "npmLock": "package-lock.json",
             "managerData": {},
             "skipInstalls": true,
             "constraints": {"npm": "<7"},
             "lockFiles": ["package-lock.json"]
           }
         ]
       }
DEBUG: processRepo() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Processing 3 branches: renovate/angular-monorepo, renovate/major-angular-monorepo, renovate/pin-dependencies (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Calculating hourly PRs remaining (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Retrieving PR list (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Retrieved Pull Requests (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "length": 0
DEBUG: currentHourStart=2021-08-29T16:00:00.000+00:00 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: PR hourly limit remaining: 2 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Calculating prConcurrentLimit (20) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getBranchPr(renovate/angular-monorepo) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: findPr(renovate/angular-monorepo, undefined, open) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getBranchPr(renovate/pin-dependencies) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: findPr(renovate/pin-dependencies, undefined, open) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getBranchPr(renovate/major-angular-monorepo) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: findPr(renovate/major-angular-monorepo, undefined, open) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: 0 PRs are currently open (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: PR concurrent limit remaining: 20 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Calculated maximum PRs remaining this run (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "prsRemaining": 2
DEBUG: PullRequests limit = 2 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Calculating hourly PRs remaining (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: currentHourStart=2021-08-29T16:00:00.000+00:00 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: PR hourly limit remaining: 2 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Calculating branchConcurrentLimit (20) (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: 0 already existing branches found:  (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Branch concurrent limit remaining: 20 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Calculated maximum branches remaining this run (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "branchesRemaining": 2
DEBUG: Branches limit = 2 (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Setting current branch to master (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: latest commit (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
       "branchName": "master",
       "latestCommitDate": "2021-08-29T18:28:32+02:00"
DEBUG: getBranchPr(renovate/angular-monorepo) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: findPr(renovate/angular-monorepo, undefined, open) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: branchExists=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: dependencyDashboardCheck=undefined (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: recreateClosed is false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: findPr(renovate/angular-monorepo, Pin dependency @angular/core to v11.1.2, !open) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: prAlreadyExisted=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Checking schedule(at any time, null) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: No schedule defined (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Branch needs creating (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Using reuseExistingBranch: false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: manager.getUpdatedPackageFiles() reuseExistinbranch=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: npm.updateDependency(): dependencies.@angular/core = 11.1.2 (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Updating @angular/core in package.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Updated 1 package files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Getting updated lock files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Writing package.json files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
       "packageFiles": ["package.json"]
DEBUG: Writing package-lock.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Writing any updated package files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Writing package.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: No npmrc file found in repository (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Writing updated .npmrc file to /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438/.npmrc (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Generating package-lock.json for . (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Spawning npm install to create /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438/package-lock.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Updating lock file only (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: No node constraint found - using latest (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Executing command (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
       "command": ["npm install --package-lock-only --no-audit --ignore-scripts"]
DEBUG: exec completed (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
       "cmd": "npm install --package-lock-only --no-audit --ignore-scripts",
       "durationMs": 1053,
       "stdout": "added 3 packages in 0.153s\n",
       "stderr": ""
DEBUG: package-lock.json hasn't changed (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: No updated lock files in branch (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: 1 file(s) to commit (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
 INFO: DRY-RUN: Would commit files to branch renovate/angular-monorepo (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/angular-monorepo)
DEBUG: Setting current branch to master (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: latest commit (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
       "branchName": "master",
       "latestCommitDate": "2021-08-29T18:28:32+02:00"
DEBUG: getBranchPr(renovate/pin-dependencies) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: findPr(renovate/pin-dependencies, undefined, open) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: branchExists=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: dependencyDashboardCheck=undefined (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: recreateClosed is false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: findPr(renovate/pin-dependencies, Pin dependency uuid to 8.3.2, !open) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: prAlreadyExisted=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Checking schedule(at any time, null) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: No schedule defined (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Branch needs creating (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Using reuseExistingBranch: false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: manager.getUpdatedPackageFiles() reuseExistinbranch=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: npm.updateDependency(): dependencies.uuid = 8.3.2 (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Updating uuid in package.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Updated 1 package files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Getting updated lock files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Writing package.json files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
       "packageFiles": ["package.json"]
DEBUG: Writing package-lock.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Writing any updated package files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Writing package.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: No npmrc file found in repository (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Writing updated .npmrc file to /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438/.npmrc (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Generating package-lock.json for . (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Spawning npm install to create /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438/package-lock.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Updating lock file only (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: No node constraint found - using latest (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Executing command (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
       "command": ["npm install --package-lock-only --no-audit --ignore-scripts"]
DEBUG: exec completed (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
       "cmd": "npm install --package-lock-only --no-audit --ignore-scripts",
       "durationMs": 1057,
       "stdout": "added 3 packages in 0.169s\n",
       "stderr": ""
DEBUG: package-lock.json hasn't changed (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: No updated lock files in branch (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: 1 file(s) to commit (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
 INFO: DRY-RUN: Would commit files to branch renovate/pin-dependencies (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/pin-dependencies)
DEBUG: Setting current branch to master (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: latest commit (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
       "branchName": "master",
       "latestCommitDate": "2021-08-29T18:28:32+02:00"
DEBUG: getBranchPr(renovate/major-angular-monorepo) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: findPr(renovate/major-angular-monorepo, undefined, open) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: branchExists=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: dependencyDashboardCheck=undefined (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: recreateClosed is false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: findPr(renovate/major-angular-monorepo, Update dependency @angular/core to v12, !open) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: getPrList() (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: prAlreadyExisted=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Checking schedule(at any time, null) (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: No schedule defined (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Branch needs creating (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Using reuseExistingBranch: false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: manager.getUpdatedPackageFiles() reuseExistinbranch=false (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: npm.updateDependency(): dependencies.@angular/core = 12.2.3 (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Updating @angular/core in package.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Updated 1 package files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Getting updated lock files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Writing package.json files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
       "packageFiles": ["package.json"]
DEBUG: Writing package-lock.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Writing any updated package files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Writing package.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: No npmrc file found in repository (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Writing updated .npmrc file to /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438/.npmrc (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Generating package-lock.json for . (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Spawning npm install to create /tmp/renovate/repos/bitbucket/astellingwerf/reproduce-renovate-discussion-11438/package-lock.json (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Updating lock file only (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: No node constraint found - using latest (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Executing command (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
       "command": ["npm install --package-lock-only --no-audit --ignore-scripts"]
DEBUG: exec completed (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
       "cmd": "npm install --package-lock-only --no-audit --ignore-scripts",
       "durationMs": 1402,
       "stdout": "added 3 packages in 0.541s\n",
       "stderr": "npm WARN @angular/[email protected] requires a peer of rxjs@^6.5.3 || ^7.0.0 but none is installed. You must install peer dependencies yourself.\nnpm WARN @angular/[email protected] requires a peer of zone.js@~0.11.4 but none is installed. You must install peer dependencies yourself.\n\n"
DEBUG: package-lock.json needs updating (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Updated 1 lock files (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
       "updatedArtifacts": ["package-lock.json"]
DEBUG: 2 file(s) to commit (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
 INFO: DRY-RUN: Would commit files to branch renovate/major-angular-monorepo (repository=astellingwerf/reproduce-renovate-discussion-11438, branch=renovate/major-angular-monorepo)
DEBUG: Ensuring Dependency Dashboard (repository=astellingwerf/reproduce-renovate-discussion-11438)
 INFO: Blocked PR (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "prBlockedBy": undefined,
       "prNo": undefined,
       "result": "no-work"
 INFO: Blocked PR (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "prBlockedBy": undefined,
       "prNo": undefined,
       "result": "no-work"
 INFO: Blocked PR (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "prBlockedBy": undefined,
       "prNo": undefined,
       "result": "no-work"
 INFO: DRY-RUN: Would ensure Dependency Dashboard Dependency Dashboard (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Removing any stale branches (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: config.repoIsOnboarded=true (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: No renovate branches found (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Issues are disabled - cannot ensureIssueClosing (repository=astellingwerf/reproduce-renovate-discussion-11438)
DEBUG: Repository timing splits (milliseconds) (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "splits": {"init": 2844, "extract": 1276, "lookup": 1124, "update": 4434},
       "total": 9711
DEBUG: http statistics (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "hostStats": [
         "api.bitbucket.org, 2 requests, 490ms request average, 1ms queue average",
         "registry.npmjs.org, 1 request, 382ms request average, 3ms queue average"
       ],
       "totalRequests": 3
 INFO: Repository finished (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "durationMs": 9711
DEBUG: Renovate exiting

Have you created a minimal reproduction repository?

I have linked to a minimal reproduction repository in the bug description

astellingwerf avatar Sep 10 '21 18:09 astellingwerf

Does it do the same if you put extends config in the repo instead?

rarkins avatar Sep 10 '21 19:09 rarkins

No it still splits incorrectly then:

DEBUG: packageFiles with updates (repository=astellingwerf/reproduce-renovate-discussion-11438)
       "config": {
         "npm": [
           {
             "packageFile": "package.json",
             "deps": [
               {
                 "depType": "dependencies",
                 "depName": "@angular/core",
                 "currentValue": "~11.1.0",
                 "datasource": "npm",
                 "prettyDepType": "dependency",
                 "lockedVersion": "11.1.2",
                 "depIndex": 0,
                 "updates": [
                   {
                     "updateType": "pin",
                     "isPin": true,
                     "newValue": "11.1.2",
                     "newMajor": 11,
                     "branchName": "renovate/angular-monorepo"
                   },
                   {
                     "bucket": "non-major",
                     "newVersion": "11.2.14",
                     "newValue": "11.2.14",
                     "releaseTimestamp": "2021-05-12T21:17:07.664Z",
                     "newMajor": 11,
                     "newMinor": 2,
                     "updateType": "minor",
                     "branchName": "renovate/angular-monorepo"
                   },
                   {
                     "bucket": "major",
                     "newVersion": "12.2.5",
                     "newValue": "12.2.5",
                     "releaseTimestamp": "2021-09-08T16:33:48.312Z",
                     "newMajor": 12,
                     "newMinor": 2,
                     "updateType": "major",
                     "branchName": "renovate/major-angular-monorepo"
                   }
                 ],
...

astellingwerf avatar Sep 10 '21 19:09 astellingwerf

So can you get it to reproduce on github.com using the hosted app?

rarkins avatar Sep 11 '21 05:09 rarkins

Here you go: https://github.com/astellingwerf/renovate-issue-11680/pull/1

astellingwerf avatar Sep 11 '21 12:09 astellingwerf

:tada: This issue has been resolved in version 27.4.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

renovate-release avatar Sep 12 '21 13:09 renovate-release

In a version from this weekend, this issue is not fixed for all pinning. For example, Font Awesome dependencies like "@fortawesome/react-fontawesome": "^0.1.4" are still put in a separate branch (see https://github.com/astellingwerf/renovate-issue-11680/issues/17).

astellingwerf avatar Sep 20 '21 11:09 astellingwerf

Hi @astellingwerf I tried to reproduce the issue with Renovate's latest release, I would like to share with you the PRs that Renovate created to make sure if the issue has been fixed, from my perspective I can see that the issue is disappeared: https://github.com/MaronHatoum/renovate-issue-11680/pulls

image

MaronHatoum avatar Aug 09 '22 14:08 MaronHatoum

Is pinning enabled though?

astellingwerf avatar Aug 09 '22 16:08 astellingwerf

@astellingwerf I ran Renovate one more time with rangeStrategy = pin this is the result: https://github.com/MaronHatoum/renovate-issue-11680/pulls

MaronHatoum avatar Aug 10 '22 07:08 MaronHatoum

I still see this in Renovate 32.151.2: image

I'd need to look into it further, but from what I seem to recall, it seems that groups have an impact on this. Can you check that (in this case) the group:fortawesome preset is part of your configuration?

astellingwerf avatar Aug 10 '22 15:08 astellingwerf

@astellingwerf this is the configuration I'm using:

 "config": {
         "token": "***********",
         "platform": "github",
         "onboardingConfig": {"extends": []},
         "prConcurrentLimit": 0,
         "branchConcurrentLimit": 0,
         "onboarding": true,
         "logContext": "json",
         "logFileLevel": "debug",
         "logFile": "/tmp/log.json",
         "dependencyDashboard": true,
         "includeForks": true,
         "ignoreUnstable": false,
         "rangeStrategy": "pin",
         "repositories": ["MaronHatoum/renovate-issue-11680"],
         "gitAuthor": "Self-hosted Renovate Bot <[email protected]>",
         "assignees": ["maron"]
       }

And using the debugger I checked config.packageRules and I saw that it is empty image

MaronHatoum avatar Aug 11 '22 06:08 MaronHatoum

If this is a reproduction then config like rangeStrategy should be in the repo config and not config.js

rarkins avatar Aug 11 '22 06:08 rarkins

You are right rangeStartegy exists in repo config image I added it to config.js just to make it clear that I'm using this configuration.

MaronHatoum avatar Aug 11 '22 06:08 MaronHatoum

Hi there,

Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible.

Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this.

To get started, please read our guide on creating a minimal reproduction.

We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment.

Good luck,

The Renovate team

github-actions[bot] avatar Apr 22 '23 09:04 github-actions[bot]

A fork of the reproduction repo no longer reproduces, so I have changed the label

rarkins avatar Apr 22 '23 09:04 rarkins

When a bug has been marked as needing a reproduction, it means nobody can work on it until one is provided. In cases where no reproduction is possible, or the issue creator does not have the time to reproduce, we unfortunately need to close such issues as they are non-actionable and serve no benefit by remaining open. This issue will be closed after 7 days of inactivity.

github-actions[bot] avatar May 10 '23 01:05 github-actions[bot]

I recently saw this still happening with v34, opening three PRs for pinning. Unfortunately, this was in a private repo. I'll see that I can create a public reproduction repo and test with v35.

abrain avatar May 16 '23 12:05 abrain

Here is a new reproduction repo: https://github.com/abrain/renovate-issue-11680

It still happens with v35 and seems to be related to matchUpdateTypes in group presets. Details are provided in the repo's README.

abrain avatar May 27 '23 11:05 abrain