Commit Graph

375 Commits

Author SHA1 Message Date
Peter Pistorius b01655c081 Merge pull request #84 from redwoodjs/changeset-release/main
chore: version packages
@redwoodjs/agent-ci@0.6.0 dtu-github-actions@0.6.0
2026-03-28 07:33:32 +11:00
github-actions[bot] 987477bae4 chore: version packages 2026-03-27 20:32:23 +00:00
Peter Pistorius 78c0ca9d78 Merge pull request #94 from redwoodjs/fix/show-full-step-log-on-failure
fix: show full per-step log in failure summary
2026-03-28 07:31:52 +11:00
Peter Pistorius 5b52862ed0 fix: update commit status target URL to agent-ci.dev
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 07:27:20 +11:00
Peter Pistorius 8ddffdd1db ci: run checks on PR open for repo members
Add 'opened' to pull_request_target types so checks fire immediately
when a PR is created by an owner/member/collaborator. External
contributors still require the 'safe-to-run' label (handled by the
existing if: condition on each job).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 07:19:22 +11:00
Peter Pistorius d273b76c64 fix: show full per-step log in failure summary
Replace the 20-line tail (with "Last output:" label and indentation)
with the full content of the per-step log file already captured at
failedStepLogPath. Falls back to lastOutputLines when no log file
exists (e.g. container crash).

Adds reporter.test.ts to prove the behaviour, and an end-to-end check
in tests.yml that runs the retry-proof workflow and asserts the step
output appears in stdout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 07:15:11 +11:00
Peter Pistorius 6ea8a21e2e Fix website. 2026-03-27 23:29:09 +11:00
Peter Pistorius 11a66eeecf Merge pull request #91 from redwoodjs/feat/website
feat: move website to apps/website, improve content and fix SSR
2026-03-27 21:28:47 +11:00
Peter Pistorius a572503483 Merge main into feat/website, resolving conflicts
- CompatibilityMatrix: keep individual tables rendering, take expanded notes from main
- headers.ts: keep both pbs.twimg.com and unavatar.io in img-src CSP
- wrangler.jsonc: keep agent-ci-website worker name and routes
- compatibility.md: keep expanded notes from feat/website
- Remove welcome.tsx and welcome.module.css (replaced by new site)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 21:19:52 +11:00
Peter Pistorius 0f70009d6c chore(website): configure wrangler with production worker name and routes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 21:09:31 +11:00
Peter Pistorius ce28e03d90 fix(website): update xcancel.com to x.com and allow external avatar images in CSP
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 21:07:17 +11:00
Peter Pistorius bf5ff183b4 Move website. 2026-03-27 20:05:24 +11:00
Peter Pistorius e9c8ae3e6d Update marketing stats. 2026-03-27 17:41:55 +11:00
Peter Pistorius 9c7af4e683 Merge pull request #88 from redwoodjs/docs/compatibility-notes
docs: add explanatory notes for concurrency and local actions
2026-03-27 17:32:27 +11:00
Peter Pistorius bdd269ff10 feat: move website to apps/website, improve content and fix SSR
- Move website from website/ to apps/website/ (update pnpm workspace)
- Remove logo icon from navbar, keep AGENT-CI text
- Configure domain routes for agent-ci.dev in wrangler.jsonc
- Replace tabs with stacked tables in compatibility matrix
- Expand all ⚠️ and ❌ notes with reasons and details
- Update compatibility.md to match website content
- Fix useContext SSR error by removing motion/react, using CSS animations
- Add img-src CSP header for pbs.twimg.com (Twitter profile images)
- Remove npx run --all command from hero, rename button to Quick start
- Remove decorative border elements from hero section
- Update footer "Built by" link to rwsdk.com

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 17:27:26 +11:00
Peter Pistorius 221b869d80 Merge pull request #89 from redwoodjs/feat/website
feat: add website (agent-ci.dev) as workspace package
2026-03-27 16:20:06 +11:00
Peter Pistorius d1bdd9f02e feat: add website (agent-ci.dev) as workspace package
Moves the agent-ci.dev marketing site into the monorepo under website/.
Built with RWSDK + Tailwind CSS, deployed to Cloudflare Workers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 15:26:07 +11:00
Peter Pistorius fe5dd27ec5 docs: add explanatory notes for concurrency and local actions in compatibility.md
- Explain why concurrency is unsupported (server-side mechanism, no local coordinator)
- Document local actions (uses: ./) as unsupported with fail-fast behaviour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 15:01:00 +11:00
Peter Pistorius b9db825a32 Merge pull request #86 from redwoodjs/dependabot/npm_and_yarn/npm_and_yarn-e5a595f223
chore(deps): bump flatted from 3.4.1 to 3.4.2 in the npm_and_yarn group across 1 directory
2026-03-27 10:37:36 +11:00
Peter Pistorius 1a2ff652b5 Add video to example. 2026-03-27 10:36:24 +11:00
Peter Pistorius 76f64f4a35 docs: add marketing tweets directory with launch tweet
No changeset needed — docs-only change outside of packages/.
2026-03-27 10:18:44 +11:00
dependabot[bot] 571f8ebe71 chore(deps): bump flatted in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [flatted](https://github.com/WebReflection/flatted).


Updates `flatted` from 3.4.1 to 3.4.2
- [Commits](https://github.com/WebReflection/flatted/compare/v3.4.1...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 14:26:15 +00:00
Peter Pistorius 60b0105413 Merge pull request #83 from redwoodjs/feat/commit-status
feat: post GitHub commit status via gh CLI
2026-03-26 05:29:29 +13:00
Peter Pistorius 6e7494bc8b fix: remove tickmark from commit status description
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 05:28:33 +13:00
Peter Pistorius 98ccd6fb8f fix: use checkmark instead of emoji in commit status description
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 05:27:13 +13:00
Peter Pistorius ec535e1508 fix: remove 4-byte emoji from commit status description
GitHub's commit status API rejects 4-byte Unicode characters.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 03:40:41 +13:00
Peter Pistorius ad7482fcac fix: auto-run CI for repo members without requiring safe-to-run label
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 03:29:56 +13:00
Peter Pistorius f80dd3253d fix: remove push trigger from CI workflows to eliminate duplicate checks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 03:23:01 +13:00
Peter Pistorius a9cc7f7fca feat: update success commit status message
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 03:04:52 +13:00
Peter Pistorius 97227c4251 Merge pull request #77 from simoncrypta/fix/docker-host-ip
fix: make Docker host resolution universal
2026-03-26 02:41:29 +13:00
Simon Gagnon 345b24ba34 docs: deduplicate docker host config guidance
Keep root README concise by linking to the CLI README section as the source of truth for custom Docker host resolution configuration.
2026-03-24 19:31:00 -04:00
Simon Gagnon 79c7d65f36 refactor: remove host-side DNS probe for DTU host resolution
Simplify resolveDtuHost to deterministic precedence: AGENT_CI_DTU_HOST > AGENT_CI_DOCKER_BRIDGE_GATEWAY (outside Docker) > host.docker.internal. Removes misleading host-side dns.lookup that did not predict container-side reachability.
2026-03-24 19:31:00 -04:00
Simon Gagnon 1d1e4ec68c fix: preserve external DTU URLs and align host fallback docs
Limit Docker API URL rewrites to loopback hosts, keep alias-based defaults unless an explicit bridge gateway override is configured, and update docs/tests to match behavior.
2026-03-24 19:31:00 -04:00
Simon Gagnon 6d76c2d426 fix: fallback DTU host alias to bridge gateway
Try host.docker.internal first, then fallback to bridge gateway when alias resolution fails, with debug logging for fallback paths.
2026-03-24 19:31:00 -04:00
Simon Gagnon a9878186a0 fix: make Docker host resolution universal 2026-03-24 19:31:00 -04:00
Simon Gagnon c7c35248ec fix: use platform-specific Docker host IP for Linux compatibility
On Linux, host.docker.internal doesn't work by default (only available
since Docker 20.10+ and requires explicit configuration). This change:

- Detects macOS vs Linux and returns appropriate host IP
- Uses 172.17.0.1 (docker bridge gateway) on Linux host
- Uses host.docker.internal on macOS
- Adds containerUrl to ephemeral DTU for container-to-host communication
- Adds ExtraHosts mapping for containers to resolve host.docker.internal

Fixes connectivity issues when running agent-ci on Linux hosts.
2026-03-24 19:31:00 -04:00
Peter Pistorius 6e5375322a feat: post GitHub commit status via gh CLI after run completes
Closes #82

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 21:59:39 +13:00
Peter Pistorius abe5d014d1 Merge pull request #81 from redwoodjs/feat/demo-recording
Add demo recording and embed GIF in README
2026-03-24 20:04:53 +13:00
Peter Pistorius 53a6f05a6d feat: add demo recording and embed GIF in README
Add a VHS-based terminal recording that demonstrates the core agent-ci
workflow: pause on failure, fix the bug, retry the failed step.

The demo uses tmux split panes to show fixing code in one pane while
agent-ci is paused in the other. The tape auto-resets state on each
recording for easy re-recording.

No changeset needed — no packages/ code changed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 19:33:17 +13:00
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