Skip to content

fix: move the workspace to saucebase/core 2.0 - #398

Merged
roble merged 6 commits into
mainfrom
dev-22-10
Oct 23, 2026
Merged

roble merged 6 commits into
mainfrom
dev-22-10

Conversation

@roble

@roble roble commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Moves the contributor workspace to saucebase/core 2.0 and the module releases that support it.

  • Core 2.0: saucebase/core ^2.0 (locked v2.0.1). Laravel ^13.38 and larastan ^3.13.1, with the lock refreshed to the latest patch and minor releases.
  • SSR entry removed: resources/js/ssr.ts is deleted. Core 2.0 builds the server entry from app.ts (Inertia v3's default path), and the browser now hydrates the server HTML instead of rendering it again.
  • playwright.config.ts: uses core's saucebaseProjects({ devices, projects }). Order: database.setup first, then module setup projects, then the app's projects. Modules marked runAlone (coming-soon) run last, on their own.
  • Skills:
    • saucebase-frontend-development: server rendering rules (setup() runs on the server; browser-only work goes in afterMount()), entry paths (vue/app.ts, react/app.tsx), namespaced slots.
    • saucebase-testing: the ModulePlaywrightOptions table.
  • Taskfile: optional include for the upcoming newsletter module. It's skipped when that module isn't checked out.

Contributor upgrade

After pulling:

  1. Run git update-index --no-skip-worktree resources/js/ssr.ts if your checkout marked it skip-worktree, then delete the file.
  2. Run composer update and npm install.
  3. Run php ../../repos/installer/bin/saucebase stack <vue|react> so the stack files are regenerated from core 2.0 (the Blade view gets the app.css entry).

Tests

Run locally on core 2.0 before release:

  • PHPUnit: 2202 passed, 40 skipped.
  • E2E: Vue 183 passed, 5 skipped. React 183 passed, 5 skipped.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated frontend guidance for framework-specific entry points, setup and mount lifecycle hooks, component registration order, named slots, and server-rendering behavior.
    • Expanded Playwright guidance with project naming, filtering, setup dependencies, and module configuration.
  • Testing
    • Playwright projects are now supplied through the shared project configuration, with Desktop Chrome and core tests enabled.
  • Chores
    • Updated supported Laravel, Saucebase Core, and Larastan versions.
    • Newsletter tasks can now be included when the module is present.

roble and others added 5 commits October 22, 2026 16:31
…le setup hooks; update playwright.config.ts to streamline project configuration and remove unused module collection
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1
  • composer.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 96bffc4f-8cf8-4f45-80d1-e2bd56b4c254

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 22df9591-2326-4398-b161-00f3f8575e85
📥 Commits

Reviewing files that changed from the base of the PR and between 8c82d2c and a54d123.

⛔ Files ignored due to path filters: 1
  • composer.lock is excluded by !**/*.lock
📒 Files selected for processing: 6
  • .ai/skills/saucebase-frontend-development/SKILL.md
  • .ai/skills/saucebase-testing/SKILL.md
  • Taskfile.yml
  • composer.json
  • playwright.config.ts
  • resources/js/ssr.ts
💤 Files with no reviewable changes: 1
  • resources/js/ssr.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The PR updates frontend and Playwright guidance for Saucebase core 2, switches Playwright project setup to saucebaseProjects(), updates Composer constraints, adds an optional newsletter task include, and removes an empty SSR entry file.

Changes: Core 2 Integration

Layer / File(s) Summary
Playwright project setup
composer.json, playwright.config.ts, .ai/skills/saucebase-testing/SKILL.md
Composer constraints change for Laravel, Saucebase core, and Larastan. Playwright uses saucebaseProjects() for its projects, and the testing guidance documents project filtering and module options.
Frontend lifecycle and rendering guidance
.ai/skills/saucebase-frontend-development/SKILL.md, resources/js/ssr.ts
Frontend guidance documents framework-specific entry points, lifecycle hooks, component ordering, named slots, and SSR requirements. The empty SSR entry file is removed.

Newsletter Task Include

Layer / File(s) Summary
Optional newsletter tasks
Taskfile.yml
The root Taskfile optionally includes the newsletter module’s task file.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to a54d1

No actionable issue was established for this change. The Core integration should receive the normal dependency-installation and test checks before merging.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (4 skipped: 4 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the primary change: moving the workspace to saucebase/core 2.0.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (4 skipped: 4 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

v2.0.2 regenerates the stack stubs' package-lock.json, which npm ci needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@roble
roble merged commit 220fc83 into main Oct 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant