Tags: basecamp/fizzy
Tags
Add SearchReindexJob to repopulate the search index (#2850) Rebuilds search records for every published Card and every Comment on a published Card. Intended for manual invocation after a search-index loss event — not a recurring job. Uses ActiveJob::Continuable so the work survives worker restarts and resumes from the last-processed id. The job is idempotent. Removes script/maintenance/reindex_stale_search_records.rb, which was written against a different hypothesis (a date-cutoff backfill) and is superseded by this unconditional repair job.
Scope clear_search_records to the account being destroyed (#2847) Account::Searchable#clear_search_records called Search::Record.for(id).destroy_all which deleted every row in the shard's table, wiping search records belonging to every other account that happened to hash to the same shard. ref: https://3.basecamp.com/2914079/buckets/27/card_tables/cards/9782824728
Fix missing partial when editing comments with @mentions (#2828) Edge Rails introduced ActionText::Attachable#to_editor_content_attachment_partial_path which defaults to to_partial_path ("users/user"). Override it in User::Mentionable to delegate to to_attachable_partial_path ("users/attachable"), matching the existing display rendering path.
PreviousNext