Commit Graph

27 Commits

Author SHA1 Message Date
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
Peter Pistorius 1ad079b338 chore: remove derive package and clean up references 2026-03-16 10:41:20 +13:00
Peter Pistorius d2023fc9f3 fix: prevent recursive double test execution in pnpm -r test
pnpm -r test was including the root workspace, whose test script
is itself `pnpm -r test`, causing every test to run twice in parallel.
Both runs share /tmp/dtu_cache, and when one run's beforeEach cleanup
deleted temp files the other run's server was using → ENOENT.

Add --include-workspace-root=false to prevent the root workspace from
being matched by recursive test runs.
2026-03-16 07:00:42 +13:00
Peter Pistorius d20287e73b v0.1.1 2026-03-13 16:03:38 +02:00
Peter Pistorius c8dd79f478 chore: move cli and dtu-github-actions into packages/ 2026-03-13 00:07:29 +02:00
Peter Pistorius 5b8acda506 Rename machinen to agent-ci
- Rename package from 'machinen' to 'agent-ci' across all source, tests, scripts, configs, and docs
- Rename CLI binary from 'machinen' to 'agent-ci'
- Rename .machinen → .agent-ci, .env.machinen → .env.agent-ci, MACHINEN_* → AGENT_CI_*
- Rename --runner flag to --name/-n (--runner still accepted for compat)
- agent-ci-dev script now builds DTU before running CLI
- Extract YAML compatibility tables to cli/compatibility.md
- Expand CLI usage docs with per-command flag tables
- Document DOCKER_HOST support for remote Docker
2026-03-12 22:35:26 +02:00
Peter Pistorius 3a93aaeb16 Update deps. 2026-03-10 13:43:18 +02:00
Peter Pistorius 7b66daedc9 feat(cli): unified multi-runner tree rendering
- Add RenderContext class that composites multiple workflow trees
  into a single logUpdate frame, grouped by workflow name
- Multi-job workflows always share a RenderContext so all runners
  appear in one composite tree (fixes overwriting bug)
- --all mode runs workflows in parallel via Promise.allSettled
- Completed jobs collapse to a single ✓/✗ summary line
- Paused jobs show retry hint as child node
- Suppress console.log/emit in shared context to prevent logUpdate
  cursor corruption
- handleRun returns JobResult[] with single summary at the end
- Add warm-cache serialization for --all mode
- Add taskId to buildJob in multi-job path
- Simplify machinen-dev script to run tsx directly
2026-03-10 00:15:10 +02:00
Peter Pistorius d81da85fc9 chore: improve README docs, add machinen-dev alias, default pause-on-failure
- Document workflow relevance criteria for --all in README
- Add machinen-dev script alias to root package.json
- Make --pause-on-failure the default, add --exit-on-failure/-x to opt out
- Remove unused dev script, concurrently, and wait-on deps
- Move tagline from root README to cli/README
2026-03-09 22:22:18 +02:00
Peter Pistorius 290cd13d91 feat: Add releasing workflow. 2026-03-09 16:11:47 +02:00
Peter Pistorius d2f83ac215 Removing UI. 2026-03-07 20:59:08 +02:00
Peter Pistorius 07eee7403f fix: exclude ui from typecheck, fix formatting
- Switch typecheck from 'pnpm -r exec tsgo' to 'pnpm -r run typecheck'
  to skip ui package (electrobun ships .ts source with type errors)
- Add typecheck script to cli/package.json
- Fix formatting in cli/src/cli.ts
2026-03-07 00:43:50 +02:00
Peter Pistorius baabf8e0df Rename supervisor to cli. 2026-03-06 22:57:53 +02:00
Peter Pistorius 922b01df41 Rewrite the past. Closes #14. 2026-03-06 21:54:22 +02:00
Peter Pistorius b349c3557a chore(core): centralize default working directory in working-directory.ts 2026-03-06 08:50:29 +02:00
Peter Pistorius bd4c72bfa7 Fix commit hook. 2026-02-24 18:43:43 +02:00
Peter Pistorius a89e35668a Merge remote-tracking branch 'origin/main' into pp-ui 2026-02-23 23:52:55 +02:00
Peter Pistorius f614c5be3a Fix tests. 2026-02-23 23:41:32 +02:00
Peter Pistorius 252a05337c feat: Implement initial Electrobun desktop UI with core components and configuration. 2026-02-21 11:58:35 +02:00
Peter Pistorius c763c304df Rename runner to supervisor. 2026-02-20 11:17:49 +02:00
Peter Pistorius 4cb53b4bc4 Stablize. 2026-02-19 21:50:55 +02:00
Peter Pistorius aaf6572f6b Add pre-commit hook using husky and ensure lint fails on warnings 2026-02-19 19:13:34 +02:00
Peter Pistorius 1f282ca79f Fix linting errors. 2026-02-19 18:44:03 +02:00
Peter Pistorius 1bc7b6321e feat: Introduce broad updates across SDK, runner components, and build infrastructure, including new git configuration and documentation. 2026-02-19 18:28:06 +02:00
Peter Pistorius 0f4b6b8cf5 feat: Add HEAD method support to the health check endpoint and enhance the dev script with named concurrently processes and a corrected filter path. 2026-02-11 14:09:27 +02:00
Peter Pistorius 48b339f642 feat: Orchestrate local development with concurrently and wait-on, updating service ports and streamlining DTU scripts. 2026-02-11 11:48:28 +02:00
Peter Pistorius 19dacf5ca9 feat: Initialize pnpm monorepo with workspace configuration, package.json, and .env.example, while removing a placeholder workflow. 2026-02-10 22:00:56 +02:00