mirror of
https://github.com/EveryInc/compound-engineering-plugin.git
synced 2026-09-19 01:09:55 +08:00
717884222b
The CI `Run tests` step is the whole job: it took 193-237s (median ~224s) across the last seven successful runs, while every other step in the job totals ~12s. Almost none of that is CPU. The suite is ~98 files that spend their time blocked on subprocesses -- `python3` script invocations, `bash` sandbox scripts, `git` fixture repos, and `bun run src/index.ts` CLI spawns -- plus deliberate real sleeps in the peer-job-runner and cross-model route tests. Bun ran all of it in one process, so the runner's other cores sat idle. Bun 1.3 can distribute test files across worker processes, so put `--parallel` on the package `test` script and have CI invoke `bun run test`. Keeping the flag in the script rather than the workflow means the command CI runs and the command a contributor runs cannot drift apart. `--parallel` implies `--isolate`, which promotes cross-file isolation from incidental to load-bearing: a test file may no longer rely on another file's leftovers. Documented in AGENTS.md, along with the one deliberate exception (ce-code-review-cross-model-routes stages a repo-root marker to exercise dirty-tree handling, and cleans it up in afterAll). Claude-Session: https://claude.ai/code/session_01EW4bpYuKU2KpVy3qqEZX9r
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "compound-engineering",
|
|
"version": "3.20.0",
|
|
"description": "Official Compound Engineering skills plugin for coding agents",
|
|
"type": "module",
|
|
"private": true,
|
|
"main": ".opencode/plugins/compound-engineering.js",
|
|
"pi": {
|
|
"extensions": [
|
|
"./.pi/extensions/compound-engineering.ts"
|
|
],
|
|
"skills": [
|
|
"./skills"
|
|
]
|
|
},
|
|
"homepage": "https://github.com/EveryInc/compound-engineering-plugin",
|
|
"repository": "https://github.com/EveryInc/compound-engineering-plugin",
|
|
"scripts": {
|
|
"codex:dev": "bun run scripts/codex-dev.ts",
|
|
"dev": "bun run src/index.ts",
|
|
"convert": "bun run src/index.ts convert",
|
|
"cleanup": "bun run src/index.ts cleanup",
|
|
"list": "bun run src/index.ts list",
|
|
"cli:install": "bun run src/index.ts install",
|
|
"test": "bun test --parallel",
|
|
"plugin:validate": "claude plugin validate --strict .claude-plugin/marketplace.json && claude plugin validate --strict .claude-plugin/plugin.json",
|
|
"release:preview": "bun run scripts/release/preview.ts",
|
|
"release:sync-metadata": "bun run scripts/release/sync-metadata.ts --write",
|
|
"release:validate": "bun run scripts/release/validate.ts"
|
|
},
|
|
"dependencies": {
|
|
"citty": "^0.1.6",
|
|
"js-yaml": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"bun-types": "^1.0.0",
|
|
"semantic-release": "^25.0.3"
|
|
}
|
|
}
|