Repository navigation
Remove scratch project type - #1053
Open
zetter-rpf wants to merge 4 commits into
Open
zetter-rpf wants to merge 4 commits into
zetter-rpf wants to merge 4 commits into
Conversation
Previously every release ran projects:create_experience_cs_examples, re-creating a hardcoded list of Scratch example projects. When new projects were added to Experience CS, they had to be put in this list too. We no longer need this list as now projects are synced from Experience CS directly when they are created. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
These were temporary endpoints used for the one-off project migration. The service account is still used for public project create/update and global Scratch asset upload. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Test coverage94.1% line coverage reported by SimpleCov. |
This was here for Experience CS projects which have now been migrated to code_editor_scratch. Salesforce still expects 'scratch' as the teacherprojecttype__c picklist value for Experience CS lessons, so LessonSyncJob keeps sending that string via its own constant rather than deriving it from Project::Types. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
raspberrypiherokubot
temporarily deployed
to
editor-api-p-remove-scr-6cqgub
October 9, 2026 15:31
Inactive
Make sure that we only save expected project types. I'm doing this so that new scratch projects don't sneak in from experience CS api calls or the project importer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
zetter-rpf
force-pushed
the
remove-scratch-project-type
branch
from
October 9, 2026 15:33
aa3b602 to
81a47ee
Compare
zetter-rpf
marked this pull request as ready for review
October 9, 2026 15:33
Contributor
Author
|
@macroscope-app you there? |
Contributor
Author
|
@macroscope-app why haven't you reviewed this? |
|
I can’t inspect this repository’s review configuration or run history here. If reviews are manual-only, trigger one with |
Contributor
Author
|
@macroscope-app review |
|
Manual reviews triggered for commit All prior checks · these links stay valid even if you push more commits. |
|
Review triggered; results will be posted as check runs. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status
What's changed?
This removes:
I've also added validation to project types as for https://github.com/RaspberryPiFoundation/digital-editor-issues/issues/1884 to prevent projects of type 'scratch' from re-appearing.