Fix: changed cachet.hackclub.com to dunkirk.sh host since the images have not propogated#707
Open
jam06452 wants to merge 1 commit into
Open
Fix: changed cachet.hackclub.com to dunkirk.sh host since the images have not propogated#707jam06452 wants to merge 1 commit into
jam06452 wants to merge 1 commit into
Conversation
hasn't propogated into the bucket
Member
|
This wouldn't have solved it in the long run, but its been a couple days without near as much downtime now anyways ✌🏻 |
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.
Fix: Resolve default profile pictures by reverting CDN host to dunkirk.sh
This PR addresses a visual bug where user profile pictures (pfps) are displaying as the default green Slack avatars instead of the actual user images.
Root Cause
The caching CDN for Hack Club's Slack data is currently being onboarded to a new domain (https://cachet.hackclub.com). This new domain routes to a separate storage bucket where the profile photos have not yet fully propagated, causing the system to fall back to the default Slack avatars.
Reverted the host URL from cachet.hackclub.com back to the original https://cachet.dunkirk.sh. This routes the requests back to the Slack edge where the images are successfully cached, restoring the correct profile pictures while the new bucket finishes propagating.
This update modifies the base CDN URL string across our Ruby and JavaScript controllers. This change only affects the application at runtime when fetching images. Because the avatar URLs are constructed dynamically on-the-fly using the user's slack_id (e.g.,
https://cachet.dunkirk.sh/users/${user.slack_id}/r), it does not impact any build-time assets or static file compilation.Files Changed: