Skip to content

Expand CI test coverage#95

Merged
Darkroom4364 merged 1 commit into
devfrom
issue/94-expand-ci-test-coverage
Jun 2, 2026
Merged

Expand CI test coverage#95
Darkroom4364 merged 1 commit into
devfrom
issue/94-expand-ci-test-coverage

Conversation

@Darkroom4364

Copy link
Copy Markdown
Owner

Closes #94

Summary

  • add server HTTP polling lifecycle tests for heartbeat registration, command drain, result deobfuscation, and malformed/listener route rejection
  • expand operator API tests for agent listing, body/path command queueing, result retrieval, and invalid command requests
  • add agent tests for XOR obfuscation, jitter bounds, token-aware command classification, and deterministic download/SOCKS checks without external services

Verification

  • server: go test ./...
  • server: go vet ./...
  • server: go build -o /private/tmp/microc2-server-ci ./cmd
  • agent: cargo fmt --check
  • agent: cargo test --locked
  • agent: cargo clippy --locked --all-targets (passes with existing warnings)
  • agent: cargo build --locked (passes with existing warnings)
  • Foxguard: npx foxguard@latest diff --format json origin/dev . -> 0 new issues

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c2586979-42d7-4238-aaab-3898756a7101

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue/94-expand-ci-test-coverage

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Darkroom4364 Darkroom4364 merged commit 1c9eb90 into dev Jun 2, 2026
11 checks passed
@Darkroom4364 Darkroom4364 deleted the issue/94-expand-ci-test-coverage branch June 2, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant