Reprocess GFM references in PersonalSnippet descriptions and comments
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Please note:
The changes required to address this issue will be completed behind the feature flag :personal_snippet_reference_filters
.
This is to ensure a consistent user experience until all changes are complete (reference filtering, previewing, background migration of existing content)
Once #217305 (closed) is implemented, we will be able to correctly reference resources via the GFM in PersonalSnippets.
That will apply to new PersonalSnippets and updates to existing ones, but it won't apply to the others.
For this reason, we will need to create a background migration that will re-process those snippets and their comments (potentially using the CacheMarkdownField#refresh_markdown_cache
method already available).
At the time of writing, there was ~160k PersonalSnippets, and ~20k PersonalSnippet Notes (see: #217305 (comment 386059025))