Conversation
🔒 Aisle Security AnalysisWe found 1 potential security issue(s) in this PR:
1. 🟡 Unpinned GitHub Action reference (supply-chain risk) in CI workflow
DescriptionThe CI workflow executes a third-party GitHub Action using only a mutable major-version tag:
Vulnerable code (newly added): - name: Download dist artifact
if: github.event_name == 'push' && matrix.task == 'test'
uses: actions/download-artifact@v8This is especially relevant because these steps run on RecommendationPin GitHub Actions to an immutable commit SHA (and optionally keep the human-readable tag as a comment), then use automation (e.g., Dependabot) to update. Example: - name: Download dist artifact
uses: actions/download-artifact@<FULL_COMMIT_SHA> # v8
with:
name: dist-build
path: dist/Apply the same pinning strategy to other Analyzed PR: #52279 at commit Last updated on: 2026-03-22T14:15:54Z |
Greptile SummaryThis PR fixes a missing Key changes:
Confidence Score: 5/5
Reviews (1): Last reviewed commit: "ci: build dist before macos tests" | Re-trigger Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1667865a40
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - name: Build dist (Windows) | ||
| if: github.event_name != 'push' && matrix.task == 'test' | ||
| run: pnpm build |
There was a problem hiding this comment.
Avoid full
pnpm build in each PR test shard
On pull_request runs, this step now executes pnpm build inside every Windows test shard; .github/workflows/ci.yml already fans this job out to 6 shards, and the build script in package.json goes through scripts/runtime-postbuild.mjs into scripts/stage-bundled-plugin-runtime-deps.mjs, which runs npm install --omit=dev for bundled plugins that opt into openclaw.bundle.stageRuntimeDependencies (see extensions/discord/package.json, extensions/feishu/package.json, extensions/slack/package.json, and extensions/telegram/package.json). That means a transient npm registry/network failure now knocks out all PR test shards before the unit tests start, even though the original regression only needed dist/plugin-sdk/*.js; a narrower build or shared artifact would avoid introducing this CI-only failure mode.
Useful? React with 👍 / 👎.
* ci: hydrate dist before plugin-sdk test lanes * ci: skip bun-only dist build on PRs * ci: build dist before macos tests
* ci: hydrate dist before plugin-sdk test lanes * ci: skip bun-only dist build on PRs * ci: build dist before macos tests
* ci: hydrate dist before plugin-sdk test lanes * ci: skip bun-only dist build on PRs * ci: build dist before macos tests
Summary
Verification