Skip to content

Third attempt to add back in CSD resources - #51196

Merged
hannahbergam merged 3 commits into
stagingfrom
hbergam/add-back-resources
Apr 7, 2023
Merged

Third attempt to add back in CSD resources#51196
hannahbergam merged 3 commits into
stagingfrom
hbergam/add-back-resources

Conversation

@hannahbergam

@hannahbergam hannahbergam commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

I started be reopening the branch that I used to add back in resources (the initial 'part 2' of the project), and deleting the second empty 'lessons_resources' blob that caused all the lessons_resources to get deleted. Theoretically, this would add back in the lessons_resources and any resources that were auto-deleted, and not produce a 'diff' for the other resources that have already been successfully re-added.

This led to a large merge conflict with staging (as predicted), which was made more complicated by the fact that these have all been reordered since the start of the work. I accepted the staging versions whenever unit numbers were involved (see example below). I believe this should now mimic the changes to the files in each csd-2023 script from levelbuilder here: 5540e50#diff-09fb72de2079594a6afcfaf2be6872f1f8af23023a342c7d3295eb4b1e17fda4 as well as the attempt at adding lessons_resources back here that was reverted. I would really appreciate eyes on this, especially with the new complication of different ordering.

I would really like to merge this to staging after the deploy to see if staging will do a clean build. This will allow me to revert quickly if necessary because I believe this is a sticky area, and will prevent it from blocking the deploy.

Screenshot 2023-04-06 at 11 13 13 PM

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@hannahbergam hannahbergam changed the title Third attempt to add back in resources Third attempt to add back in CSD resources Apr 7, 2023
}
},
{
"seeding_key": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Git is really getting confused with this diff I see

@bethanyaconnor bethanyaconnor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎉

I think this will work! Two reasons:

  1. I tested locally and it successfully built 🥳
  2. I diffed this branch from CSD from before we started this process. I checked out this branch, ran git diff e0d2628~1 HEAD config/scripts_json/csd[123457]-2023.script_json, using the merge commit from #50906. The diff is at this gist. Everything looks great, except for the URLs of the "All Resources", "All Standards", etc resources are all mixed up (ie csd2 points to csd7). Not sure how that happened but I think we can enlist Dan and Angelina's help next week to sort those out!

@hannahbergam

Copy link
Copy Markdown
Contributor Author

🎉

I think this will work! Two reasons:

  1. I tested locally and it successfully built 🥳
  2. I diffed this branch from CSD from before we started this process. I checked out this branch, ran git diff e0d2628~1 HEAD config/scripts_json/csd[123457]-2023.script_json, using the merge commit from CSD into a Course, part One #50906. The diff is at this gist. Everything looks great, except for the URLs of the "All Resources", "All Standards", etc resources are all mixed up (ie csd2 points to csd7). Not sure how that happened but I think we can enlist Dan and Angelina's help next week to sort those out!

Oh dang I thought the url diffs in part 2. were intentional because they're all already that way in staging and we did some 'un-numbering' in the middle of this process. I agree that it makes sense to enlist Dan and Angela to figure out how it happened/how to detangle.

Thank you for testing this locally and for the review!

@hannahbergam
hannahbergam merged commit e4b4a2f into staging Apr 7, 2023
@hannahbergam
hannahbergam deleted the hbergam/add-back-resources branch April 7, 2023 19:25
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