Skip to content

fix(slack): Stop sending synthetic resource-event timestamps#741

Merged
dcramer merged 1 commit into
mainfrom
dcramer/fix/slack-resource-event-timestamps
Jul 2, 2026
Merged

fix(slack): Stop sending synthetic resource-event timestamps#741
dcramer merged 1 commit into
mainfrom
dcramer/fix/slack-resource-event-timestamps

Conversation

@dcramer

@dcramer dcramer commented Jul 2, 2026

Copy link
Copy Markdown
Member

Prevent synthetic resource-event mailbox ids from crossing into Slack message-targeting APIs.

Resource-event notifications now serialize without a native Slack raw.ts, and Slack reaction/delete/resume/tool paths require a schema-branded SlackMessageTs parsed from native Slack timestamp fields. Durable resume and vision helpers now use explicit persisted meta.slackTs rather than inferring provider context from message ids.

This also updates the Slack/resource-event contracts so synthetic notifications are documented as mailbox context rather than native Slack messages, and adds regression coverage for historical malformed raw.ts payloads plus serializer output.

Found while investigating production Slack reactions.add message_not_found errors.

Fixes JUNIOR-3B

Prevent synthetic resource-event mailbox ids from being treated as native Slack message timestamps. Resource-event notifications no longer serialize raw.ts, Slack message-targeting APIs require a schema-branded SlackMessageTs, and durable helpers only use explicit persisted slackTs context.

Update the Slack/resource-event contracts and regression coverage so processing reactions stay off synthetic notifications while historical malformed raw.ts payloads remain ignored.

Fixes JUNIOR-3B
Co-Authored-By: GPT-5 Codex <codex@openai.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment Jul 2, 2026 9:28pm

Request Review

@dcramer dcramer changed the title fix(slack): Reject synthetic resource-event timestamps fix(slack): Stop sending synthetic resource-event timestamps Jul 2, 2026
@dcramer dcramer marked this pull request as ready for review July 2, 2026 21:36
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Jul 2, 2026
@dcramer dcramer merged commit c3c423c into main Jul 2, 2026
20 checks passed
@dcramer dcramer deleted the dcramer/fix/slack-resource-event-timestamps branch July 2, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant