Conversation
There was a problem hiding this comment.
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-qunitto^10.2.0and pin its Puppeteer runner to25.8.0viaoverrides. - Update QUnit assets downloaded for TS tests to
2.26.0and switch those downloads to HTTPS. - Regenerate
lib/ts/package-lock.jsonto reflect the new dependency tree (removingextract-zipand 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.
| "grunt-contrib-qunit": { | ||
| "puppeteer": "25.8.0" | ||
| }, |
Code reviewNo blocking issues found. Checked for bugs and CLAUDE.md compliance. Two suggestions, below the bar for an issue but verified:
Lines 15 to 17 in 5acac82
Lines 39 to 43 in 5acac82 🤖 Generated with Claude Code |
Client: js,ts Co-Authored-By: OpenAI Codex (GPT-5.6) <codex@openai.com>
5acac82 to
0fc68b1
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
Unresolved dependency-installation and CI-validation issues remain.
Review details
Files not reviewed (1)
- lib/ts/package-lock.json: Generated file
Suppressed comments (2)
lib/ts/package-lock.json:58
- The new
@puppeteer/browsersdependency declaresyauzlas an optional ZIP extractor, but this lockfile leaves that peer uninstalled. Its browser download path therefore falls back to a systemunzipexecutable;make -C lib/ts checkcan fail during Puppeteer's install/download step on minimal environments withoutunzip. Addyauzlas a development dependency (and regenerate the lockfile), or makeunzipan explicit prerequisite for this test path.
lib/ts/package.json:22 - This major tooling update is not exercised by the repository's automated tests: the build workflow's TypeScript step runs
make -C lib/nodets check, whilelib/tsis not included inlib/Makefile.am. Please add a CI invocation for this Grunt/Puppeteer path (with Node >=22.12) or an equivalent validation before relying on the new runner and QUnit assets.
"grunt-contrib-qunit": "^10.2.0",
- Files reviewed: 2/3 changed files
- Comments generated: 0 new
- Review effort level: Lite
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.
[skip ci]anywhere in the commit message to free up build resources.