Skip to content

Commit cf6f41f

Browse files
committed
🔧 Regenerate the publish workflow for the new dependency edges (#83)
`scripts/gen-publish-workflow.md` derives the publish job graph from the workspace manifests, and this stack changed two edges: the code-review package now depends on core and runtime for its declarations, and the CLI depends on the code-review package. So `code-review-agent` gains those `needs`, moves ahead of the CLI, and the CLI waits on it. Generated output — `deno task gen:publish-workflow`, which CI re-runs and diffs. No hand edits.
1 parent af850e2 commit cf6f41f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎.github/workflows/publish-packages.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Validate the manifests declare this version
3131
run: |
3232
VERSION="${{ steps.resolve.outputs.value }}"
33-
for f in packages/durable-streams/deno.json packages/runtime/deno.json packages/core/deno.json packages/acp/deno.json packages/testing/deno.json packages/test-agent/deno.json packages/web/deno.json packages/workflow/deno.json packages/cli/deno.json packages/code-review-agent/deno.json; do
33+
for f in packages/durable-streams/deno.json packages/runtime/deno.json packages/core/deno.json packages/acp/deno.json packages/code-review-agent/deno.json packages/testing/deno.json packages/test-agent/deno.json packages/web/deno.json packages/workflow/deno.json packages/cli/deno.json; do
3434
declared="$(jq -r .version "$f")"
3535
if [ "$declared" != "$VERSION" ]; then
3636
echo "::error::$f declares $declared, not $VERSION — the tag does not match the manifests"
@@ -89,6 +89,13 @@ jobs:
8989
package: packages/acp
9090
version: ${{ needs.version.outputs.value }}
9191

92+
code-review-agent:
93+
needs: [version, core, runtime]
94+
uses: ./.github/workflows/publish-one.yml
95+
with:
96+
package: packages/code-review-agent
97+
version: ${{ needs.version.outputs.value }}
98+
9299
testing:
93100
needs: [version, core, durable-streams, runtime]
94101
uses: ./.github/workflows/publish-one.yml
@@ -118,19 +125,12 @@ jobs:
118125
version: ${{ needs.version.outputs.value }}
119126

120127
cli:
121-
needs: [version, acp, core, durable-streams, runtime, test-agent, testing, web, workflow]
128+
needs: [version, acp, code-review-agent, core, durable-streams, runtime, test-agent, testing, web, workflow]
122129
uses: ./.github/workflows/publish-one.yml
123130
with:
124131
package: packages/cli
125132
version: ${{ needs.version.outputs.value }}
126133

127-
code-review-agent:
128-
needs: [version]
129-
uses: ./.github/workflows/publish-one.yml
130-
with:
131-
package: packages/code-review-agent
132-
version: ${{ needs.version.outputs.value }}
133-
134134
jsr:
135135
needs: [version]
136136
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)