noCV
BMONO-108 · Adopt safely

Bound parallel commands and stop cleanly on cancellation

Practice briefTaskAdvanced

Selective tasks saturate a laptop and leave child processes alive when the parent command is interrupted.

Focused work estimate
3h 30m + prerequisites
Priority in the scenario
Medium
Engineering practice
Process management · Concurrency

Estimated field mix

  • Developer tooling100%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional internal tools team maintains eighteen packages. Engineers currently run everything because the affected-package script occasionally misses downstream consumers.

Setup prerequisites

  • Create a local six-package fixture with a dependency cycle, shared compiler configuration, and two example changes.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Enforce configured parallelism between one and the fixture package count.
  • Stop scheduling new work after cancellation.
  • Report completed, failed, and cancelled tasks separately.

Implementation constraints

  • Execute only trusted fixture commands in this exercise.

Verification to include

  • Observe the concurrency ceiling with delayed fixtures.
  • Cancel mid-run and verify owned child processes terminate.

Deliverables

  • Bounded command scheduler.

Rollout and recovery

Default to conservative parallelism; provide serial mode for recovery.

Value of the work

For the engineer: Practice graph analysis, reproducible commands, and safe developer-tool failure modes.

For the team: Produce an inspectable CI selection plan that avoids unnecessary work without silently skipping consumers.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.