H-6544: Load Petrinaut in HASH in an iFrame, and add the AI assistant#8790
H-6544: Load Petrinaut in HASH in an iFrame, and add the AI assistant#8790CiaranMn wants to merge 12 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
PR SummaryHigh Risk Overview Security and observability tighten around that split: middleware applies a dedicated embed CSP ( An authenticated Edge API ( Reviewed by Cursor Bugbot for commit f62dd02. Bugbot is set up for automated code reviews on this repo. Configure here. |
🤖 Augment PR SummarySummary: This PR isolates Petrinaut’s execution by moving it into a sandboxed iframe, and adds a streamed AI assistant backed by an authenticated OpenAI proxy. Changes:
Technical Notes: Adds CORS headers for self-hosted fonts to work from a null-origin iframe, and conditionally disables Sentry init inside the embed document in favor of postMessage-based error reporting. 🤖 Was this summary useful? React with 👍 or 👎 |
… proxy to edge page router api
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## cm/processes-pages-in-hash #8790 +/- ##
===========================================================
Coverage 59.04% 59.04%
===========================================================
Files 1341 1341
Lines 129387 129387
Branches 5837 5837
===========================================================
+ Hits 76395 76397 +2
+ Misses 52091 52089 -2
Partials 901 901 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Ciaran Morinan <CiaranMn@users.noreply.github.com>
Co-authored-by: Ciaran Morinan <CiaranMn@users.noreply.github.com>
Co-authored-by: Ciaran Morinan <CiaranMn@users.noreply.github.com>
Co-authored-by: Ciaran Morinan <CiaranMn@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 96463c8. Configure here.

🌟 What is the purpose of this PR?
Two changes to Petrinaut in HASH:
Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
🛡 What tests cover this?
❓ How to test this?
/processeson the preview deploymentNote that 'Create'ing a net seems to not work on the preview deployment, but it does locally. Not sure what's happening there but it works locally, will need to test again in prod.