-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Context
Drivers currently detect Function as a Service (FaaS) platforms via environment variables per the MongoDB Handshake spec
Current detection uses: AWS_EXECUTION_ENV, FUNCTIONS_WORKER_RUNTIME, K_SERVICE, VERCEL
Spike Goals
- Identify which Cloudflare Workers runtime environment variables are available and stable for detection
- Determine if Cloudflare Workers exposes any runtime environment variables (Wrangler system variables like CLOUDFLARE_ACCOUNT_ID are dev/deployment only, not runtime)
- Define which variable(s) should be added to the handshake spec
- Estimate effort to update specs and drivers
Success Criteria
- Document which environment variable(s) to use for Cloudflare Workers detection
- Confirm the chosen variable(s) won't change
- List which drivers need updates