Commit Graph

336 Commits

Author SHA1 Message Date
Peter Pistorius c25389f8a0 Merge pull request #76 from redwoodjs/changeset-release/main
chore: version packages
@redwoodjs/agent-ci@0.5.0 dtu-github-actions@0.5.0
2026-03-24 07:42:25 +13:00
github-actions[bot] c9d76f8d2d chore: version packages 2026-03-23 18:35:52 +00:00
Peter Pistorius d622dde5c6 Merge pull request #75 from redwoodjs/feat/agent-discoverability
feat: add package metadata, SKILL.md, and AI agent discoverability
2026-03-24 07:35:21 +13:00
Peter Pistorius 99c794a517 fix: use scoped package name @redwoodjs/agent-ci in npx commands
Ensures the commands work even when the package isn't installed as a
local devDependency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 07:32:08 +13:00
Peter Pistorius 6971663e04 fix: address PR review comments on SKILL.md and README
- Add "(in Docker)" clarification to SKILL.md
- Explain --all flag matches on triggers like GitHub
- Add --no-matrix tip for collapsing matrix jobs locally
- Use --quiet flag in CLAUDE.md snippet
- Add "CI was green before you started" instruction for agents

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 07:18:53 +13:00
Peter Pistorius 179405b960 feat: add package metadata, SKILL.md, and AI agent discoverability
Improve npm and AI agent discoverability by filling in package.json
keywords/description, creating a SKILL.md for node_modules scanning,
and adding a ready-to-paste CLAUDE.md snippet to the README.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 07:07:09 +13:00
Peter Pistorius 54ef949483 Add docs. 2026-03-23 22:45:46 +13:00
Peter Pistorius 4bb3b8032e Merge pull request #73 from redwoodjs/changeset-release/main
chore: version packages
@redwoodjs/agent-ci@0.4.0 dtu-github-actions@0.4.0
2026-03-23 22:40:40 +13:00
github-actions[bot] 66dfd109e1 chore: version packages 2026-03-23 09:40:16 +00:00
Peter Pistorius 5f46a40629 Merge pull request #72 from redwoodjs/kindling/2026-03-23-1909-fix-node-js-22-json-import-compatibility-cc68
Add --no-matrix flag to collapse matrix workflows into single job
2026-03-23 22:39:49 +13:00
Peter Pistorius 61d3e25374 feat: add changeset for --no-matrix flag to collapse matrix workflows 2026-03-23 22:38:00 +13:00
Peter Pistorius af125c25b8 Merge remote-tracking branch 'origin/main' into kindling/2026-03-23-1909-fix-node-js-22-json-import-compatibility-cc68 2026-03-23 22:21:03 +13:00
Peter Pistorius 366f00780f chore: remove outdated Agent-CI run instructions and add command hooks 2026-03-23 22:19:40 +13:00
Peter Pistorius 9ab48da18d feat: add mandatory rules for changesets and running Agent-CI 2026-03-23 22:13:50 +13:00
Peter Pistorius 0cb10daed9 Add --no-matrix flag to collapse matrix workflows into a single job
Parse --no-matrix as a boolean flag in the run command. Thread noMatrix
through runWorkflows and handleWorkflow. When active, use a new
collapseMatrixToSingle helper (exported from workflow-parser.ts) to
produce one job with the first value of each matrix key, __job_total='1',
and __job_index='0', so strategy.job-total expressions resolve correctly
without parser changes. Document the flag in printUsage.
2026-03-23 06:17:17 +00:00
Peter Pistorius f4e1face21 test: behavioral specs for --no-matrix matrix collapse
Covers: collapseMatrixToSingle produces exactly one job, uses first value
of each matrix key, sets __job_total='1' and __job_index='0', handles
multi-key matrices and edge cases (degenerate single-combo, empty value
list, numeric values). Also guards that expandMatrixCombinations (default
path) is unaffected and produces the full cartesian product without
injecting __job_total or __job_index.
2026-03-23 06:14:57 +00:00
Peter Pistorius ff13240a7e kindling: start task 2026-03-23 06:10:13 +00:00
Peter Pistorius a6acf41c42 Merge pull request #70 from redwoodjs/changeset-release/main
chore: version packages
@redwoodjs/agent-ci@0.3.4 dtu-github-actions@0.3.4
2026-03-23 10:50:44 +13:00
github-actions[bot] e5bb9804ce chore: version packages 2026-03-22 21:46:27 +00:00
Peter Pistorius 5a903aa8a0 Merge pull request #69 from redwoodjs/pp-fix-node22-json-import
fix: register ESM loader hook for Node 22 JSON import attributes
2026-03-23 10:45:57 +13:00
Peter Pistorius 0f8ca6b046 chore: reference issue #67 in changeset
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 10:43:46 +13:00
Peter Pistorius 25c9f633d6 Update devcontainer. 2026-03-23 10:40:03 +13:00
Peter Pistorius 6ada7215bf fix: register ESM loader hook for Node 22 JSON import attributes
@actions/workflow-parser imports .json files without `with { type: "json" }`,
which Node 22 rejects. This adds a custom ESM loader hook that transparently
patches the missing attribute at runtime.

Closes #67

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 09:30:57 +13:00
Peter Pistorius 17d8a34e37 chore: version packages 0.3.3 @redwoodjs/agent-ci@0.3.3 dtu-github-actions@0.3.3 2026-03-18 08:22:48 +13:00
Peter Pistorius 206f712456 Merge pull request #66 from redwoodjs/fix/remove-execa-dep
fix(dtu): replace execa with node:child_process
2026-03-18 08:16:08 +13:00
Peter Pistorius 6233723198 fix(dtu): replace execa with node:child_process
execa was in devDependencies but imported in production code,
causing ERR_MODULE_NOT_FOUND when running via npx. Replaced with
Node's built-in child_process.exec and removed execa entirely.
2026-03-18 08:14:43 +13:00
Peter Pistorius 1916d5d1ef ci: add binary smoke test to smoke-tests workflow
Build and execute the released binary as part of smoke tests: verify shebang is correct, run built binary directly via node, and run built binary via npx (simulates npx install). Catches shebang issues, broken imports, and bin-field misconfigurations before publishing.
2026-03-18 08:11:25 +13:00
Peter Pistorius b73f926ef5 Merge pull request #62 from redwoodjs/changeset-release/main
chore: version packages
2026-03-18 07:11:11 +13:00
Peter Pistorius b0b9a15abf fix: resolve merge conflict in CHANGELOG.md 2026-03-18 07:09:32 +13:00
Peter Pistorius 8f77c2cbc7 Merge pull request #56 from redwoodjs/dependabot/npm_and_yarn/npm_and_yarn-eeacf2bf74
chore(deps): bump flatted from 3.3.4 to 3.4.1 in the npm_and_yarn group across 1 directory
2026-03-18 07:08:07 +13:00
Peter Pistorius 9660546716 Merge branch 'main' into changeset-release/main 2026-03-18 07:07:25 +13:00
Peter Pistorius 7357393c0e fix: add shebang to CLI entry point for npx compatibility
The dist/cli.js was missing #!/usr/bin/env node, causing npx to execute it as a shell script. Version 0.3.2
@redwoodjs/agent-ci@0.3.2 dtu-github-actions@0.3.2
2026-03-18 07:04:34 +13:00
github-actions[bot] 1162660fe8 chore: version packages 2026-03-17 16:04:52 +00:00
Peter Pistorius 0d5a027e1c chore: add changeset for job execution fixes 2026-03-18 05:04:07 +13:00
Peter Pistorius c2bde4d2ec Merge pull request #61 from redwoodjs/changeset-release/main
chore: version packages
@redwoodjs/agent-ci@0.3.1 dtu-github-actions@0.3.1
2026-03-17 22:37:44 +13:00
github-actions[bot] 2e9e8bb6f9 chore: version packages 2026-03-17 08:41:15 +00:00
Peter Pistorius 6e0ace7c3a chore: add changeset for job execution fixes 2026-03-17 21:37:04 +13:00
Peter Pistorius d85cc56690 Merge pull request #60 from simoncrypta/main
fix: handle rejected promises in job execution
2026-03-17 21:32:02 +13:00
Peter Pistorius ed4a92ebd5 Fix pull-requests. 2026-03-17 21:30:04 +13:00
Simon Gagnon 4bfd515bff refactor: use type guards and attach taskName to error 2026-03-16 23:21:17 -04:00
Simon Gagnon 1dcf0d74ef fix: handle rejected promises in job execution 2026-03-16 23:03:14 -04:00
Peter Pistorius 8fadb39584 Fix docs formatting. 2026-03-17 08:13:29 +13:00
Peter Pistorius 9769aac57b Update docs. 2026-03-17 08:10:35 +13:00
Peter Pistorius e8e2e823ea chore: update README, add engines field, scope release workflow paths 2026-03-16 21:26:58 +13:00
Peter Pistorius d74b1e634e Fix publishing. @redwoodjs/agent-ci@0.3.0 dtu-github-actions@0.3.0 2026-03-16 18:24:38 +13:00
dependabot[bot] 682829fbb4 chore(deps): bump flatted from 3.3.4 to 3.4.1 in the npm_and_yarn group across 1 directory
Dependabot couldn't find the original pull request head commit, f5e2b3d218a7e704cc378f9aae902dc339f96216.
2026-03-16 05:21:31 +00:00
Peter Pistorius 1ad079b338 chore: remove derive package and clean up references 2026-03-16 10:41:20 +13:00
Peter Pistorius c088fb5063 fix: use Node.js 24 for npm OIDC trusted publishing support
npm OIDC requires npm CLI >= 11.5.1, which is bundled with Node 24.
Node 22's npm doesn't support the OIDC handshake, causing 404 errors.
2026-03-16 07:48:21 +13:00
Peter Pistorius ec1b9d12c6 fix: add repository field for npm OIDC provenance verification 2026-03-16 07:31:17 +13:00
Peter Pistorius bad063f192 fix: add NPM_CONFIG_PROVENANCE for OIDC npm publishing 2026-03-16 07:26:44 +13:00