v0.7.9 - Optimize Docker build caching and enforce static binary usage
- Restructure Dockerfile.alpine-musl for better layer caching * Build dependencies (secp256k1, libwebsockets) in separate cached layers * Copy submodules before source files to maximize cache hits * Reduce rebuild time from ~2-3 minutes to ~10-15 seconds for source changes - Remove 'musl' from binary names (c_relay_static_x86_64 instead of c_relay_static_musl_x86_64) - Enforce static binary usage in make_and_restart_relay.sh * Remove all fallbacks to regular make builds * Exit with clear error if static binary not found * Ensures JSON1 extension is always available - Fix build_static.sh hanging on ldd check with timeout - Remove sudo usage from build_static.sh (assumes docker group membership) These changes ensure consistent builds with JSON1 support and dramatically improve development iteration speed through intelligent Docker layer caching.
This commit is contained in:
28
test_results_20251011_105627.log
Normal file
28
test_results_20251011_105627.log
Normal file
@@ -0,0 +1,28 @@
|
||||
2025-10-11 10:56:27 - ==========================================
|
||||
2025-10-11 10:56:27 - C-Relay Comprehensive Test Suite Runner
|
||||
2025-10-11 10:56:27 - ==========================================
|
||||
2025-10-11 10:56:27 - Relay URL: ws://127.0.0.1:8888
|
||||
2025-10-11 10:56:27 - Log file: test_results_20251011_105627.log
|
||||
2025-10-11 10:56:27 - Report file: test_report_20251011_105627.html
|
||||
2025-10-11 10:56:27 -
|
||||
2025-10-11 10:56:27 - Checking relay status at ws://127.0.0.1:8888...
|
||||
2025-10-11 10:56:27 - \033[0;32m✓ Relay HTTP endpoint is accessible\033[0m
|
||||
2025-10-11 10:56:27 -
|
||||
2025-10-11 10:56:27 - Starting comprehensive test execution...
|
||||
2025-10-11 10:56:27 -
|
||||
2025-10-11 10:56:27 - \033[0;34m=== SECURITY TEST SUITES ===\033[0m
|
||||
2025-10-11 10:56:27 - ==========================================
|
||||
2025-10-11 10:56:27 - Running Test Suite: SQL Injection Tests
|
||||
2025-10-11 10:56:27 - Description: Comprehensive SQL injection vulnerability testing
|
||||
2025-10-11 10:56:27 - ==========================================
|
||||
==========================================
|
||||
C-Relay SQL Injection Test Suite
|
||||
==========================================
|
||||
Testing against relay at ws://127.0.0.1:8888
|
||||
|
||||
=== Basic Connectivity Test ===
|
||||
Testing Basic connectivity... [0;32mPASSED[0m - Valid query works
|
||||
|
||||
=== Authors Filter SQL Injection Tests ===
|
||||
Testing Authors filter with payload: '; DROP TABLE events; --... [1;33mUNCERTAIN[0m - Connection timeout (may indicate crash)
|
||||
2025-10-11 10:56:32 - \033[0;31m✗ SQL Injection Tests FAILED\033[0m (Duration: 5s)
|
||||
Reference in New Issue
Block a user