I refactored the puppeteer and secret-agent assignments:
such that each implements these interfaces;
for secret-agent it also meant that some of the logic from the runAssignments script (logic to setup core etc) has been moved to the secret-agent lib file;
Within my runAssignments i also use commandor such that I can for example provide a flag to enable one or multiple runners using the enum:
Problem Statement
The public code base's runner can only runner secret-agent out of the box. The next public version probably will only be able to run just Hero.
There is an implementation available for puppeteer but it is more of an example and not really useable within the runner context as-is.
Proposal
For my own fork of the
runner
module of this codebase I implemented an interface as followsrunner/interfaces/runner.ts
:I refactored the puppeteer and secret-agent assignments:
Within my runAssignments i also use
commandor
such that I can for example provide a flag to enable one or multiple runners using the enum:I implemented this as an initial job. This way I can also easily add my own stacks and run them using the runner.