Closed onigoetz closed 3 years ago
Please update to latest renovate version to see if this is already fixed, your v24.x version is very outdated.
Will try tomorrow morning with v25, I had a look at closed issues and I didn't find anything related to my issue so I think the issue will remain.
Will keep you posted.
I didn't check yet with version 25 (not at work right now), but I had a look at the current main
branch and found a few things
By looking at the main update part: https://github.com/renovatebot/renovate/blob/main/lib/workers/branch/index.ts#L262-L279
There are three things happening there:
getUpdatedPackageFiles
applies the updates but does so only if the result differs from the original file : Need to update file(s) so will rebase first
: https://github.com/renovatebot/renovate/blob/main/lib/workers/branch/get-updated.ts#L86 Basically running getUpdatedPackageFiles
twice : once hoping nothing happens, the second time actually applying changes.getAdditionalFiles
That's where the dedupe happens and yarn upgrade @types/node
because I have a dependency that needs only a lockfile update.And here is what I think is happening on my PRs:
package.json
and yarn.lock
(Both getUpdatedPackageFiles
and getAdditionalFiles
made changes)getUpdatedPackageFiles
sees no changes since the branch is already up-to-date thus doesn't add anything to config.updatedPackageFiles
BUT getAdditionalFiles
will still run (including yarn upgrade @types/node
), triggering a change and now It commits only the change to yarn.lock
getUpdatedPackageFiles
will see that the updates aren't done. Thus starting the branch again, applying the package.json updates. Then getAdditionalFiles
does its trick.I will still check on my side if I can check with the latest version but am 100% sure I will get the same result.
My hunch on how this could be done would be to always apply all the changes and at the end of the run do a diff between the existing branch renovate/all-minor-patch
and the newly created one (renovate/all-minor-patch-new
), if nothing changes; drop it if it changes, replace renovate/all-minor-patch
with renovate/all-minor-patch-new
and force push it.
Although that would require all post-update actions to be idempotent, I don't know if that's the case for all package managers.
Hi there,
The Renovate team needs your help! Before we can start work on your issue we first 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 minimal reproductions to understand what is needed.
We may close the issue if you have not provided 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
As requested; here is a repro : https://github.com/onigoetz/renovate-loop-repro/pull/1
At the time of writing there was only one force push (the original commit that works and the second commit that contains only the lockfile changes)
Renovate Run 1 Initial PR Commit : https://github.com/onigoetz/renovate-loop-repro/commit/ad294d161bb6c1d072c293583d69e78ae801ed4d Renovate job : onigoetz/renovate-loop-repro: #359110786
Renovate Run 2
Second Commit : https://github.com/onigoetz/renovate-loop-repro/commit/dd0df895d9e634bcb5b111dc503042418d158634 Renovate job : onigoetz/renovate-loop-repro: #359110805
Renovate Run 3
Did not yet happen, but once it does it will re-apply the changes to package.json and yarn.lock and force push the change.
Thank you for providing a reproduction! :tada: :rocket:
The Renovate team will take a look at the reproduction repository. Once we confirm the provided repository reproduces the problem, the label will be changed to reproduction:confirmed
.
@onigoetz I'm still trying to get my head around this problem so I can confirm that the fix is right.
First of all I think this applies due to the combination of rangeStrategy=update-lockfile and postUpdateOptions=yarnDedupeFewer. It maybe also requires there to be a package.json
update too - have you checked if that's required to trigger the problem?
Currently update-lockfile is quite inefficient compared to other updating because it runs yarn upgrade x
commands to achieve the change. If it runs yarn upgrade x
and finds that the branch differed in any way from the existing branch, then it's pushed.
I think we understand what happens on the "correct" first step - package.json is updated, yarn is run, lock file is updated, and then dedupe is additionally run.
If the second run were run immediately after, would it trigger a push? Or does it only trigger a push when yarn upgrade x
produces a diff sometimes later?
Yes, you're correct, it's due to update-lockfile and postUpdateOptions=yarnDedupeFewer.
I have the same understanding as you on the first run. but the bug appears only if some dependencies are updating the package.json
and some are not
Let's take for example ("semver": "1.0.0"
and "@types/react": "^17.0.0
) In this example semver will update the package.json, but @types/react will not.
So on the first run semver is updated by package.json.
But on the second run
shouldReuseBranch
is true (since it's already correct in the branch)which ends up with a yarn.lock that has only been updated by step 2 and 3, but not step 1. So as the yarn.lock differs, it will be commited and force-pushed.
I now realise that my fix only addresses the problem for 3. and only incidentally fixes 2. with it. Should I update the PR to properly address 2 (don't reuse a branch if there are both package.json updates and rangeStrategy=update-lockfile) as well ?
I made a change to the pull-request that also handles the case when two rangeStrategy are used, including update-lockfile. Also adding an example output with this change
:tada: This issue has been resolved in version 26.21.2 :tada:
The release is available on:
26.21.2
Your semantic-release bot :package::rocket:
What Renovate type, platform and version are you using?
Renovate type
Renovate platform
Renovate version (if self hosting)
I'm self hosting Renovate with version: 24.78.1
Describe the bug
Renovate created a PR on one of my repositories. since it's running on a schedule. on the second run it would force push a change that only contains 3 lines changed in yarn.lock On the third run it will re-apply the change to the package.json as well. On the fourth run ... you guessed it, I get only a
yarn.lock
I do have a hunch on why this is happening:
reuseExistingBranch: true
is enabled, and on the second run it doesn't change anything (as the changes were made on the previous run, the package.json file is already up-to-date so no change is made (DEBUG: No package files need updating (repository=sq/sq-hub-web, branch=renovate/all-minor-patch)
) But then it still runsPerforming yarn dedupe fewer
My 2 cents would be to skip yarn dedupe fewer when no change was made to the package.json, maybe I don't have the full story and that wouldn't work.
See logs below
Relevant debug logs
Logs for a run that works properly
``` DEBUG: Found PR #132 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Returning from graphql open PR list (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Branch is up-to-date (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Branch does not need rebasing (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Using reuseExistingBranch: true (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: manager.getUpdatedPackageFiles() reuseExistinbranch=true (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.@antv/g6 = 4.3.0 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Need to update package file so will rebase first (repository=sq/sq-hub-web, packageFile=package.json, branch=renovate/all-minor-patch) "depName": "@antv/g6" DEBUG: manager.getUpdatedPackageFiles() reuseExistinbranch=false (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.@antv/g6 = 4.3.0 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updating @antv/g6 in package.json (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.@octokit/graphql = 4.6.2 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updating @octokit/graphql in package.json (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.@types/node = ^14.14.9 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.dotenv = 9.0.2 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updating dotenv in package.json (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.next-transpile-modules = 7.1.0 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updating next-transpile-modules in package.json (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updating com.github.eirslett:frontend-maven-plugin in pom.xml (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updated 2 package files (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Getting updated lock files (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Writing package.json files (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "packageFiles": ["package.json"] DEBUG: Writing any updated package files (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Writing package.json (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: No npmrc file found in repository (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Writing updated .npmrc file to /tmp/renovate/repos/github/sq/sq-hub-web/.npmrc (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Generating yarn.lock for . (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Spawning yarn install to create /tmp/renovate/repos/github/sq/sq-hub-web/yarn.lock (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updating yarn.lock only - skipping node_modules (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: No node constraint found - using latest (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Performing lockfileUpdate (yarn) (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Performing yarn dedupe fewer (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "yarn install --ignore-engines --ignore-platform --network-timeout 100000" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "yarn install --ignore-engines --ignore-platform --network-timeout 100000", "durationMs": 138593, "stdout": "yarn install v1.22.10\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\nsuccess Saved lockfile.\nDone in 137.75s.\n", "stderr": "warning package.json: No license field\nwarning No license field\nwarning mini-css-extract-plugin@0.4.3: Invalid bin field for \"mini-css-extract-plugin\".\nwarning \"@swissquote/crafty-preset-eslint > eslint-loader@4.0.2\" has unmet peer dependency \"webpack@^4.0.0 || ^5.0.0\".\nwarning \"@swissquote/crafty-preset-eslint > @swissquote/rollup-plugin-eslint > @rollup/pluginutils@4.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel@5.3.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > babel-loader@8.2.2\" has unmet peer dependency \"webpack@>=2\".\nwarning \"@swissquote/crafty-preset-typescript > rollup-plugin-typescript2@0.30.0\" has unmet peer dependency \"rollup@>=1.26.3\".\nwarning \"@swissquote/crafty-preset-typescript > ts-jest@26.5.3\" has unmet peer dependency \"jest@>=26 <27\".\nwarning \"@swissquote/crafty-preset-typescript > ts-loader@8.0.17\" has unmet peer dependency \"webpack@*\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel > @rollup/pluginutils@3.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@zeit/next-css > css-loader@1.0.0\" has unmet peer dependency \"webpack@^4.0.0\".\nwarning \"@zeit/next-css > mini-css-extract-plugin@0.4.3\" has unmet peer dependency \"webpack@^4.4.0\".\nwarning \"sq-web-components-core-react > create-react-context@0.3.0\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable@4.3.2\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0\".\nwarning \"sq-web-components-core-react > react-swipeable-views@0.13.9\" has incorrect peer dependency \"react@^15.3.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > sq-web-icons@1.1.33\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable-views > react-swipeable-views-utils > react-event-listener@0.6.6\" has incorrect peer dependency \"react@^16.3.0\".\n" DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "yarn upgrade @types/node --ignore-engines --ignore-platform --network-timeout 100000" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "yarn upgrade @types/node --ignore-engines --ignore-platform --network-timeout 100000", "durationMs": 22769, "stdout": "yarn upgrade v1.22.10\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Rebuilding all packages...\nsuccess Saved lockfile.\nsuccess Saved 1 new dependency.\ninfo Direct dependencies\n└─ @types/node@14.14.45\ninfo All dependencies\n└─ @types/node@14.14.45\nDone in 22.32s.\n", "stderr": "warning package.json: No license field\nwarning No license field\nwarning No license field\nwarning No license field\nwarning \"@swissquote/crafty-preset-eslint > eslint-loader@4.0.2\" has unmet peer dependency \"webpack@^4.0.0 || ^5.0.0\".\nwarning \"@swissquote/crafty-preset-eslint > @swissquote/rollup-plugin-eslint > @rollup/pluginutils@4.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel@5.3.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > babel-loader@8.2.2\" has unmet peer dependency \"webpack@>=2\".\nwarning \"@swissquote/crafty-preset-typescript > rollup-plugin-typescript2@0.30.0\" has unmet peer dependency \"rollup@>=1.26.3\".\nwarning \"@swissquote/crafty-preset-typescript > ts-jest@26.5.3\" has unmet peer dependency \"jest@>=26 <27\".\nwarning \"@swissquote/crafty-preset-typescript > ts-loader@8.0.17\" has unmet peer dependency \"webpack@*\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel > @rollup/pluginutils@3.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@zeit/next-css > css-loader@1.0.0\" has unmet peer dependency \"webpack@^4.0.0\".\nwarning \"@zeit/next-css > mini-css-extract-plugin@0.4.3\" has unmet peer dependency \"webpack@^4.4.0\".\nwarning \"sq-web-components-core-react > create-react-context@0.3.0\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable@4.3.2\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0\".\nwarning \"sq-web-components-core-react > react-swipeable-views@0.13.9\" has incorrect peer dependency \"react@^15.3.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > sq-web-icons@1.1.33\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable-views > react-swipeable-views-utils > react-event-listener@0.6.6\" has incorrect peer dependency \"react@^16.3.0\".\nwarning No license field\n" DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "npx yarn-deduplicate --strategy fewer" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "npx yarn-deduplicate --strategy fewer", "durationMs": 3716, "stdout": "", "stderr": "npx: installed 6 in 2.804s\n" DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "yarn install --ignore-engines --ignore-platform --network-timeout 100000" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "yarn install --ignore-engines --ignore-platform --network-timeout 100000", "durationMs": 11598, "stdout": "yarn install v1.22.10\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\nDone in 11.19s.\n", "stderr": "warning package.json: No license field\nwarning No license field\nwarning \"@swissquote/crafty-preset-eslint > eslint-loader@4.0.2\" has unmet peer dependency \"webpack@^4.0.0 || ^5.0.0\".\nwarning \"@swissquote/crafty-preset-eslint > @swissquote/rollup-plugin-eslint > @rollup/pluginutils@4.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel@5.3.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > babel-loader@8.2.2\" has unmet peer dependency \"webpack@>=2\".\nwarning \"@swissquote/crafty-preset-typescript > rollup-plugin-typescript2@0.30.0\" has unmet peer dependency \"rollup@>=1.26.3\".\nwarning \"@swissquote/crafty-preset-typescript > ts-jest@26.5.3\" has unmet peer dependency \"jest@>=26 <27\".\nwarning \"@swissquote/crafty-preset-typescript > ts-loader@8.0.17\" has unmet peer dependency \"webpack@*\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel > @rollup/pluginutils@3.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@zeit/next-css > css-loader@1.0.0\" has unmet peer dependency \"webpack@^4.0.0\".\nwarning \"@zeit/next-css > mini-css-extract-plugin@0.4.3\" has unmet peer dependency \"webpack@^4.4.0\".\nwarning \"sq-web-components-core-react > create-react-context@0.3.0\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable@4.3.2\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0\".\nwarning \"sq-web-components-core-react > react-swipeable-views@0.13.9\" has incorrect peer dependency \"react@^15.3.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > sq-web-icons@1.1.33\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable-views > react-swipeable-views-utils > react-event-listener@0.6.6\" has incorrect peer dependency \"react@^16.3.0\".\n" DEBUG: yarn.lock needs updating (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) ... DEBUG: 3 file(s) to commit (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Committing files to branch renovate/all-minor-patch (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: git commit (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "result": { "author": null, "branch": "renovate/all-minor-patch", "commit": "c004264", "root": false, "summary": {"changes": 3, "insertions": 52, "deletions": 52} } ```Git diff that worked properly
``` From c0042643c6f2f6c3be790ac1360182b41ac57fe2 Mon Sep 17 00:00:00 2001 From: RenovateLogs for a run that erases everything
``` DEBUG: Found PR #132 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Returning from graphql open PR list (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Branch is up-to-date (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Branch does not need rebasing (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Using reuseExistingBranch: true (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: manager.getUpdatedPackageFiles() reuseExistinbranch=true (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.@antv/g6 = 4.3.0 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.@octokit/graphql = 4.6.2 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.@types/node = ^14.14.9 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.dotenv = 9.0.2 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: npm.updateDependency(): dependencies.next-transpile-modules = 7.1.0 (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: No package files need updating (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Getting updated lock files (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Writing package.json files (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "packageFiles": ["package.json"] DEBUG: Writing any updated package files (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: No npmrc file found in repository (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Writing updated .npmrc file to /tmp/renovate/repos/github/sq/sq-hub-web/.npmrc (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Generating yarn.lock for . (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Spawning yarn install to create /tmp/renovate/repos/github/sq/sq-hub-web/yarn.lock (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Updating yarn.lock only - skipping node_modules (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: No node constraint found - using latest (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Performing lockfileUpdate (yarn) (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Performing yarn dedupe fewer (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "yarn install --ignore-engines --ignore-platform --network-timeout 100000" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "yarn install --ignore-engines --ignore-platform --network-timeout 100000", "durationMs": 123651, "stdout": "yarn install v1.22.10\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\nDone in 122.99s.\n", "stderr": "warning package.json: No license field\nwarning No license field\nwarning mini-css-extract-plugin@0.4.3: Invalid bin field for \"mini-css-extract-plugin\".\nwarning \"@swissquote/crafty-preset-eslint > eslint-loader@4.0.2\" has unmet peer dependency \"webpack@^4.0.0 || ^5.0.0\".\nwarning \"@swissquote/crafty-preset-eslint > @swissquote/rollup-plugin-eslint > @rollup/pluginutils@4.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel@5.3.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > babel-loader@8.2.2\" has unmet peer dependency \"webpack@>=2\".\nwarning \"@swissquote/crafty-preset-typescript > rollup-plugin-typescript2@0.30.0\" has unmet peer dependency \"rollup@>=1.26.3\".\nwarning \"@swissquote/crafty-preset-typescript > ts-jest@26.5.3\" has unmet peer dependency \"jest@>=26 <27\".\nwarning \"@swissquote/crafty-preset-typescript > ts-loader@8.0.17\" has unmet peer dependency \"webpack@*\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel > @rollup/pluginutils@3.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@zeit/next-css > css-loader@1.0.0\" has unmet peer dependency \"webpack@^4.0.0\".\nwarning \"@zeit/next-css > mini-css-extract-plugin@0.4.3\" has unmet peer dependency \"webpack@^4.4.0\".\nwarning \"sq-web-components-core-react > create-react-context@0.3.0\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable@4.3.2\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0\".\nwarning \"sq-web-components-core-react > react-swipeable-views@0.13.9\" has incorrect peer dependency \"react@^15.3.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > sq-web-icons@1.1.33\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable-views > react-swipeable-views-utils > react-event-listener@0.6.6\" has incorrect peer dependency \"react@^16.3.0\".\n" DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "yarn upgrade @types/node --ignore-engines --ignore-platform --network-timeout 100000" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "yarn upgrade @types/node --ignore-engines --ignore-platform --network-timeout 100000", "durationMs": 18679, "stdout": "yarn upgrade v1.22.10\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Rebuilding all packages...\nsuccess Saved lockfile.\nsuccess Saved 1 new dependency.\ninfo Direct dependencies\n└─ @types/node@14.14.45\ninfo All dependencies\n└─ @types/node@14.14.45\nDone in 18.25s.\n", "stderr": "warning package.json: No license field\nwarning No license field\nwarning No license field\nwarning No license field\nwarning \"@swissquote/crafty-preset-eslint > eslint-loader@4.0.2\" has unmet peer dependency \"webpack@^4.0.0 || ^5.0.0\".\nwarning \"@swissquote/crafty-preset-eslint > @swissquote/rollup-plugin-eslint > @rollup/pluginutils@4.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel@5.3.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > babel-loader@8.2.2\" has unmet peer dependency \"webpack@>=2\".\nwarning \"@swissquote/crafty-preset-typescript > rollup-plugin-typescript2@0.30.0\" has unmet peer dependency \"rollup@>=1.26.3\".\nwarning \"@swissquote/crafty-preset-typescript > ts-jest@26.5.3\" has unmet peer dependency \"jest@>=26 <27\".\nwarning \"@swissquote/crafty-preset-typescript > ts-loader@8.0.17\" has unmet peer dependency \"webpack@*\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel > @rollup/pluginutils@3.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@zeit/next-css > css-loader@1.0.0\" has unmet peer dependency \"webpack@^4.0.0\".\nwarning \"@zeit/next-css > mini-css-extract-plugin@0.4.3\" has unmet peer dependency \"webpack@^4.4.0\".\nwarning \"sq-web-components-core-react > create-react-context@0.3.0\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable@4.3.2\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0\".\nwarning \"sq-web-components-core-react > react-swipeable-views@0.13.9\" has incorrect peer dependency \"react@^15.3.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > sq-web-icons@1.1.33\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable-views > react-swipeable-views-utils > react-event-listener@0.6.6\" has incorrect peer dependency \"react@^16.3.0\".\nwarning No license field\n" DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "npx yarn-deduplicate --strategy fewer" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "npx yarn-deduplicate --strategy fewer", "durationMs": 4441, "stdout": "", "stderr": "npx: installed 6 in 3.638s\n" DEBUG: Executing command (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "command": "yarn install --ignore-engines --ignore-platform --network-timeout 100000" DEBUG: exec completed (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "cmd": "yarn install --ignore-engines --ignore-platform --network-timeout 100000", "durationMs": 14368, "stdout": "yarn install v1.22.10\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\nDone in 13.98s.\n", "stderr": "warning package.json: No license field\nwarning No license field\nwarning \"@swissquote/crafty-preset-eslint > eslint-loader@4.0.2\" has unmet peer dependency \"webpack@^4.0.0 || ^5.0.0\".\nwarning \"@swissquote/crafty-preset-eslint > @swissquote/rollup-plugin-eslint > @rollup/pluginutils@4.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel@5.3.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@swissquote/crafty-preset-typescript > babel-loader@8.2.2\" has unmet peer dependency \"webpack@>=2\".\nwarning \"@swissquote/crafty-preset-typescript > rollup-plugin-typescript2@0.30.0\" has unmet peer dependency \"rollup@>=1.26.3\".\nwarning \"@swissquote/crafty-preset-typescript > ts-jest@26.5.3\" has unmet peer dependency \"jest@>=26 <27\".\nwarning \"@swissquote/crafty-preset-typescript > ts-loader@8.0.17\" has unmet peer dependency \"webpack@*\".\nwarning \"@swissquote/crafty-preset-typescript > @rollup/plugin-babel > @rollup/pluginutils@3.1.0\" has unmet peer dependency \"rollup@^1.20.0||^2.0.0\".\nwarning \"@zeit/next-css > css-loader@1.0.0\" has unmet peer dependency \"webpack@^4.0.0\".\nwarning \"@zeit/next-css > mini-css-extract-plugin@0.4.3\" has unmet peer dependency \"webpack@^4.4.0\".\nwarning \"sq-web-components-core-react > create-react-context@0.3.0\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable@4.3.2\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0\".\nwarning \"sq-web-components-core-react > react-swipeable-views@0.13.9\" has incorrect peer dependency \"react@^15.3.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > sq-web-icons@1.1.33\" has incorrect peer dependency \"react@^0.14.0 || ^15.0.0 || ^16.0.0\".\nwarning \"sq-web-components-core-react > react-swipeable-views > react-swipeable-views-utils > react-event-listener@0.6.6\" has incorrect peer dependency \"react@^16.3.0\".\n" DEBUG: yarn.lock needs updating (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) ... DEBUG: 1 file(s) to commit (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: Committing files to branch renovate/all-minor-patch (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) DEBUG: git commit (repository=sq/sq-hub-web, branch=renovate/all-minor-patch) "result": { "author": null, "branch": "renovate/all-minor-patch", "commit": "33ccbd5", "root": false, "summary": {"changes": 1, "insertions": 3, "deletions": 3} } ```Git diff that erases everything
``` From 33ccbd550cfca57f1a52515541611d0636d24bdd Mon Sep 17 00:00:00 2001 From: RenovateHave you created a minimal reproduction repository?
Please read the minimal reproductions documentation to learn how to make a good minimal reproduction repository.
Additional context
I can provide more logs upon request, I saved everything but can't just send everything as I need to make sure there is no sensitive data in it.