refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD [NationTech/Team#186] #278

Merged
johnride merged 1 commits from fix/refactorScorePayload into feat/iot-walking-skeleton 2026-05-05 14:04:44 +00:00
Owner

Removes the hand-typed ScorePayload struct and its custom schemars
schema function. DeploymentSpec.score is now typed as the strongly
typed ReconcileScore enum already used by the agent, eliminating
duplication and ensuring the CRD schema is derived automatically.

  • Add JsonSchema derive to PodmanService, PodmanV0Score, ReconcileScore
  • Enable podman feature on harmony dependency in operator
  • Re-export ReconcileScore/PodmanV0Score/PodmanService from crd module
  • Update harmony_apply_deployment and fleet_load_test examples
  • Remove TODO comment from harmony_apply_deployment

Wire format is unchanged (externally tagged {type, data}), so the
operator -> NATS KV -> agent path remains fully backward compatible.

Removes the hand-typed ScorePayload struct and its custom schemars schema function. DeploymentSpec.score is now typed as the strongly typed ReconcileScore enum already used by the agent, eliminating duplication and ensuring the CRD schema is derived automatically. - Add JsonSchema derive to PodmanService, PodmanV0Score, ReconcileScore - Enable podman feature on harmony dependency in operator - Re-export ReconcileScore/PodmanV0Score/PodmanService from crd module - Update harmony_apply_deployment and fleet_load_test examples - Remove TODO comment from harmony_apply_deployment Wire format is unchanged (externally tagged {type, data}), so the operator -> NATS KV -> agent path remains fully backward compatible.
stremblay added 1 commit 2026-04-28 12:02:08 +00:00
refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD
Some checks failed
Run Check Script / check (pull_request) Failing after 47s
4c78919998
Removes the hand-typed ScorePayload struct and its custom schemars
schema function. DeploymentSpec.score is now typed as the strongly
typed ReconcileScore enum already used by the agent, eliminating
duplication and ensuring the CRD schema is derived automatically.

- Add JsonSchema derive to PodmanService, PodmanV0Score, ReconcileScore
- Enable podman feature on harmony dependency in operator
- Re-export ReconcileScore/PodmanV0Score/PodmanService from crd module
- Update harmony_apply_deployment and fleet_load_test examples
- Remove TODO comment from harmony_apply_deployment

Wire format is unchanged (externally tagged {type, data}), so the
operator -> NATS KV -> agent path remains fully backward compatible.
stremblay changed title from refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD [#186] to refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD [NationTech/Team#186] 2026-04-28 12:03:53 +00:00
johnride force-pushed fix/refactorScorePayload from 4c78919998 to 95ccc974f9 2026-05-05 13:59:48 +00:00 Compare
johnride merged commit 92e86fb832 into feat/iot-walking-skeleton 2026-05-05 14:04:44 +00:00
johnride deleted branch fix/refactorScorePayload 2026-05-05 14:04:45 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NationTech/harmony#278
No description provided.