From d266efcda830b0ef90a9840e5a18834c6e78b302 Mon Sep 17 00:00:00 2001 From: kirillk Date: Fri, 24 Jul 2026 13:47:28 -0400 Subject: [PATCH] chore(jetbrains): rename bundled publish workflow --- .../{bundle-jetbrains.yml => publish-jetbrains-bundled.yml} | 4 ++-- .github/workflows/publish-jetbrains.yml | 2 +- packages/kilo-jetbrains/RELEASE_TODO.md | 4 ++-- packages/kilo-jetbrains/RELEASING.md | 2 +- packages/kilo-jetbrains/docs/bundled-release-plan.md | 2 +- script/check-workflows.ts | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) rename .github/workflows/{bundle-jetbrains.yml => publish-jetbrains-bundled.yml} (99%) diff --git a/.github/workflows/bundle-jetbrains.yml b/.github/workflows/publish-jetbrains-bundled.yml similarity index 99% rename from .github/workflows/bundle-jetbrains.yml rename to .github/workflows/publish-jetbrains-bundled.yml index d2f18df51f..97dde98765 100644 --- a/.github/workflows/bundle-jetbrains.yml +++ b/.github/workflows/publish-jetbrains-bundled.yml @@ -1,5 +1,5 @@ # kilocode_change - new file -name: bundle-jetbrains +name: publish-jetbrains-bundled on: workflow_dispatch: @@ -14,7 +14,7 @@ on: type: string concurrency: - group: bundle-jetbrains-pr-${{ inputs.pr }} + group: publish-jetbrains-bundled-pr-${{ inputs.pr }} cancel-in-progress: false permissions: diff --git a/.github/workflows/publish-jetbrains.yml b/.github/workflows/publish-jetbrains.yml index 9dc7ef0d0c..665d4780b3 100644 --- a/.github/workflows/publish-jetbrains.yml +++ b/.github/workflows/publish-jetbrains.yml @@ -202,7 +202,7 @@ jobs: - name: Dispatch bundled GitHub release build run: | - gh workflow run bundle-jetbrains.yml \ + gh workflow run publish-jetbrains-bundled.yml \ --repo "$GITHUB_REPOSITORY" \ --ref main \ -f pr="$PR_NUMBER" \ diff --git a/packages/kilo-jetbrains/RELEASE_TODO.md b/packages/kilo-jetbrains/RELEASE_TODO.md index ee515adaa7..1500e75128 100644 --- a/packages/kilo-jetbrains/RELEASE_TODO.md +++ b/packages/kilo-jetbrains/RELEASE_TODO.md @@ -37,7 +37,7 @@ - Review and edit `packages/kilo-jetbrains/CHANGELOG.md` in the generated release PR. - Merge the release PR to trigger publish from `jetbrains/vx.y.z-rc.n`, for example `jetbrains/v7.0.1-rc.1`. - Watch the `publish-jetbrains` workflow. -- Confirm the follow-up `bundle-jetbrains` workflow completes and attaches `kilo-code-x.y.z-rc.n-bundled.zip` to the prerelease. +- Confirm the follow-up `publish-jetbrains-bundled` workflow completes and attaches `kilo-code-x.y.z-rc.n-bundled.zip` to the prerelease. - Download and retain the workflow artifact if needed. - Confirm the update appears on the JetBrains Marketplace `eap` channel. - Confirm the GitHub Release for the `jetbrains/vx.y.z-rc.n` tag exists and contains the JetBrains plugin ZIP asset. @@ -51,6 +51,6 @@ - Review and edit `packages/kilo-jetbrains/CHANGELOG.md` in the generated release PR. - Merge the release PR to trigger publish from `jetbrains/vx.y.z`. - Watch the `publish-jetbrains` workflow. -- Confirm the follow-up `bundle-jetbrains` workflow completes, attaches `kilo-code-x.y.z-bundled.zip`, and updates `https://kilo-org.github.io/kilocode/jetbrains/updatePlugins.xml`. +- Confirm the follow-up `publish-jetbrains-bundled` workflow completes, attaches `kilo-code-x.y.z-bundled.zip`, and updates `https://kilo-org.github.io/kilocode/jetbrains/updatePlugins.xml`. - Confirm the update appears on the default JetBrains Marketplace channel. - Confirm the GitHub Release for the `jetbrains/vx.y.z` tag exists and contains the JetBrains plugin ZIP asset. diff --git a/packages/kilo-jetbrains/RELEASING.md b/packages/kilo-jetbrains/RELEASING.md index f6314c4f06..8f76303701 100644 --- a/packages/kilo-jetbrains/RELEASING.md +++ b/packages/kilo-jetbrains/RELEASING.md @@ -132,7 +132,7 @@ Publishing behavior: The workflow checks out `jetbrains/v` for verification, signing, and Marketplace publishing. It overlays the reviewed `packages/kilo-jetbrains/gradle.properties` and `packages/kilo-jetbrains/CHANGELOG.md` from the merged PR before rendering release notes and before `publishPlugin`, so the Marketplace plugin version, Marketplace notes, and GitHub Release use the reviewed metadata. -After Marketplace publishing succeeds, `publish-jetbrains` dispatches `bundle-jetbrains`. The bundled workflow rebuilds the same `jetbrains/v` tag with `-Pkilo.cli.bundled=true`, signs and verifies the all-platform plugin ZIP, then uploads `kilo-code--bundled.zip` to the same GitHub Release. Bundled builds keep `kilo.cli.pinned=true`; the build flag only embeds the pinned CLI release assets so runtime extracts the bundled current-platform CLI instead of downloading it. +After Marketplace publishing succeeds, `publish-jetbrains` dispatches `publish-jetbrains-bundled`. The bundled workflow rebuilds the same `jetbrains/v` tag with `-Pkilo.cli.bundled=true`, signs and verifies the all-platform plugin ZIP, then uploads `kilo-code--bundled.zip` to the same GitHub Release. Bundled builds keep `kilo.cli.pinned=true`; the build flag only embeds the pinned CLI release assets so runtime extracts the bundled current-platform CLI instead of downloading it. Stable bundled releases also publish the GitHub Pages custom plugin repository XML: diff --git a/packages/kilo-jetbrains/docs/bundled-release-plan.md b/packages/kilo-jetbrains/docs/bundled-release-plan.md index 0ce1390819..7a45f698e2 100644 --- a/packages/kilo-jetbrains/docs/bundled-release-plan.md +++ b/packages/kilo-jetbrains/docs/bundled-release-plan.md @@ -43,7 +43,7 @@ Bundled build command: ## Phase 3: Bundle Workflow -- Add `.github/workflows/bundle-jetbrains.yml`. +- Add `.github/workflows/publish-jetbrains-bundled.yml`. - Add a final success step to `publish-jetbrains.yml` that dispatches the bundle workflow with the merged release PR and merge commit. - The bundle workflow checks out the merged release PR for validation, then checks out the immutable `jetbrains/v` tag, restores reviewed release metadata, builds the bundled variant, signs it, verifies it, and uploads `kilo-code--bundled.zip` to the same GitHub Release. - Bundle ZIPs are produced for RC and stable releases. Only stable releases update the custom plugin repository XML. diff --git a/script/check-workflows.ts b/script/check-workflows.ts index 46ec3530cf..0fecb9bd74 100644 --- a/script/check-workflows.ts +++ b/script/check-workflows.ts @@ -29,7 +29,6 @@ const DIR = path.join(ROOT, ".github", "workflows") const active = new Set([ "auto-docs.yml", "beta.yml", - "bundle-jetbrains.yml", "check-forbidden-strings.yml", "check-kilo-generated-artifacts.yml", "check-md-table-padding.yml", @@ -45,6 +44,7 @@ const active = new Set([ "nix-eval.yml", "nix-hashes.yml", "prepare-jetbrains-release.yml", + "publish-jetbrains-bundled.yml", "publish-jetbrains.yml", "publish.yml", "smoke-test.yml",