Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
chore(publish): cover new packages in publish.yml allow-list + fix mcp-workforce build#104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c319d15
chore(publish): add runtime + deploy + mcp-workforce to the publish a…
0d90878
fix(mcp-workforce): align memory scope enum with PersonaMemoryScope
c3e478f
fix(publish): sync release-notes packageOrder with expanded allow-list
4581946
fix(examples): linear-shipper read spec metadata from inputSpecs
f68e999
fix(persona-kit): make integration-source fixtures pass the schema test
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -85,11 +85,17 @@ jobs: | ||
| - name: Resolve target packages | ||
| id: targets | ||
| run: | | ||
| # Dependency order: persona-kit → workload-router → cli → agentworkforce. | ||
| # persona-kit is a leaf dep consumed by workload-router and cli, so it | ||
| # must publish first. The top-level `agentworkforce` wrapper depends on | ||
| # `@agentworkforce/cli`, so it must publish last. | ||
| echo "packages=persona-kit workload-router cli daytona-runner agentworkforce" >> "$GITHUB_OUTPUT" | ||
| # Dependency order (topological): | ||
| # persona-kit (leaf — consumed by everyone) | ||
| # runtime (→ persona-kit; consumed by deploy + mcp-workforce) | ||
| # workload-router (→ persona-kit; consumed by cli) | ||
| # deploy (→ persona-kit + runtime; consumed by cli) | ||
| # mcp-workforce (→ persona-kit + runtime) | ||
| # daytona-runner (no workspace deps) | ||
| # cli (→ persona-kit + workload-router + deploy) | ||
| # agentworkforce (→ cli — umbrella wrapper, must publish last) | ||
| # personas-core publishes via the separate publish-personas.yml workflow. | ||
| echo "packages=persona-kit runtime workload-router deploy mcp-workforce daytona-runner cli agentworkforce" >> "$GITHUB_OUTPUT" | ||
coderabbitai[bot] marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| # Lockstep baseline heal. The workspace publishes every package at the | ||
| # same version, so if any package's local version lags either its own | ||
| @@ -689,7 +695,19 @@ jobs: | ||
| // didn't publish an umbrella stamp (e.g. version: none re-runs). | ||
| const releaseVersion = process.env.RELEASE_VERSION || canonicalVersion; | ||
| const packageOrder = ['persona-kit', 'workload-router', 'cli', 'daytona-runner', 'agentworkforce']; | ||
| // Mirrors the topological order used in the "Resolve target | ||
| // packages" step. Sorting release-notes entries by this order | ||
| // ensures missing packages don't all collapse to indexOf=-1. | ||
| const packageOrder = [ | ||
| 'persona-kit', | ||
| 'runtime', | ||
| 'workload-router', | ||
| 'deploy', | ||
| 'mcp-workforce', | ||
| 'daytona-runner', | ||
| 'cli', | ||
| 'agentworkforce', | ||
| ]; | ||
| const entries = versionsRaw.trim().split(/\s+/).filter(Boolean).map((entry) => { | ||
| const idx = entry.indexOf(':'); | ||
| return { pkg: entry.slice(0, idx), ver: entry.slice(idx + 1) }; | ||
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
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
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
2 changes: 2 additions & 0 deletions
2 packages/persona-kit/src/__fixtures__/personas/integration-source-deployer.json
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
2 changes: 2 additions & 0 deletions
2 packages/persona-kit/src/__fixtures__/personas/integration-source-service-account.json
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
2 changes: 2 additions & 0 deletions
2 packages/persona-kit/src/__fixtures__/personas/integration-source-workspace.json
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
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
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 packageOrder array in release notes not updated with new packages, causing incorrect sort order
The
packageOrderarray at line 698 still lists only the old set of packages (persona-kit,workload-router,cli,daytona-runner,agentworkforce) and is missing the three new packages added by this PR:runtime,deploy, andmcp-workforce. SinceArray.prototype.indexOf()returns-1for missing elements, all three new packages will sort before every known package (includingpersona-kit), producing an incorrect ordering in the GitHub Release notes body. The intended topological order frompublish.yml:88-98is not reflected here.(Refers to line 698)
Was this helpful? React with 👍 or 👎 to provide feedback.