Skip to content

Codex/tgbot modernize - #39

Merged
zhaobozhen merged 2 commits into
mainfrom
codex/tgbot-modernize
Aug 21, 2026
Merged

Codex/tgbot modernize#39
zhaobozhen merged 2 commits into
mainfrom
codex/tgbot-modernize

Conversation

@zhaobozhen

Copy link
Copy Markdown
Member

No description provided.

Replace wrangler.toml with wrangler.jsonc for the bot-worker package. Update all references across scripts, workflows, docs, and source files. The deploy script now parses JSON directly instead of appending raw TOML strings for dynamic KV namespace injection. Also bumps wrangler, vitest, vite, playwright, hono, ipaddr.js, sharp, and other deps to latest versions.
Extracted Worker config mutation into `deploy-worker-config.mjs` with input validation, immutable updates, and replacement of existing `SDK_EMOJI_KV` bindings to avoid duplicates. Updated deploy flow to use this helper, clean up generated Wrangler config on process signals, and write temp config files with restricted permissions. Added focused node:test coverage for config behavior and wired script tests into `check:deploy`.
@zhaobozhen
zhaobozhen merged commit 9f647ba into main Aug 21, 2026
1 check passed
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.

1 participant