Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

This PR introduces new integration tests for the eldritch-core crate to improve test coverage and ensure stability of arithmetic and comparison operations.

Changes:

  • implants/lib/eldritchv2/eldritch-core/tests/arithmetic_extended.rs: New test file covering:
    • Mixed-type arithmetic errors (e.g., 1 + []).
    • Extended floor division (//) and modulo (%) scenarios, specifically targeting negative operands and mixed Int/Float types to verify div_euclid logic.
    • Invalid bitwise operations on non-integer types.
  • implants/lib/eldritchv2/eldritch-core/tests/comparison_extended.rs: New test file covering:
    • NaN comparison logic (IEEE 754 compliance).
    • Mixed-type equality (e.g., 1 == 1.0).
    • Type errors for ordered comparisons of incompatible types.

Stability Report:

  • All new tests passed a 20x stress-run locally.
  • No flakes or non-deterministic behavior observed.

PR created automatically by Jules for task 17723913222932354164 started by @KCarretto

- Added `arithmetic_extended.rs` to cover mixed-type operations, floor division/modulo with negative numbers, and invalid bitwise operations.
- Added `comparison_extended.rs` to cover NaN comparisons and mixed-type equality checks.
- Verified 20x stability for new tests.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
463    ±0 463    ±0 0    ±0 0    ±0 0    ±0 0    ±0 1ms    ±0

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#146 463 463 0 0 0 0 25.7s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
463 0 0 1.7s

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
TestGetRandomName/NoDuplicates 1 1.7s 1.7s
TestGetRandomName 1 1.7s 1.7s
TestPreventPubSubColdStarts_ZeroInterval 1 1.0s 1.0s
TestCreateTestData 1 860ms 860ms
TestMuxHistory 1 750ms 750ms
TestAPI 1 640ms 640ms
TestReverseShell_E2E 1 510ms 510ms
TestNewShellHandler 1 510ms 510ms
TestFetchAsset 1 480ms 480ms
TestFetchAsset/Large_File 1 470ms 470ms

🎉 No failed tests in this run. | 🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

@KCarretto KCarretto closed this Jan 1, 2026
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.

2 participants