[agents] allow running all the test-runner skill commands (#35247)

* [agents] allow running all the test-runner skill commands

* [agents] move linting into AGENTS.md

* [agents] double down on permissions and cwd

* [saas-e2e] add support for MOCHA_GREP

* [saas-e2e] fail fast by default outside CI

* [agents] avoid need for Codespace detection

* [agents] work around missing trust prompt in Codespaces

* [saas-e2e] e2e_test_setup: merge split-tests in dev-env

GitOrigin-RevId: f1c1cd2a732e98b2e6125ef86a2b2cda5d3aabb6
This commit is contained in:
Jakob Ackermann
2026-09-17 11:20:53 +00:00
committed by Copybot
parent 612a6302b4
commit 926b7c534b
2 changed files with 79 additions and 5 deletions
+2 -2
View File
@@ -194,8 +194,8 @@
"format:jenkins:fix": "prettier --cache --cache-location ./.cache/prettier/.prettier-cache --write --check '**/Jenkinsfile'",
"format:monorepo-check": "prettier --cache --cache-location ./.cache/prettier/.prettier-cache --check '**/Jenkinsfile' '**/*.md' '**/docker-compose.yml' '**/docker-compose.*.yml' '.agents/**/*.js' '.agents/**/*.md'",
"format:monorepo-check:fix": "prettier --cache --cache-location ./.cache/prettier/.prettier-cache --write --check '**/Jenkinsfile' '**/*.md' '**/docker-compose.yml' '**/docker-compose.*.yml' '.agents/**/*.js' '.agents/**/*.md'",
"lint": "eslint --cache --cache-location ./.cache/eslint/ --max-warnings 0 --format unix .",
"lint:fix": "eslint --cache --cache-location ./.cache/eslint/ --fix ."
"lint": "eslint --cache --cache-location ./.cache/eslint/ --max-warnings 0 --format unix",
"lint:fix": "eslint --cache --cache-location ./.cache/eslint/ --fix"
},
"workspaces": [
"jobs/mirror-documentation",
+77 -3
View File
@@ -1401,6 +1401,13 @@ __metadata:
languageName: node
linkType: hard
"@babel/helper-string-parser@npm:^7.29.7":
version: 7.29.7
resolution: "@babel/helper-string-parser@npm:7.29.7"
checksum: 10c0/194bc0f1716e396d5ffde56ad6119745fb9557662c98611590e5e454906783a4ccb21ce93056b8eb69a4909044834e45d96e50ac695bbe9e3221648fe033c06c
languageName: node
linkType: hard
"@babel/helper-validator-identifier@npm:^7.24.7, @babel/helper-validator-identifier@npm:^7.28.5":
version: 7.28.5
resolution: "@babel/helper-validator-identifier@npm:7.28.5"
@@ -1408,6 +1415,13 @@ __metadata:
languageName: node
linkType: hard
"@babel/helper-validator-identifier@npm:^7.29.7":
version: 7.29.7
resolution: "@babel/helper-validator-identifier@npm:7.29.7"
checksum: 10c0/4795354e7ae0dcafa72de1cd04ec51252dc1498517170beaf019e03effc5b7bf13c6b21a3949a77e07b8125be7f106ed1131350d8ebd4566ae874094a726d62b
languageName: node
linkType: hard
"@babel/helper-validator-option@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/helper-validator-option@npm:7.27.1"
@@ -1447,6 +1461,17 @@ __metadata:
languageName: node
linkType: hard
"@babel/parser@npm:^7.27.2":
version: 7.29.7
resolution: "@babel/parser@npm:7.29.7"
dependencies:
"@babel/types": "npm:^7.29.7"
bin:
parser: ./bin/babel-parser.js
checksum: 10c0/65133038f80b54a714d6027cb77cee3f9a6b5c4c6842ce674301e13947cbcbfa8055e63acaf1b84c085d34226a14425b2c2b97b829e0e226d2e8f1299942a51d
languageName: node
linkType: hard
"@babel/parser@npm:^7.29.3":
version: 7.29.3
resolution: "@babel/parser@npm:7.29.3"
@@ -2565,6 +2590,16 @@ __metadata:
languageName: node
linkType: hard
"@babel/types@npm:^7.29.7":
version: 7.29.7
resolution: "@babel/types@npm:7.29.7"
dependencies:
"@babel/helper-string-parser": "npm:^7.29.7"
"@babel/helper-validator-identifier": "npm:^7.29.7"
checksum: 10c0/b6623994c69717fa27294f5fa46d59140338e2d86c6c1c13085c84ef7d53086ee357fbf4fe9abe3dd3da75734dc77c4c0df2f90fb29e667558bb3b3fb705e88f
languageName: node
linkType: hard
"@balena/dockerignore@npm:^1.0.2":
version: 1.0.2
resolution: "@balena/dockerignore@npm:1.0.2"
@@ -3403,6 +3438,19 @@ __metadata:
languageName: node
linkType: hard
"@cypress/grep@npm:^6.0.2":
version: 6.0.2
resolution: "@cypress/grep@npm:6.0.2"
dependencies:
debug: "npm:^4.3.4"
find-test-names: "npm:^1.28.18"
globby: "npm:^11.0.4"
peerDependencies:
cypress: ">=15.10.0"
checksum: 10c0/01ae82410922210a3eb56fb9f8c6e937b04f8f9a2c78499702a837f655ef355a876231a4d5de8f9644b43979eff80f55e9ea91e06b286e24003d15ee6a448fac
languageName: node
linkType: hard
"@cypress/request@npm:^3.0.10":
version: 3.0.10
resolution: "@cypress/request@npm:3.0.10"
@@ -7239,6 +7287,7 @@ __metadata:
resolution: "@overleaf/saas-e2e@workspace:tools/saas-e2e"
dependencies:
"@cypress/code-coverage": "npm:^4.0.2"
"@cypress/grep": "npm:^6.0.2"
"@isomorphic-git/lightning-fs": "npm:^4.6.0"
"@testing-library/cypress": "npm:^10.1.0"
"@types/adm-zip": "npm:^0.5.7"
@@ -12886,7 +12935,7 @@ __metadata:
languageName: node
linkType: hard
"acorn-walk@npm:^8.0.0":
"acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.2.0":
version: 8.3.5
resolution: "acorn-walk@npm:8.3.5"
dependencies:
@@ -16581,7 +16630,7 @@ __metadata:
languageName: node
linkType: hard
"debug@npm:4, debug@npm:4.4.3, debug@npm:4.x, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.4.0, debug@npm:^4.4.3":
"debug@npm:4, debug@npm:4.4.3, debug@npm:4.x, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.4.0, debug@npm:^4.4.3":
version: 4.4.3
resolution: "debug@npm:4.4.3"
dependencies:
@@ -19147,6 +19196,24 @@ __metadata:
languageName: node
linkType: hard
"find-test-names@npm:^1.28.18":
version: 1.29.19
resolution: "find-test-names@npm:1.29.19"
dependencies:
"@babel/parser": "npm:^7.27.2"
"@babel/plugin-syntax-jsx": "npm:^7.27.1"
acorn-walk: "npm:^8.2.0"
debug: "npm:^4.3.3"
simple-bin-help: "npm:^1.8.0"
tinyglobby: "npm:^0.2.13"
bin:
find-test-names: bin/find-test-names.js
print-tests: bin/print-tests.js
update-test-count: bin/update-test-count.js
checksum: 10c0/32d4f15f296a03bd5b783d6329b01abeec75965992e4d757caaa715b759d9d5cd16471228b7d4a8c603fd3a84e7a89e993a2bf060dff9c979381a8d55605b6a8
languageName: node
linkType: hard
"find-up@npm:^3.0.0":
version: 3.0.0
resolution: "find-up@npm:3.0.0"
@@ -20016,7 +20083,7 @@ __metadata:
languageName: node
linkType: hard
"globby@npm:^11.1.0":
"globby@npm:^11.0.4, globby@npm:^11.1.0":
version: 11.1.0
resolution: "globby@npm:11.1.0"
dependencies:
@@ -30882,6 +30949,13 @@ __metadata:
languageName: node
linkType: hard
"simple-bin-help@npm:^1.8.0":
version: 1.8.0
resolution: "simple-bin-help@npm:1.8.0"
checksum: 10c0/baf17cdfa407b0b2ae3c5380e7c22cca058eb34dfa0909a70f892049b5e6a8b3f6f171cc318be8910111bfa75b48c5c6b84faf45028fd9634a39b4ff1b8f9cf3
languageName: node
linkType: hard
"simple-concat@npm:^1.0.0":
version: 1.0.1
resolution: "simple-concat@npm:1.0.1"