Phase 10: Testing infrastructure and CI/CD#12
Merged
infinityabundance merged 1 commit intomainfrom Feb 2, 2026
Merged
Conversation
Add comprehensive testing framework: Unit Tests: - tests/unit/test_crypto.c: Key generation, session creation, encrypt/decrypt roundtrip, tamper detection, nonce verification (10 tests) - tests/unit/test_encoding.c: NAL unit parsing, keyframe detection, colorspace math, control packet validation (18 tests) Integration Tests: - tests/integration/test_stream.sh: End-to-end tests for startup, key generation, QR code, network binding, config handling CI/CD Pipeline (.github/workflows/ci.yml): - Multi-build matrix (release/debug) - Unit test job with all dependencies - Integration test job with Xvfb - Code quality checks (cppcheck) - Memory leak detection (valgrind) - Artifact upload for binaries and logs Tools: - tools/latency-analyzer.py: Parse latency logs, generate p50/p95/p99 percentiles, detect frame drops, provide recommendations, optional matplotlib plots Makefile Updates: - test: Run all tests - test-build: Build test binaries - test-unit: Run unit tests only - test-integration: Run integration tests - test-clean: Clean test artifacts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New Files
tests/unit/test_crypto.ctests/unit/test_encoding.ctests/integration/test_stream.sh.github/workflows/ci.ymltools/latency-analyzer.pyCI/CD Jobs
Test Results
Usage
Test plan
🤖 Generated with Claude Code