Skip to content

Add custom formations configuration for service worker team generation#1

Merged
drzo merged 1 commit into
mainfrom
copilot/configure-custom-formations
May 23, 2026
Merged

Add custom formations configuration for service worker team generation#1
drzo merged 1 commit into
mainfrom
copilot/configure-custom-formations

Conversation

Copy link
Copy Markdown

Copilot AI commented May 23, 2026

Adds configurable team formation strategies to the CI workflow, enabling different worker organization patterns for build and validation.

Changes

  • Workflow dispatch inputs: Manual trigger with formation (standard/parallel/sequential/distributed) and worker_count (1-4) parameters
  • Formation environment config: Default strategy, worker roles, and scaling limits
  • formation-setup job: Dynamically generates worker matrix based on selected formation strategy
  • Enhanced main job: Uses dynamic matrix strategy for parallel execution across workers
  • formation-summary job: Reports team generation results to job summary

Formation Strategies

Strategy Behavior
standard Single worker handles all tasks
parallel Multiple workers (builder, validator, deployer) execute simultaneously
sequential Workers execute in order, passing results
distributed Tasks split across different runners

Usage

Trigger manually via workflow dispatch or run automatically on push/PR with defaults:

workflow_dispatch:
  inputs:
    formation:
      type: choice
      options: [standard, parallel, sequential, distributed]
    worker_count:
      type: choice
      options: ['1', '2', '3', '4']

@drzo drzo marked this pull request as ready for review May 23, 2026 07:31
@drzo drzo merged commit 115d102 into main May 23, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request May 23, 2026
…rmations

SHA: 115d102
Reason: push, by drzo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants