background-agents icon indicating copy to clipboard operation
background-agents copied to clipboard

Feature request: platform-level automations that target repo sets

Open rubenlangeweg opened this issue 5 months ago • 1 comments

Description

Automations are tied to one repo today. That makes "run a weekly security audit across these repos" awkward, because every automation assumes a single target repo and branch. We want automations that target a set of repos, spin up one child run per repo, and roll the results up under a single parent run. Use cases: weekly security audit, bug hunt, dependency review, recurring code health check across multiple repos.

Out of scope

  • Multi-repo editing inside one sandbox.
  • Building the actual scanners. This ticket only enables the orchestration model.

Acceptance criteria

  • Users can create an automation that targets multiple selected repos.
  • A scheduled run creates one parent run and one child run per repo.
  • Each child run uses its own repo's auth, branch, permissions, and concurrency limits.
  • Parent status reflects aggregate child status: pending, running, succeeded, failed, partial.
  • UI and API expose per-repo child results from the parent run.
  • A configurable max repo count and concurrency limit prevents accidental large fan-out.
  • One repo failing does not block or invalidate the others.
  • Tests cover scheduling, child run creation, partial failure, concurrency limits, and result aggregation.

Related

  • Multi-repo sessions: https://github.com/ColeMurray/background-agents/issues/453
  • Webhook automation support: https://github.com/ColeMurray/background-agents/issues/339
  • Generic webhook receiver: https://github.com/ColeMurray/background-agents/issues/494
  • Scheduler architecture: https://github.com/ColeMurray/background-agents/issues/820

rubenlangeweg avatar Jun 26 '26 07:06 rubenlangeweg

i believe this should be resolvable as functionality has been shipped

ColeMurray avatar Jul 10 '26 07:07 ColeMurray