Skip to content

Conversation

@devsnek
Copy link
Member

@devsnek devsnek commented Feb 3, 2026

rewrite crons in js for simplicity, also rework the cron sock to be a bit easier to work with by using websockets.

@devsnek devsnek changed the title rewrite chore(ext/cron): rewrite in js Feb 3, 2026
@devsnek devsnek force-pushed the rewrite-cron branch 4 times, most recently from 2cf92dd to 014cd71 Compare February 3, 2026 14:15
@devsnek devsnek force-pushed the rewrite-cron branch 2 times, most recently from 4fdbc90 to 421dbe6 Compare February 3, 2026 15:20
Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't particularly like that we will now export a public span for this internal HTTP server. Can you label it in some way that makes it filterable?

@devsnek devsnek force-pushed the rewrite-cron branch 2 times, most recently from 36cb025 to e16687b Compare February 3, 2026 17:24
Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed the traceparent propagation when executing crons.

}
}

setMainReadyCron();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crons will never register if the entrypoint never resolves, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they can be registered until the entrypoint resolves, then they're locked in.

@devsnek
Copy link
Member Author

devsnek commented Feb 10, 2026

@lucacasonato

You removed the traceparent propagation when executing crons.

do you mean on a per-websocket-execute-message basis?

@lucacasonato
Copy link
Member

Yes

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants