Skip to content

fix build after changes in gulp decompress mechanism - #666

Merged
RomanNikitenko merged 1 commit into
che-incubator:mainfrom
sbouchet:fix_658
Mar 17, 2026
Merged

RomanNikitenko merged 1 commit into
che-incubator:mainfrom
sbouchet:fix_658

Conversation

@sbouchet

@sbouchet sbouchet commented Mar 16, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

fix gulp compile/decompress issues

What issues does this PR fix?

fixes a review from @RomanNikitenko here #648 (review)

How to test this PR?

Does this PR contain changes that override default upstream Code-OSS behavior?

  • the PR contains changes in the code folder (you can skip it if your changes are placed in a che extension )
  • the corresponding items were added to the CHANGELOG.md file
  • rules for automatic git rebase were added to the .rebase folder

Summary by CodeRabbit

  • Refactor
    • Updated internal variable naming in build configuration files to improve code clarity and better reflect functionality.

@github-actions

github-actions Bot commented Mar 16, 2026 •

Copy link
Copy Markdown
Contributor

Click here to review and test in web IDE: Contribute

@coderabbitai

coderabbitai Bot commented Mar 16, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: dd96e849-1852-4626-8af5-f9bb5de68e24

📥 Commits

Reviewing files that changed from the base of the PR and between c96b390 and 62e4766.

📒 Files selected for processing (2)
  • code/build/gulpfile.cli.js
  • code/build/gulpfile.reh.js

📝 Walkthrough

Walkthrough

Two gulp build configuration files are updated to rename the imported module alias from untar to decompress, reflecting the correct function name while preserving existing decompression functionality.

Changes

Cohort / File(s) Summary
Build Configuration
code/build/gulpfile.cli.js, code/build/gulpfile.reh.js
Import alias updated from untar to decompress in both gulp configuration files, correcting the variable name to match the actual module function name while maintaining existing decompression pipeline functionality.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A rabbit hopped through code so fine,
Found untar where decompress should shine—
One swap, two files, logic stays true,
Names now match what the modules do! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly relates to the main change: updating the gulp decompress module import and usage across build files.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.

Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present.

@rgrunber rgrunber left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on review comments from @RomanNikitenko , makes sense.

@github-actions

Copy link
Copy Markdown
Contributor

@RomanNikitenko
RomanNikitenko merged commit 91038b3 into che-incubator:main Mar 17, 2026
14 checks passed
@sbouchet
sbouchet deleted the fix_658 branch March 17, 2026 12:29
Comment thread code/build/gulpfile.cli.js Resolved
sbouchet added a commit to sbouchet/che-code that referenced this pull request Mar 18, 2026
RomanNikitenko pushed a commit that referenced this pull request Mar 18, 2026
RomanNikitenko pushed a commit that referenced this pull request Aug 22, 2026
Reverts the gulp-decompress introduction from #648/#666 and realigns
with upstream VS Code's own solution: gunzip + untar() backed by
tar.Parser. This removes the vulnerable [email protected] (CVE-2026-53486,
CVSS 9.1) while keeping the tar@^7.5.22 pin for GHSA-34x7-hfp2-rc4v.

Signed-off-by: Stephane Bouchet <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants