FE-1532: Track a launch config for the Petrinaut dev servers - #9391
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
8fc42db to
68817f3
Compare
PR SummaryLow Risk Overview Wires Reviewed by Cursor Bugbot for commit 77cc453. Bugbot is set up for automated code reviews on this repo. Configure here. |
68817f3 to
441e013
Compare
441e013 to
59523b5
Compare
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 4a55526. Configure here.
a4dbd9e to
28fb7b2
Compare
28fb7b2 to
77cc453
Compare
There was a problem hiding this comment.
🟢 Approval recommended
All reviewed changes are focused and no unresolved issues were identified.
Pull request overview
Adds launch configurations for Petrinaut development servers with configurable ports.
Changes:
- Adds launch entries for Storybook, the demo website, and documentation.
- Reads
PORTwhile preserving default ports. - Passes
PORTthrough Turborepo for documentation.
File summaries
| File | Description |
|---|---|
libs/@hashintel/petrinaut/scripts/dev.sh |
Configures Storybook’s port. |
apps/petrinaut-website/vite.config.ts |
Configures Vite’s development port. |
apps/petrinaut-docs/turbo.json |
Allows PORT through Turborepo. |
apps/petrinaut-docs/package.json |
Configures Astro’s development port. |
.claude/launch.json |
Defines three auto-port launch configurations. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Important
Dev tooling, nothing user-facing.
Summary
Before this PR, no launch configuration was tracked, so every agent session rediscovered the Petrinaut dev servers and their ports by hand. The docs site has to start through Turborepo, which regenerates the architecture bundle first, and running the package script alone skips that step.
Adds a launch configuration naming the three servers, and lets each of them take its port from the environment so a preview can move off a port that is already busy.
Links
Changes
Launch configuration
autoPortDev servers
PORTPORTin TurborepoNext steps
petrinaut-optimizationentry runs the demo site against the local optimizer serviceTest coverage
@apps/petrinaut-websiteand@apps/petrinaut-docsjobs:How to test
PORT=7801 yarn workspace @hashintel/petrinaut devyarn workspace @hashintel/petrinaut devPORT=7803 yarn exec turbo run dev --filter @apps/petrinaut-docs