Skip to content

Add a persistent Craft 6 development workbench - #642

Merged
riasvdv merged 3 commits into
feature/craft-6from
feature/craft-6-workbench
Nov 9, 2026
Merged

riasvdv merged 3 commits into
feature/craft-6from
feature/craft-6-workbench

Conversation

@riasvdv

@riasvdv riasvdv commented Nov 4, 2026

Copy link
Copy Markdown

Summary

Stacked on #641, targeting feature/craft-6. This PR contains only the workbench and its development configuration; the Craft 6 fixes remain in #641.

+ composer workbench:setup  # prepare SQLite, install Craft, publish assets, seed content
+ composer serve            # run the persistent app on port 8125

Seeds an Articles section with CKEditor, nested Quote entries, Photo entries, and local image uploads. Generates local credentials, preserves content on repeated setup, and isolates the workbench database from tests. Runtime data and credentials are ignored; the workbench is excluded from package archives.

Evidence

  • Before: composer workbench:setup on the parent branch reports There are no commands defined in the "workbench" namespace.
    After: A fresh checkout installs and seeds Craft successfully. Repeated setup preserves its content.
  • composer tests: 131 passed, 1,333 assertions with the workbench present. All 14 existing workbench entries remained after the suite ran. The parent branch also passes the same suite independently, without the workbench.
  • PHPStan, Pint, TypeScript, Prettier, Composer validation, and frontend builds pass. PHPStan's CI job prepares the workbench directories before bootstrapping it.
  • Exercised the running app in Chromium: rich text, nested-entry creation and editing, uploads, image-as-entry mode, and field settings survive save/reload.

Seed a local SQLite app for rich text, nested entries, and images. Keep its data separate from tests and document setup and asset publishing.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1a339-6451-75b0-b9a6-5797417cf757
Co-authored-by: Amp <amp@ampcode.com>
@riasvdv
riasvdv requested a review from brandonkelly as a code owner November 4, 2026 07:00
@riasvdv
riasvdv requested a review from i-just November 6, 2026 20:50
@riasvdv
riasvdv merged commit 93b510c into feature/craft-6 Nov 9, 2026
12 checks passed
@riasvdv
riasvdv deleted the feature/craft-6-workbench branch November 9, 2026 11:08
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.

2 participants