Repository navigation
fix(route): give updated Message Center posts a new guid [5m] - #82
Merged
Merged
Conversation
The guid was the bare message ID, so an update to an existing post kept the same guid and feed readers that dedupe on it skipped many updates. The guid now carries the last modification time, and the bare ID moves to the author field for consumers that look posts up by ID. Also clears the oxlint errors the pre-commit hook now reports for this file (TypeError, Boolean coercion, useless undefined). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Symptom: The Zapier RSS trigger on
/microsoft/message-centerskips many updates to existing posts. In the merill/mc data commit of 2026-11-30 21:24 UTC, nine posts changed, but only three of them started a Zap run, so the Trello cards kept the old Microsoft text.Cause: The item guid was the bare message ID, so an updated post kept its guid and the trigger's dedupe treated it as already seen.
Change: The guid is now
<ID>@<LastModifiedDateTime>(falling back toStartDateTime), so every update is a new item. The bare ID moves toauthorfor consumers that look a post up by ID. The pre-commit hook's oxlint autofix also touched this file (toSorted,TypeError, filter predicates,return;); none of those change behavior.Out of scope: The RSS view still sorts by
pubDate(StartDateTime), so an updated post is not at the top of the RSS output. The set of items is still the 20 most recently modified; a reader that needs modification order can add?sorted=false.Verified: Ran the route locally with
tsx lib/index.tson Windows (Node 24): 20 items, guids likeMC1574383@2026-11-30T18:01:26.037Z,<author>MC1574383</author>. oxlint and eslint clean on the file. A separate review agent found no defect beyond the sort note above./simplifywas not run.An AI agent wrote this text in my name, on my instructions.