FE-1534: Run Storybook against the real optimizer service - #9395
Merged
kube merged 4 commits intoSep 3, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
kube
force-pushed
the
cf/fe-1534-run-storybook-against-the-real-optimizer-service
branch
from
August 30, 2026 13:08
baaf0d1 to
1fcc66b
Compare
kube
force-pushed
the
cf/fe-1534-run-storybook-against-the-real-optimizer-service
branch
from
September 1, 2026 23:17
1fcc66b to
3a26525
Compare
kube
force-pushed
the
cf/fe-1534-run-storybook-against-the-real-optimizer-service
branch
from
September 2, 2026 15:04
3a26525 to
7006ea4
Compare
kube
force-pushed
the
cf/fe-1534-run-storybook-against-the-real-optimizer-service
branch
from
September 2, 2026 16:12
7006ea4 to
4ad2bc5
Compare
YannisZa
previously approved these changes
Sep 3, 2026
TimDiekmann
previously approved these changes
Sep 3, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to a manual request
Sep 3, 2026
kube
force-pushed
the
cf/fe-1534-run-storybook-against-the-real-optimizer-service
branch
from
September 3, 2026 13:03
018bba3 to
2d7149c
Compare
TimDiekmann
previously approved these changes
Sep 3, 2026
TimDiekmann
left a comment
Member
There was a problem hiding this comment.
re-approval of pre-rebase
kube
force-pushed
the
cf/fe-1534-run-storybook-against-the-real-optimizer-service
branch
from
September 3, 2026 14:20
2d7149c to
696a60d
Compare
TimDiekmann
approved these changes
Sep 3, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 3, 2026
Base automatically changed from
cf/fe-1529-local-optimizer-loop-docs-and-launcher
to
main
September 3, 2026 16:17
`turbo run dev --filter @hashintel/petrinaut -- --with-optimizer-service` starts the local Petrinaut Optimizer around Storybook through the shared dev-service module, replacing the launcher's --storybook mode.
kube
force-pushed
the
cf/fe-1534-run-storybook-against-the-real-optimizer-service
branch
from
September 3, 2026 16:17
696a60d to
0fdfdaf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Dev tooling, nothing user-facing.
Summary
Before this PR, demo website consumes Petrinaut's built dist, so editor changes need a rebuild before they show against the real optimizer. Storybook builds the editor from source with fast refresh but only offered a fake optimizer.
turbo run dev --filter @hashintel/petrinaut -- --with-optimizer-servicenow runs Petrinaut's Storybook against the real service. Service adapter moves into the shared optimizer client so the website and Storybook use one implementation.Links
Changes
Shared adapter
@local/petrinaut-optimizer-clientStorybook
/api/petrinaut-opt/*--with-optimizer-serviceTest coverage
service-optimization.test.tsin@local/petrinaut-optimizer-client:How to test
turbo run dev --filter @hashintel/petrinaut -- --with-optimizer-serviceturbo run dev --filter @hashintel/petrinautalone