availableEnginesForProduct skipped only health:down factories, so an engine advertised solely by a host that had stopped heartbeating could still be offered in the picker. Also skip factories whose lastHeartbeatAt is older than 90s (mirrors the coordinator's DEFAULT_STALE_FACTORY_MS), and treat an unparseable timestamp as stale. Adds unit coverage for the engine-collection, down, stale, and graceful-degradation paths. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| admin-web | ||
| tracker-web | ||
| ux-lab | ||