Skip to content

Replace globals with cloudflare:workers env import#142

Merged
MattIPv4 merged 3 commits intomasterfrom
MattIPv4/use-cloudflare-workers-env
Feb 6, 2026
Merged

Replace globals with cloudflare:workers env import#142
MattIPv4 merged 3 commits intomasterfrom
MattIPv4/use-cloudflare-workers-env

Conversation

@MattIPv4
Copy link
Member

@MattIPv4 MattIPv4 commented Feb 6, 2026

Type of Change

  • Something else: Bindings access

What issue does this relate to?

N/A

What should this PR do?

Access the worker bindings, the vars + KV binding, via the env import from cloudflare:workers, rather than via globally injected values.

What are the acceptance criteria?

Worker continues to run, KV caching + error tracking continues to work.

@MattIPv4 MattIPv4 merged commit a3fcf4d into master Feb 6, 2026
4 checks passed
@MattIPv4 MattIPv4 deleted the MattIPv4/use-cloudflare-workers-env branch February 6, 2026 20:48
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