Skip to content

feat: End-to-end integration test with Postgres and data generation#24

Merged
soniapi merged 2 commits intolibfrom
integration-test-end-to-end-postgres-16637349897707855644
Mar 26, 2026
Merged

feat: End-to-end integration test with Postgres and data generation#24
soniapi merged 2 commits intolibfrom
integration-test-end-to-end-postgres-16637349897707855644

Conversation

@soniapi
Copy link
Owner

@soniapi soniapi commented Mar 26, 2026

This adds a complete native Rust integration test in tests/integration_test.rs. It spins up a PostgreSQL container using testcontainers, applies diesel migrations, sets up partitioned tables split by 180,000 using divider, natively generates 200,000 mock rows (ASK, BID, TRADE distribution) to an Excel file using rust_xlsxwriter, and feeds it to fill_partitions via a minimal built binary. Finally, it calculates mid-prices (mp) and costs (c) for all TRADE objects dynamically and updates the c column correctly in the DB.

Replaced all initial Python generation with pure Rust implementation to satisfy requirements.


PR created automatically by Jules for task 16637349897707855644 started by @soniapi

Co-authored-by: soniapi <396009+soniapi@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 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!

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


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

@soniapi soniapi force-pushed the integration-test-end-to-end-postgres-16637349897707855644 branch from 5ad5ed4 to 6ce6693 Compare March 26, 2026 04:39
@soniapi soniapi merged commit 7dced87 into lib Mar 26, 2026
1 check passed
@soniapi soniapi deleted the integration-test-end-to-end-postgres-16637349897707855644 branch March 26, 2026 04:39
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