Skip to content

Remove extract-zip from TypeScript test dependencies - #3747

Open
kpumuk wants to merge 1 commit into
apache:masterfrom
kpumuk:ts-extract-zip-dependencies
Open

Remove extract-zip from TypeScript test dependencies#3747
kpumuk wants to merge 1 commit into
apache:masterfrom
kpumuk:ts-extract-zip-dependencies

Conversation

@kpumuk

@kpumuk kpumuk commented Aug 24, 2026

Copy link
Copy Markdown
Member

The TypeScript browser test tooling still pulled extract-zip through grunt-contrib-qunit 3.1.0 and Puppeteer 1.x.

This updates grunt-contrib-qunit to 10.2.0, selects Puppeteer 25.8.0 for its browser runner, and removes extract-zip from the development dependency tree. It also aligns the downloaded QUnit assets to 2.26.0, whose event API is expected by the current Grunt plugin.

Puppeteer 25 requires Node.js 22.12 or newer for this development-only test path.

  • Did you create an Apache Jira ticket? (Request account here, not required for trivial changes)
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Client: js,ts

Co-Authored-By: OpenAI Codex (GPT-5.6) <codex@openai.com>
@kpumuk
kpumuk requested a review from emmenlau as a code owner August 24, 2026 13:02
Copilot AI lite review requested due to automatic review settings August 24, 2026 13:02
@mergeable mergeable Bot added the typescript label Aug 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the TypeScript browser test toolchain in lib/ts to remove the extract-zip dependency by upgrading the Grunt QUnit runner stack and aligning the downloaded QUnit assets with the plugin’s expected event API.

Changes:

  • Bump grunt-contrib-qunit to ^10.2.0 and pin its Puppeteer runner to 25.8.0 via overrides.
  • Update QUnit assets downloaded for TS tests to 2.26.0 and switch those downloads to HTTPS.
  • Regenerate lib/ts/package-lock.json to reflect the new dependency tree (removing extract-zip and older Puppeteer-era deps).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
lib/ts/test/build.xml Updates downloaded QUnit asset versions/URLs used by the TS test build.
lib/ts/package.json Upgrades grunt-contrib-qunit and adds an override to select Puppeteer 25.8.0.
lib/ts/package-lock.json Updates the resolved dependency graph to match the new dev dependency set (removing extract-zip).
Files not reviewed (1)
  • lib/ts/package-lock.json: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/ts/test/build.xml
Comment thread lib/ts/package.json
Comment on lines +40 to +42
"grunt-contrib-qunit": {
"puppeteer": "25.8.0"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants