Add NFS cache support for CI and fix voter filter performance
Summary
- Add NFS cache support for CI sync data sharing across builders
- Migrate test jobs to docker-compose pattern (like balance_tracker)
- Switch to shared haf-app-test-runner image from common-ci-configuration
- Add missing index for voter filtering in witness votes history endpoint
Key Changes
NFS Cache Integration:
- Use shared NFS cache at
/nfs/ci-cache/for HAF sync data - Add cache-manager.sh integration for cross-builder data sharing
- Fix permissions and extraction for HAF service containers
CI Infrastructure:
- Migrate to docker-compose based test pattern
- Use haf-app-test-runner image for consistent test environment
- Fix various submodule and permission issues
Performance Fix:
- Add
witness_votes_history_witness_voterindex for efficient voter filtering - Fixes statement timeout (HTTP 500) in
get_witness_votes_historyendpoint when filtering by voter-name
Test plan
- Pipeline passes with all tests (lint, sync, regression, performance, pattern)
-
get_witness_votes_historyvoter filter no longer times out