Skip to content

Automatically seed Experience CS Projects#757

Merged
fspeirs merged 1 commit intomainfrom
fs-automatically-seed-excs-projects
Mar 31, 2026
Merged

Automatically seed Experience CS Projects#757
fspeirs merged 1 commit intomainfrom
fs-automatically-seed-excs-projects

Conversation

@fspeirs
Copy link
Copy Markdown
Contributor

@fspeirs fspeirs commented Mar 31, 2026

This is a small quality-of-life update for Experience CS developers to automatically invoke the rake task 'projects:create_experience_cs_examples' when editor-api is seeded.

This will save excs developers having to (a) know and (b) remember to invoke this task when resetting the database.

Status

  • Closes add issue numbers or delete
  • Related to add issue numbers or delete

Points for consideration:

  • Security
  • Performance

What's changed?

  • Adds projects:create_experience_cs_examples to the list of rake tasks invoked automaticaly in seeds.rb.

Steps to perform after deploying to production

None. Development-only change.

This is a small quality-of-life update for Experience CS developers to
automatically invoke the rake task 'projects:create_experience_cs_examples' when editor-api is seeded.

This will save excs developers having to (a) know and (b) remember to
invoke this task when resetting the database.
Copilot AI review requested due to automatic review settings March 31, 2026 08:39
@cla-bot cla-bot bot added the cla-signed label Mar 31, 2026
@fspeirs fspeirs self-assigned this Mar 31, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves local developer ergonomics for Experience CS by automatically creating the Experience CS example Scratch projects as part of the standard development seeding flow.

Changes:

  • Invoke projects:create_experience_cs_examples during db:seed when running in development.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

Test coverage

90.16% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/23788379761

@fspeirs fspeirs merged commit 8ef331f into main Mar 31, 2026
9 checks passed
@fspeirs fspeirs deleted the fs-automatically-seed-excs-projects branch March 31, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants