-
Notifications
You must be signed in to change notification settings - Fork 417
code-server/4.101.1 package update #57174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
octo-sts
bot
commented
Jun 21, 2025
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍The patch 'fix-GHSA-v6h2-p8h4-qcjw.patch' could not be applied because it appears to have been reversed or previously applied. The patch was attempting to modify package-lock.json, but the system detected a conflict and skipped applying it, resulting in a build failure. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: code-server.yaml
Replacement: Click to expand fix analysisAnalysisBased on the similar fixed build failures, I observe that "Reversed (or previously applied) patch detected!" errors typically occur when:
In both example fixes, the resolution involved either:
The current error is specifically with the "fix-GHSA-v6h2-p8h4-qcjw.patch" file, which appears to be a security patch for a GitHub Security Advisory. The error indicates the patch either was already applied upstream or is no longer applicable to the current version of the code. Click to expand fix explanationExplanationThe suggested fix removes the problematic patch file "fix-GHSA-v6h2-p8h4-qcjw.patch" from the list of patches to be applied. This should resolve the build failure. The error message "Reversed (or previously applied) patch detected!" indicates that the changes in this security patch have likely already been incorporated into the upstream code-server version 4.101.1. This is common when upgrading to newer versions of packages, as security fixes are often integrated into the main codebase by the upstream developers. The fact that the error specifically mentions a conflict with package-lock.json suggests that dependency changes from the security fix are already present in the newer version. This is particularly likely given that the current version is a recent release (4.101.1) and the GitHub Security Advisory (GHSA) patch was likely created for an earlier version. By removing the patch from the list, we're acknowledging that those security fixes are already part of the codebase and don't need to be applied again. The build should proceed normally after this change. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Batuhan Apaydin <batuhan.apaydin@chainguard.dev>
|
ERROR: code-server currently requires node v22. Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>