Repository navigation
Showcase: Refactor README for "Curb Appeal" and Simplicity - #6
Conversation
- Transform README.md into a high-converting landing page (Golden Template). - Move detailed deployment and setup instructions to docs/DEPLOYMENT.md. - Create CONTRIBUTING.md with basic guidelines. - Add .jules/showcase.md journal. - Fix broken/relative links and add critical link array.
|
👋 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. |
#6, #9) Make the following constants configurable via environment variables while retaining their original values as defaults: Worker (docker-runner.ts): - SYSTEM_RESERVE_MB (default: 2048) - CONTAINER_TIMEOUT_MS (default: 7200000 / 2 hours) - CPUS_PER_SIM (default: 2) Worker (worker.ts): - API_TIMEOUT_MS (default: 10000) - HEARTBEAT_INTERVAL_MS (default: 15000) API (job-store-factory.ts): - STALE_PENDING_THRESHOLD_MS (default: 300000 / 5 min) - STALE_RUNNING_THRESHOLD_MS (default: 9000000 / 2.5 hours) - REQUEUE_COOLDOWN_MS (default: 120000 / 2 min) All use the parseInt(process.env.X || 'default', 10) pattern. The REQUEUE_COOLDOWN_MS constant is shared between the "not stuck yet" check and the per-job cooldown check in recoverStaleQueuedJob. Co-Authored-By: Claude Opus 4.6 <[email protected]>
#79) * chore: make hardcoded timeouts and constants configurable via env vars (#6, #9) Make the following constants configurable via environment variables while retaining their original values as defaults: Worker (docker-runner.ts): - SYSTEM_RESERVE_MB (default: 2048) - CONTAINER_TIMEOUT_MS (default: 7200000 / 2 hours) - CPUS_PER_SIM (default: 2) Worker (worker.ts): - API_TIMEOUT_MS (default: 10000) - HEARTBEAT_INTERVAL_MS (default: 15000) API (job-store-factory.ts): - STALE_PENDING_THRESHOLD_MS (default: 300000 / 5 min) - STALE_RUNNING_THRESHOLD_MS (default: 9000000 / 2.5 hours) - REQUEUE_COOLDOWN_MS (default: 120000 / 2 min) All use the parseInt(process.env.X || 'default', 10) pattern. The REQUEUE_COOLDOWN_MS constant is shared between the "not stuck yet" check and the per-job cooldown check in recoverStaleQueuedJob. Co-Authored-By: Claude Opus 4.6 <[email protected]> * style: use string literals for default constant values Addresses Gemini review feedback — replace `String(N * M * ...)` expressions with pre-computed string literals ('300000', '9000000', '7200000') for better readability. The inline comments already document the human-readable durations. Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
This PR refactors the
README.mdto align with the "Showcase" persona's "Golden Template" for improved first impressions and user onboarding.Changes:
Verification:
npm runcommands in Quick Start are accurate.PR created automatically by Jules for task 7983374682078245161 started by @TytaniumDev