Skip to content

device-health-oracle: update link.health and device.health #2669

@nikw9944

Description

@nikw9944

Add health promotion functionality to the device-health-oracle component as part of the network provisioning workflow (RFC12):

  • Device Health Oracle Implementation: Add automatic health promotion for devices and links in provisioning states (DeviceProvisioning, LinkProvisioning, SoftDrained, HardDrained) to mark them as ready without performing actual health checks
  • Batch Processing: Implement efficient batched transactions (8 items per batch) to handle large numbers of devices/links created simultaneously, respecting Solana's 1232-byte transaction limit
  • Signer Configuration: Add required signer keypair configuration to execute onchain transactions for updating health states
  • SDK Updates: Update the Go SDK's serviceability state enums to match the Rust implementation's numeric values (e.g., Deleting=3, Drained=5)
  • E2E Integration: Integrate device-health-oracle into the e2e test environment with proper keypair mounting and configuration

The implementation matches the current activator behavior by automatically promoting health states without performing actual health checks, serving as a placeholder until real health monitoring is implemented.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions