Spike: Investigate Cloudflare Workers Driver Usage Tracking

XMLWordPrintableJSON

    • 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

      1. Identify which Cloudflare Workers runtime environment variables are available and stable for detection
      2. Determine if Cloudflare Workers exposes any runtime environment variables (Wrangler system variables like CLOUDFLARE_ACCOUNT_ID are dev/deployment only, not runtime)
      3. Define which variable(s) should be added to the handshake spec
      4. 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

      References

            Assignee:
            Unassigned
            Reporter:
            Raschid Jimenez
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: