fix(publish.yml): add dispatch to ORDER build list#96
Conversation
The Phase 0 PR added @agent-assistant/dispatch to the runtime-core PACKAGES matrix but missed the ORDER= list further down in the same workflow file. As a result the publish job built every other package but skipped dispatch, then failed at "Upload build artifacts" with `cp: cannot stat 'packages/dispatch/dist': No such file or directory`. This fix inserts `dispatch` after `persona` in ORDER (same position as in PACKAGES), so the dist directory exists when the upload step copies it. Both packages are types-only with zero runtime deps; build order between them doesn't matter. Failed run: https://github.com/AgentWorkforce/agent-assistant/actions/runs/26327788454 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
Your plan currently allows 1 review/hour. Refill in 32 minutes and 39 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
One-line fix to
.github/workflows/publish.yml'sORDER=build list so dispatch'sdist/exists when the upload step copies it. Phase 0 PR #95 addeddispatchto thePACKAGESmatrix and to package.json workspaces, but missed this second list further down in the same file.Failed run
https://github.com/AgentWorkforce/agent-assistant/actions/runs/26327788454 — "Build, validate, and version" / "Upload build artifacts" step failed with:
Test plan
gh workflow run publish.yml -f package_group=runtime-core -f version=minor. Confirm @agent-assistant/persona@0.5.0 + @agent-assistant/dispatch@0.1.0 ship to npm.🤖 Generated with Claude Code