Skip to content

Fix seed script data extraction and add dry-run mode#74

Merged
amrabed merged 2 commits into
feat/ai-assistant-14015290105785623889from
fix-seed-script-data-extraction-718667886052125552
Jun 8, 2026
Merged

Fix seed script data extraction and add dry-run mode#74
amrabed merged 2 commits into
feat/ai-assistant-14015290105785623889from
fix-seed-script-data-extraction-718667886052125552

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

The seed.ts script was failing to correctly extract data from several files in src/data/ that exported objects (records) instead of arrays. I've updated the script to handle both formats, improved the serialization of nested data for better embedding quality, and added a --dry-run flag for safer testing.


PR created automatically by Jules for task 718667886052125552 started by @amrabed

- Support both array and object exports from data files.
- Improve stringify utility to handle nested structures and skip React elements.
- Add --dry-run flag to skip database writes and AI calls.
- Enhance logging for better visibility during processing.
@google-labs-jules

Copy link
Copy Markdown
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!

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


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

@amrabed amrabed marked this pull request as ready for review June 8, 2026 01:09
@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@amrabed amrabed merged commit c7d6f6a into feat/ai-assistant-14015290105785623889 Jun 8, 2026
4 checks passed
@amrabed amrabed deleted the fix-seed-script-data-extraction-718667886052125552 branch June 8, 2026 01:10
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