If a deliverable is created on a project that has no `pipelineTemplateId`, look up the org's default `PipelineTemplate` and use its stages — mirrors the existing fallback in `createProject`. Also persists the chosen template back onto the project so future deliverables don't re-resolve and the deliverable detail UI can show "Pipeline: …". Closes the gap where a deliverable created before a pipeline was attached to its project landed with zero stages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| stores | ||
| types | ||
| instrumentation.ts | ||
| middleware.ts | ||