Repository navigation
Closed
Labels
Description
Parent
What to build
Final integration slice: rename the bundled demo config from controller.yaml to fastcs.yaml, update the demo to host two controllers so the multi-controller feature is visible out of the box, ensure the launcher does not hard-code the filename, regenerate the JSON schema for the new dict-by-id options, and document manual migration for existing FastCS apps.
Scope:
- Rename
src/fastcs/demo/controller.yaml→src/fastcs/demo/fastcs.yaml. - Demo
fastcs.yamldeclares two controllers (e.g. twoTemperatureControllerinstances with distinct ids and connection settings) so the feature is exercised end-to-end onpython -m fastcs.demo. - Launcher does not hard-code
fastcs.yamlas a filename — the path remains a CLI argument. launch ... schemaregenerated and committed (src/fastcs/demo/schema.json) reflecting the new dict-by-idcontrollers:block.- Changelog entry covering the breaking change with manual migration guidance:
controller.yaml→fastcs.yamlrenamecontroller:block →controllers: { <id>: { type: ..., controller: ... } }formEpicsIOCOptions.pv_prefixremoved; the id is the prefix- Single-class
type:inference allowed
- Documentation updated to use the new filename and dict form throughout examples.
Out of scope (per the parent PRD): tutorial rewrite, useful defaults for omitted transport:, super-PVI parent record, automated migration tooling, per-controller GUI/docs overrides, per-transport id aliases, multi-process deployments.
User stories from #351 covered: 28, 29, 30, 31.
Acceptance criteria
-
src/fastcs/demo/fastcs.yamlexists with two configured controllers; oldcontroller.yamlremoved -
python -m fastcs.demoruns end-to-end and serves both controllers over the configured transports - Launcher accepts any filename via CLI argument; nothing hard-codes
fastcs.yaml -
src/fastcs/demo/schema.jsonregenerated and matches the new dict-by-id options - Changelog entry documents the breaking change and manual migration steps
- Documentation examples use
fastcs.yamland the dict form - Full test suite stays green; docs build stays green
Activity