Skip to content

fix(route): give updated Message Center posts a new guid [5m] - #82

Merged
Gl4dr3x merged 2 commits into
masterfrom
fix/message-center-versioned-guid
Dec 1, 2026
Merged

Gl4dr3x merged 2 commits into
masterfrom
fix/message-center-versioned-guid

Conversation

@Gl4dr3x

@Gl4dr3x Gl4dr3x commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Symptom: The Zapier RSS trigger on /microsoft/message-center skips 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 to StartDateTime), so every update is a new item. The bare ID moves to author for 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.ts on Windows (Node 24): 20 items, guids like MC1574383@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. /simplify was not run.

An AI agent wrote this text in my name, on my instructions.

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]>
@Gl4dr3x Gl4dr3x self-assigned this Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Auto Route Test failed, please check your PR body format and reopen pull request. Check logs for more details.
自动路由测试失败,请确认 PR 正文部分符合格式规范并重新开启,详情请检查 日志。

@Gl4dr3x
Gl4dr3x merged commit 10afc10 into master Dec 1, 2026
36 of 48 checks passed
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Auto Route Test failed, please check your PR body format and reopen pull request. Check logs for more details.
自动路由测试失败,请确认 PR 正文部分符合格式规范并重新开启,详情请检查 日志。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants