-
-
Notifications
You must be signed in to change notification settings - Fork 0
feat(procmond): implement comprehensive test suite #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
769eae8
feat(test): configure test infrastructure with nextest profiles
unclesp1d3r 802e108
fix(test): address spec compliance issues in test infrastructure
unclesp1d3r 7866225
test(wal): expand WriteAheadLog tests to 95% coverage
unclesp1d3r 3a27ab3
test(procmond): add comprehensive EventBusConnector tests for >80% co…
unclesp1d3r a2985cf
test(rpc_service): expand RpcServiceHandler tests from 14 to 49 for ~…
unclesp1d3r 0e6b978
test(registration): expand RegistrationManager tests from 15 to 50 fo…
unclesp1d3r 05d60e2
test(config): add comprehensive ConfigurationManager tests for >80% c…
unclesp1d3r 24993bc
test(registration): add concurrent heartbeat tests and update spec
unclesp1d3r 64c7e38
test(procmond): add comprehensive Actor Pattern unit tests
unclesp1d3r 7aecafb
test(procmond): add Event Bus Communication integration tests
unclesp1d3r c581c92
fix(procmond): complete assertions in event bus integration tests
unclesp1d3r 8ad19b5
test(procmond): add RPC Communication integration tests
unclesp1d3r 6891534
test(procmond): add Cross-Platform integration tests
unclesp1d3r 8a6e7e6
test(procmond): add Lifecycle Tracking integration tests
unclesp1d3r 095cc0a
test(procmond): add Chaos/Resilience tests for adverse conditions
unclesp1d3r dc9978b
test(procmond): add comprehensive security tests
unclesp1d3r e83af2f
test(procmond): add performance baseline tests with criterion
unclesp1d3r ac4dbf3
docs(procmond): add comprehensive test suite documentation
unclesp1d3r 79ca028
fix: address CI clippy warnings and update bytes crate
unclesp1d3r 72f9c34
fix(tests): address PR review comments from security scanners
unclesp1d3r cadc0fa
fix(tests): add clippy allow for semicolon_outside_block in cfg blocks
unclesp1d3r 1c9d944
fix(tests): use PowerShell for Windows sleep in lifecycle tests
unclesp1d3r 3cd5b5e
fix(tests): address comprehensive PR review findings
unclesp1d3r 169fda8
chore(config): add taskmaster and environment files to gitignore
unclesp1d3r 42afa44
refactor(tests): reduce code duplication in chaos tests
unclesp1d3r 62bae41
fix: address CodeRabbit review findings
unclesp1d3r 48be882
fix(security): address CodeQL and zizmor findings
unclesp1d3r 53ffc5c
docs(agents): add security scanner guidance for CI
unclesp1d3r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # DaemonEye nextest configuration | ||
| # Documentation: https://nexte.st/docs/configuration/ | ||
|
|
||
| [store] | ||
| # Store test results and metadata | ||
| dir = "target/nextest" | ||
|
|
||
| # ============================================================================= | ||
| # TEST PROFILES | ||
| # ============================================================================= | ||
|
|
||
| [profile.default] | ||
| # Default test execution settings | ||
| # Fail fast to quickly identify broken tests during development | ||
| fail-fast = true | ||
| # Run tests with moderate parallelism by default | ||
| test-threads = "num-cpus" | ||
| # Show test output for failures | ||
| failure-output = "immediate-final" | ||
| # Status level for test results | ||
| status-level = "pass" | ||
| # Slow-warning at 60s, hard-kill after 120s (60s × terminate-after 2) | ||
| slow-timeout = { period = "60s", terminate-after = 2 } | ||
| # No retries in local development (use CI profile for flaky-test retries) | ||
| retries = 0 | ||
|
|
||
| [profile.default.junit] | ||
| # JUnit XML output for CI integration | ||
| path = "target/nextest/default/junit.xml" | ||
| report-name = "daemoneye-tests" | ||
|
|
||
| # ----------------------------------------------------------------------------- | ||
| # CI Profile - Optimized for continuous integration | ||
| # Usage: cargo nextest run --profile ci | ||
| # ----------------------------------------------------------------------------- | ||
| [profile.ci] | ||
| # Don't fail fast in CI to get full test results | ||
| fail-fast = false | ||
| # Use all available CPUs in CI | ||
| test-threads = "num-cpus" | ||
| # Show all failures at the end | ||
| failure-output = "final" | ||
| # Higher timeout for CI environments (may be slower) | ||
| slow-timeout = { period = "120s", terminate-after = 3 } | ||
| # Retry flaky tests in CI | ||
| retries = 2 | ||
|
|
||
| [profile.ci.junit] | ||
| path = "target/nextest/ci/junit.xml" | ||
| report-name = "daemoneye-ci-tests" | ||
| store-success-output = false | ||
| store-failure-output = true | ||
|
|
||
| # ----------------------------------------------------------------------------- | ||
| # Coverage Profile - For running with llvm-cov | ||
| # Usage: cargo llvm-cov nextest --profile coverage | ||
| # ----------------------------------------------------------------------------- | ||
| [profile.coverage] | ||
| # Coverage runs should be thorough | ||
| fail-fast = false | ||
| # Single-threaded for accurate coverage | ||
| test-threads = 1 | ||
| # Extended timeout for coverage instrumentation overhead | ||
| slow-timeout = { period = "180s", terminate-after = 2 } | ||
| # No retries - we want deterministic results | ||
| retries = 0 | ||
| failure-output = "immediate-final" | ||
|
|
||
| [profile.coverage.junit] | ||
| path = "target/nextest/coverage/junit.xml" | ||
| report-name = "daemoneye-coverage-tests" |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -131,3 +131,5 @@ megalinter-reports/ | |
| # Local Claude configuration | ||
| .claude.local.md | ||
| .claude/*.local.md | ||
|
|
||
| .taskmaster/ | ||
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.