Polish browser runner experience - #15
Conversation
✅ Deploy Preview for hafa-code ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What changed
Validation
./scripts/gate.sh: 7 frontend files / 22 tests, 51 Rails tests / 406 assertions, production CSP/runtime verification, and npm audit with 0 vulnerabilitiesbundle exec bundler-audit check: no vulnerabilitiesGuardrails
The existing 30-second startup deadline, 3-second execution deadline, Stop behavior, per-project component boundary, and browser-only execution model remain intact.
Greptile Summary
The PR improves browser-runner status messaging, accessibility, timeout recovery, and warm-worker reuse while resetting Python project and module state between runs.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Run requested] --> B{Active run?} B -->|Yes| C[Stop worker and clear timer] B -->|No| D[Clear stale timer] C --> E[Create replacement worker] D --> F{Warm worker available?} F -->|Yes| G[Reuse worker] F -->|No| E E --> H[Load runtime] G --> I[Reset project and runtime state] H --> I I --> J[Execute code] J -->|Input requested| K[Wait for terminal input] K --> J J -->|Success| L[Retain idle worker] J -->|Error or timeout| M[Stop worker]Reviews (2): Last reviewed commit: "Harden warm runner lifecycle" | Re-trigger Greptile