Skip to content

Adding various examples and tweaks - #43

Merged
hoodmane merged 11 commits into
cloudflare:mainfrom
mikenomitch:mikenomitch/examples-tweaks
Nov 5, 2025
Merged

Adding various examples and tweaks#43
hoodmane merged 11 commits into
cloudflare:mainfrom
mikenomitch:mikenomitch/examples-tweaks

Conversation

@mikenomitch

Copy link
Copy Markdown
Contributor
  • Adds examples for DO, cron, workers-ai, and Workflows.
  • Changes toml to jsonc
  • Adds workers-runtime-sdk to pyproject.toml
  • Adds o11y to wrangler config

@dom96 dom96 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

async def add_message(self, message):
messages = await self.get_messages()
messages.append(message)
await self.ctx.storage.put("messages", to_js(messages))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should fix this so that to_js isn't necessary here.

Tracked in EW-9729.

Comment thread 08-cron/README.md
@hoodmane

hoodmane commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

pre-commit is angry because of the worker-configuration.d.ts. We could exempt them but we should probably remove them since they aren't really helpful.

mikenomitch and others added 2 commits November 3, 2025 21:11
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
@hoodmane
hoodmane merged commit 3ed385f into cloudflare:main Nov 5, 2025
2 of 3 checks passed
@mikenomitch
mikenomitch deleted the mikenomitch/examples-tweaks branch November 11, 2025 06:03
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