Fix cron channel metadata and timezone handling#115
Merged
tsubasakong merged 2 commits intopockebot:mainfrom Mar 23, 2026
Merged
Fix cron channel metadata and timezone handling#115tsubasakong merged 2 commits intopockebot:mainfrom
tsubasakong merged 2 commits intopockebot:mainfrom
Conversation
|
Someone is attempting to deploy a commit to the t54 labs Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
|
lgtm |
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.
Summary
Why
Scheduled jobs created from chat conversations were not consistently carrying enough channel metadata to send later progress or completion replies back to the originating chat. Separately, schedule parsing could drift to a language-implied timezone instead of the user or workspace default, which makes cron timing unreliable. When a schedule falls back to the default timezone, the user should have a chance to confirm or replace it before the cron job is created. Headless scheduled jobs should also keep running even when there is no reply target to notify.
Changes
cron_addandcron_updatecan inherit delivery metadata, source identifiers, and default timezone handlingtimezoneSourcemetadata on schedule intents and cron tool callsEurope/Londonand re-render the confirmation prompt before creating the jobTesting
npm run checknpm run buildnode --test test/actions.test.mjs test/agent-runtime.test.mjs test/channel-gateway-core.test.mjs test/chat-assistant.test.mjs test/schedule-intent.test.mjsChecklist