Skip to content

Vouch request: fix #3316 (scheduled task test page crash) #3334

@itskrishna21

Description

@itskrishna21

Why do you want to contribute?

I’d like to contribute a focused fix for #3316. The crash happens when a previous scheduled run has an empty payload and parsePacket returns undefined; the presenter then reads .timezone and throws. Fix: add a defensive guard in the scheduled-run payload parsing path to handle empty/invalid packets (skip or default) so the test page loads normally, with a small regression test.

Prior contributions or relevant experience

I’m a software engineer with 3 YOE, an active contributor to mastra.ai, and I have strong TypeScript experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions