Skip to content

Cancel/Resume a running build + multi-agent acceptance run - #8

Merged
trac41799 merged 1 commit into
mainfrom
hardening/production
Sep 29, 2026
Merged

trac41799 merged 1 commit into
mainfrom
hardening/production

Conversation

@trac41799

Copy link
Copy Markdown
Owner

Follow-up to #7. Adds the missing cancel/resume capability and records the multi-agent acceptance run.

Cancel / Resume from the app

  • New get_active_build_run_cmd(project_path) exposes the in-flight (or paused) run. build_app_cmd only returns when the pipeline finishes, so the UI had no way to learn the run_id in time to cancel — this closes that gap using the existing find_resumable_run.
  • BuildApp now polls the active run while building, shows Cancel (calls cancel_build_app_cmd, honoured between stages and by the supervisor's cancel_check every poll), and offers Resume for a paused run (awaiting_user/cancelled) via resume_build_app_cmd.
  • Registered the command; regenerated the ipc-unused snapshot deliberately (cancel/resume are now genuinely used). Added a BuildApp cancel-flow test.

Multi-agent acceptance run

The real pipeline test now drives two concurrent agents (independent steps in their own worktrees). Result: both status=done with schema-valid handoffs (950 / 702 bytes, all six sections), each writing its own file + test, verification passed, deploy + Dockerfile — 45 s total.

Gates

Rust 185 lib + 42 integration; Web 341; tsc/lint clean.

Known remaining (documented in ACCEPTANCE-RUN-3.md)

Cost accounting (M9 — agents' cost is never populated, so the cap cannot trigger), real vercel/Supabase proof, and AgentAdapter::spawn still receives arbitrary strings from the Runner page (pipeline itself now sends a constant pointer prompt).

@vercel

vercel Bot commented Sep 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
source-forge Ready Ready Preview Sep 29, 2026 3:44am UTC

@trac41799
trac41799 merged commit d7bbbae into main Sep 29, 2026
8 checks passed
- pipeline_commands: new get_active_build_run_cmd exposes the in-flight (or paused) run for a project path, using the existing find_resumable_run. build_app_cmd only returns when the pipeline finishes, so the UI previously had no way to know the run id in time to cancel.
- BuildApp: poll the active run while building, show Cancel (calls cancel_build_app_cmd, honoured between stages and by the supervisor's cancel check), and offer Resume for a paused run (awaiting_user/cancelled) via resume_build_app_cmd.
- IPC: register getActiveBuildRun; regenerate ipc-unused snapshot (cancel/resume are now genuinely used).
- tests: BuildApp cancel flow; web suite 341.

Gates: Rust 185 lib + 42 integration; Web 341; tsc/lint clean.

This branch was successfully deployed

1 active deployment
Preview — 2de7cbed Deployed Sep 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant