Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set published date with hash based timestamp #9219

Merged
merged 8 commits into from
Sep 12, 2024
Merged

Conversation

rachelwhitton
Copy link
Member

@rachelwhitton rachelwhitton commented Sep 11, 2024

Closes #9126

Fixes known RSS bug by setting an arbitrary hour, minute, and second for each release note within the RSS feed by deriving a hash of the note.

Adds new release note: Bug fix for Pantheon release notes RSS feed

Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

@rachelwhitton
Copy link
Member Author

Added multiple test entries in a single day with the same published date and they were all 3 picked up by my RSS reader
Screenshot 2024-09-11 at 5 31 01 PM

@mel-miller can you review?

@rachelwhitton rachelwhitton marked this pull request as ready for review September 11, 2024 22:54
@rachelwhitton rachelwhitton requested a review from a team as a code owner September 11, 2024 22:54
@rachelwhitton rachelwhitton added the Site: JavaScript Pull requests that update Javascript code label Sep 11, 2024
Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

Copy link
Member

@mel-miller mel-miller left a comment

Choose a reason for hiding this comment

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

@rachelwhitton -- TBH, I'm not that familiar with this type of thing. But the solution seems good to me and I don't see anything dangerous introduced.

@rachelwhitton rachelwhitton requested a review from a team as a code owner September 12, 2024 15:38
Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

Copy link
Contributor

@jazzsequence jazzsequence left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@jazzsequence jazzsequence left a comment

Choose a reason for hiding this comment

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

update is a bit more granular than strictly necessary, but I like the breakdown and I don't think it's a problem. I imagine getting into the weeds discussing the arbitrariness of the timestamp might lead to questions about notes being ordered incorrectly (or call attention to the discrepancy between where release notes appear in readers vs on the website).

Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

Copy link

⚡ Deployed with Pantheon Decoupled

This build was successfully deployed with Pantheon. You can track the build logs here.

👀 Preview: https://pr-9219-documentation.appa.pantheon.site
🛠️ Manage in Pantheon: https://dashboard.pantheon.io/site/2b30153f-e8b1-4427-b076-6109e704ba5d/overview

@rachelwhitton rachelwhitton merged commit d06d362 into main Sep 12, 2024
12 checks passed
@rachelwhitton rachelwhitton deleted the 9126-rss-debug branch September 12, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Site: JavaScript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: RSS subscribers are not updated when multiple release notes are published in a single day
5 participants