Repository navigation
Simplified build packages ci workflow - #28850
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
✅ Files skipped from review due to trivial changes (5)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe PR adds the 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run @tryghost/admin-x-settings:test:acceptance |
✅ Succeeded | 9m 46s | View ↗ |
nx run ghost:test:ci:integration |
✅ Succeeded | 3s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | 3s | View ↗ |
nx run-many -t lint -p @tryghost/admin-x-design... |
✅ Succeeded | 37s | View ↗ |
nx run ghost:test:ci:legacy |
✅ Succeeded | <1s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 5s | View ↗ |
nx run @tryghost/activitypub:test:acceptance |
✅ Succeeded | 36s | View ↗ |
nx run ghost:build:assets |
✅ Succeeded | 2s | View ↗ |
Additional runs (7) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-06-24 15:33:48 UTC
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.github/workflows/ci.yml (1)
1612-1615: 🩺 Stability & Availability | 🔴 Critical | ⚡ Quick winRemove stale matrix context from
build_packagesjob name.After removing the job matrix, the job still references
${{ matrix.package_name }}inname(Line 1610). That context is undefined for non-matrix jobs and can break workflow evaluation.Proposed fix
- name: Build ${{ matrix.package_name }} + name: Build public app packages🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/workflows/ci.yml around lines 1612 - 1615, The build_packages job definition still contains a reference to ${{ matrix.package_name }} in its name field even though the job matrix has been removed, causing the workflow to fail due to undefined matrix context. Locate the name field in the build_packages job and remove the ${{ matrix.package_name }} reference, replacing it with a static job name that no longer depends on the matrix context.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In @.github/workflows/ci.yml:
- Around line 1612-1615: The build_packages job definition still contains a
reference to ${{ matrix.package_name }} in its name field even though the job
matrix has been removed, causing the workflow to fail due to undefined matrix
context. Locate the name field in the build_packages job and remove the ${{
matrix.package_name }} reference, replacing it with a static job name that no
longer depends on the matrix context.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 99ccb0d8-9551-4d5a-a764-890ca7f64f74
📒 Files selected for processing (9)
.github/workflows/ci.ymlapps/activitypub/package.jsonapps/admin-toolbar/package.jsonapps/announcement-bar/package.jsonapps/comments-ui/package.jsonapps/portal/package.jsonapps/signup-form/package.jsonapps/sodo-search/package.jsone2e/package.json
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28850 +/- ##
=======================================
Coverage 74.26% 74.26%
=======================================
Files 1564 1564
Lines 135019 135019
Branches 16386 16383 -3
=======================================
+ Hits 100270 100271 +1
+ Misses 33766 33735 -31
- Partials 983 1013 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
no ref - remove matrix config in favor of nx run-many with tag selector - update e2e build:apps script to use new public-app tag

no issue
Matrixing the build_packages jobs saves a little bit of time on the build step, but every job ends up running
pnpm installwhich takes ~30-40s per job. Builds for public app packages are relatively quick in comparison, so combining things into one job will speed up the overall CI time and reduce the number of concurrent workers used.Also noticed that the e2e apps and build_packages jobs differed slightly, updated the nx tags in each package to standardize.