Title: improvement(blocks): document child workflow deployment behavior by TheodoreSpeaks · Pull Request #7145 · simstudioai/sim · GitHub
Open Graph Title: improvement(blocks): document child workflow deployment behavior by TheodoreSpeaks · Pull Request #7145 · simstudioai/sim
X Title: improvement(blocks): document child workflow deployment behavior by TheodoreSpeaks · Pull Request #7145 · simstudioai/sim
Description: Summary The Workflow block's bestPractices metadata explained how to pick and reason about the child workflow, but never covered deployment. Added a bullet stating that manual/draft parent executions run the child's draft while deployed parent executions run the child's active deployment, so the child must be deployed (and redeployed after edits) before the parent is. Matches the executor: useDeployed = isCustomBlock || ctx.isDeployedContext selects loadChildWorkflowDeployed vs loadChildWorkflow, and a deployed parent with an undeployed child throws Child workflow is not deployed. Fixed once in block metadata rather than in a Copilot-only prompt — bestPractices is serialized into the copilot block JSON and projected into the v2 catalog the CLI reads, so all consumers pick it up from the single source. Type of Change Improvement Testing Tested manually. bun run lint, check:audits (33/33), and the block-registry audit pass. Ran the focused consumer tests: blocks/blocks.test.ts (89), plus projection-invariants, catalog-sweep, and vfs/serializers (59). No test added: no test in the repo asserts on bestPractices for any block, and this is prose metadata with no behavioral surface — a test here would only assert wording. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary The Workflow block's bestPractices metadata explained how to pick and reason about the child workflow, but never covered deployment. Added a bullet stating that manual/draft parent exe...
X Description: Summary The Workflow block's bestPractices metadata explained how to pick and reason about the child workflow, but never covered deployment. Added a bullet stating that manual/draft parent...
Opengraph URL: https://github.com/simstudioai/sim/pull/7145
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e3b9078c-9edc-373d-62f4-a3b6425ae7ea |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8C44:19A5BB:7DAE1:B6CC8:6AFB286F |
| html-safe-nonce | 6f4290c67afa1d00188d4704b7cf2e0a31bdd8c26012e2da5d78906790889da1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzQ0OjE5QTVCQjo3REFFMTpCNkNDODo2QUZCMjg2RiIsInZpc2l0b3JfaWQiOiI4OTEyOTg3ODA0NTczMzEzMTM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 25d17176b30cfe6c31c7781e1ee5738bbfa4135c2690cc2006ae0ed9b924b2d0 |
| hovercard-subject-tag | pull_request:4371952857 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7145/files |
| twitter:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| og:image:alt | Summary The Workflow block's bestPractices metadata explained how to pick and reason about the child workflow, but never covered deployment. Added a bullet stating that manual/draft parent exe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 40c7ffe00e8bbb3ca8403c83d7ef110379c9eba2cbc7a7c333b037ffd940d4e4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f494d77c37809e03e18d49c6e9945c57e0b64070 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width