Describe the bug
In the Byzantine Fault Tolerant Multi-Auditor Consensus System, if all 3 auditors (OpenAI, Anthropic, Google) timeout simultaneously due to a network partition, the asyncio.gather() call hangs indefinitely instead of falling back or returning a failure quorum.
To Reproduce
Steps to reproduce the behavior:
- Initialize the
BFTAuditor with valid provider configs.
- Disconnect the network completely to simulate a global timeout.
- Call
await bft.audit_step(1, step_data).
- See the process hang indefinitely.
Expected behavior
The auditor should respect the configured 1-second timeout per auditor and immediately return a consensus failure or fallback state.
Screenshots
N/A
Environment (please complete the following information):
- OS: macOS Sonoma
- Browser: N/A
- Node.js version (run
node -v): N/A
- Supabase configured? (yes/no): no
- Relevant env vars set? (example:
VITE_SUPABASE_URL) (yes/no): yes
- Screenshot of console/network errors (if any): N/A
Additional context
It seems the global timeout parameter on the asyncio.gather wrapper is missing.
Describe the bug
In the Byzantine Fault Tolerant Multi-Auditor Consensus System, if all 3 auditors (OpenAI, Anthropic, Google) timeout simultaneously due to a network partition, the
asyncio.gather()call hangs indefinitely instead of falling back or returning a failure quorum.To Reproduce
Steps to reproduce the behavior:
BFTAuditorwith valid provider configs.await bft.audit_step(1, step_data).Expected behavior
The auditor should respect the configured 1-second timeout per auditor and immediately return a consensus failure or fallback state.
Screenshots
N/A
Environment (please complete the following information):
node -v): N/AVITE_SUPABASE_URL) (yes/no): yesAdditional context
It seems the global timeout parameter on the
asyncio.gatherwrapper is missing.