Files
Matthew Beck 96b6419d95 ci: run benchmark comparison in isolated worktree and harden security
- Run comparison benchmark in an isolated git worktree to prevent workspace pollution and local branch conflicts.
- Harden security by passing benchmark target and SHA as environment variables to prevent shell injection, and adding '--' to bazel query and git rev-parse.
- Optimize workflow by removing pnpm caching to mitigate cache poisoning risks.
- Improve robustness of benchmark log parsing, supporting both ZIP outputs and raw directories, and safely checking for JSON reports.
- Centralize git command execution on the dev-infra GitClient for consistency.
- Add tslib to benchpress dependencies to prevent module resolution failures.

(cherry picked from commit 547d85addf)
2026-06-09 16:48:55 +00:00

28 lines
693 B
JSON

{
"name": "@angular/benchpress",
"version": "0.3.0",
"description": "Benchpress - a framework for e2e performance tests",
"dependencies": {
"@angular/core": "^22.0.0-next",
"reflect-metadata": "^0.2.0",
"tslib": "^2.3.0"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git",
"directory": "packages/benchpress"
},
"keywords": [
"angular",
"benchmarks"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/angular/angular/issues"
},
"homepage": "https://github.com/angular/angular/tree/main/packages/benchpress",
"publishConfig": {
"registry": "https://wombat-dressing-room.appspot.com"
}
}