Skip to content

refactor: demo seeders become the showcase state - #24

Merged
roble merged 5 commits into
mainfrom
dev-2026-11-15
Nov 15, 2026
Merged

roble merged 5 commits into
mainfrom
dev-2026-11-15

Conversation

@roble

@roble roble commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • chore: require saucebase/core ^3.0
  • refactor: demo seeders become the showcase state

Release

Requires saucebase/core: ^3.0 (named states, install settings). Release after core v3.0.0, which is out.

Checks

Module CI against core main (v3.0.0).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • The announcement seeding command now uses the showcase name and state instead of demo.
    • The README’s demo-data instructions have been updated to use the showcase state.
    • The command’s description and the seeded announcement content remain unchanged.

roble and others added 5 commits November 10, 2026 16:10
Demo*Seeder is now Showcase*, run by modules:seed --state=showcase.

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

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The seeding command, seeder class, tests, and README now use showcase naming and the --state=showcase argument. The Composer requirement for saucebase/core changes to ^3.0, and a dev-dev branch alias is added.

Changes: Showcase seeding

Layer / File(s) Summary
Showcase seed command and coverage
Taskfile.yml, README.md, database/seeders/ShowcaseAnnouncementsDatabaseSeeder.php, tests/Feature/ShowcaseStaffTest.php
The seed task and README use --state=showcase. The seeder class and staff tests use showcase names. The test assertions remain unchanged.

Core package requirement

Layer / File(s) Summary
Composer core requirement and alias
composer.json
The saucebase/core requirement changes to ^3.0. A dev-dev branch alias of 3.5.x-dev is added under extra.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Refactor

Merge Risk: Low · up to 5d374

Showcase seeding is renamed and the core requirement moves to ^3.0. The command and seeder naming line up with core's lookup. The module's CI currently fails while installing the auth dependency, apparently because auth is incompatible with core 3.x. Confirm the auth dependency is updated or the workflow is fixed so tests run green before merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "refactor: demo seeders become the showcase state" matches the main change. The PR renames the Demo* seeders and tests to Showcase*, switches seeding from --demo to --state=showcase, and rai…
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: Title check

Explanation

The title "refactor: demo seeders become the showcase state" matches the main change. The PR renames the Demo* seeders and tests to Showcase*, switches seeding from --demo to --state=showcase, and raises saucebase/core to ^3.0. The title names the primary change, though it omits the core version bump.

Finishing Touches

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

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: 5230abeb-e925-448f-a9db-223055919e42
Commits

Reviewing files that changed from the base of the PR and between 4bd274f and 5d3742e.

Files selected for processing: 5

  • README.md
  • Taskfile.yml
  • composer.json
  • database/seeders/ShowcaseAnnouncementsDatabaseSeeder.php
  • tests/Feature/ShowcaseStaffTest.php

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

@sonarqubecloud

Copy link
Copy Markdown

@roble
roble merged commit a58e35b into main Nov 15, 2026
9 of 11 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