Files
redwoodjs__local-ci/package.json
T
Peter Pistorius c2fe31b888 feat: action tarball disk cache, step output capture, and demo recording (#117)
* feat: action tarball disk cache, step output capture, and demo recording

- Cache action tarballs on first download and serve from disk on re-runs,
  eliminating ~30s GitHub CDN delays
- Capture step output via tee to signals dir for reliable pause-on-failure
  tail display
- Fix CLI to treat empty results as failure and skip summary print
- Add marketing demo recording setup with VHS tape and test project
- Add `agent-ci` script alias in root package.json

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test: add tests for action tarball cache, group filtering, and empty-results fix (#119)

Cover the untested changes from the tarball cache PR: action tarball proxy
cache hit/miss, download info URL rewriting with sub-path stripping, step
output group filtering, tee output capture, and CLI empty-results exit logic.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* fix: prevent concurrent tarball cache-miss race condition

Use an in-flight download map so concurrent requests for the same
tarball coalesce into a single GitHub fetch instead of racing on
the same tmp file, which could cause corruption or rename errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: use relative path in demo.tape for portability

Replace hard-coded absolute path with a relative path so the demo
recording works on any contributor's machine.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: correct sanitized-refs test to assert 404 for slash-containing refs

The test was passing vacuously (status >= 200 matches 404). Now it
properly asserts that Polka does not bind :ref across slashes, so
slash-containing refs return 404 and do not serve cached content.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 20:16:18 +02:00

52 lines
1.4 KiB
JSON

{
"name": "agent-ci-monorepo",
"private": true,
"scripts": {
"test": "pnpm --include-workspace-root=false -r test",
"check": "npm-run-all --parallel typecheck lint format:check",
"check:fix": "npm-run-all --parallel typecheck lint:fix format:fix",
"typecheck": "pnpm -r run typecheck",
"lint": "oxlint --deny-warnings",
"lint:fix": "oxlint --fix",
"format": "oxfmt",
"format:fix": "oxfmt",
"format:check": "oxfmt --check",
"agent-ci": "cd packages/dtu-github-actions && pnpm run build && cd ../cli && tsx src/cli.ts",
"agent-ci-dev": "pnpm run agent-ci",
"start": "./scripts/run.sh",
"prepare": "husky",
"changeset": "changeset",
"version": "changeset version",
"release": "pnpm -r build && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@nkzw/oxlint-config": "1.0.1",
"@types/node": "^25.3.0",
"@typescript/native-preview": "7.0.0-dev.20260219.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"npm-run-all2": "8.0.4",
"oxfmt": "0.33.0",
"oxlint": "1.48.0",
"tsx": "^4.21.0",
"vitest": "^4.0.18"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,json,md,css,html}": [
"oxfmt --check"
],
"*.{js,ts,jsx,tsx}": [
"oxlint --deny-warnings"
]
},
"packageManager": "pnpm@10.30.1",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"sharp",
"workerd"
]
}
}