Integrate continuous live building using Project Genie simulation - #132
Integrate continuous live building using Project Genie simulation#132Igor Holt (igor-holt) wants to merge 2 commits into
Conversation
This commit automates the continuous building ("Project Genie" simulation)
for Yennefer by introducing a `project-genie` application block to the
PM2 `ecosystem.config.cjs` configuration.
Additionally, `scripts/genesis.cjs` has been hardened to securely write
to the local genesis journal (avoiding EACCES) and uses `crypto.randomInt`
instead of `Math.random()` to address pseudorandom number generator warnings.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
yennefer | c403c05 | Jul 11 2026, 07:43 AM |
There was a problem hiding this comment.
Code Review
This pull request registers a new PM2 process named 'project-genie' and refactors 'scripts/genesis.cjs' to use a helper function 'writeJournal' for logging, relocate the journal file path, and utilize 'crypto.randomInt' for safer random selection. Feedback suggests moving the journal log file out of the 'scripts/' directory to avoid cluttering the source code and prevent untracked files in version control.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| mind: path.join(__dirname, '../yennefer-observatory/public/evolution.json'), | ||
| body: path.join(__dirname, '../yennefer-observatory/src/components/generated'), | ||
| journal: '/home/yenn/.yennefer/genesis_journal.jsonl' | ||
| journal: path.join(__dirname, 'genesis_journal.jsonl') |
There was a problem hiding this comment.
Writing runtime log/journal files directly into the scripts/ directory clutters the source code directory and can lead to untracked files in version control (e.g., when running git status).\n\nIt is highly recommended to store runtime logs in the project root or a dedicated logs/ directory, and ensure that the log file is added to your .gitignore file.\n\nUsing the project root is a safe and clean alternative:\npath.join(__dirname, '../genesis_journal.jsonl')
journal: path.join(__dirname, '../genesis_journal.jsonl')
This commit resolves CI failures during the Cloudflare Workers build process by aligning `wrangler.toml` with the actual project structure. The build command now targets the `yennefer-observatory` directory (with `--legacy-peer-deps` to bypass typescript peer dependency conflicts) instead of a non-existent `frontend` directory, and serves assets from `yennefer-observatory/dist`. It also updates the main entrypoint to `.mjs`, corrects the compatibility date, and removes the placement block. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|



Adds a PM2 instance named
project-geniepointing toscripts/genesis.cjswithGENESIS_LOOPset to'true'. It also cleans up some of thescripts/genesis.cjsexecution code to correctly path to its output file (fixing permission errors on/home/yenn/.yennefer) and utilizescryptoinstead ofMath.random().PR created automatically by Jules for task 4969768496624492232 started by Igor Holt (@igor-holt)