Skip to content

Dynamic Backend Abstraction #79

Open
2 of 9 issues completed
Open

Description

@aram356

Description

Complete the portable dynamic-backend capability: applications can choose an origin at runtime and configure TLS verification, SNI and connection/read timeouts through EdgeZero. Runtime URLs already work; Fastly backend construction, Cloudflare Fetch request construction and Axum proxy construction show adapter-specific implementations, but portable outbound request carries no shared backend settings. This is partial implementation, not a missing proxy facility.

Steps to reproduce

  1. Inspect the portable ProxyRequest fields and each adapter proxy constructor.
  2. Attempt to identify one provider-neutral API for per-backend TLS/SNI and connect/first-byte/between-bytes settings.
  3. Compare fixed Fastly settings and the fixed Axum timeout with the requested caller configuration.

Expected behavior

One portable contract describes runtime origins and backend controls, with explicit support or unsupported behavior on each adapter.

Impact

Applications discovering origins at runtime currently depend on adapter-specific workarounds for connection policies.

Proposed fix

Complete #80, #81, #82, #84, #85 and #87 using the existing outbound implementations. The original Fastly builder and derived-name reuse work is already satisfied under #83 and #86. Reconcile the shared API with PR #275 before implementation.

Done when

  • Runtime-origin creation and documented TLS/SNI/timeout options are available through the portable API.
  • Adapter implementations preserve defaults and explicitly report unsupported controls.
  • Cross-adapter contracts and examples cover the supported behavior.

Related

Children #80, #81, #82, #83, #84, #85, #86, #87, and #523 (outbound client identities, mTLS). #36 is consolidated into #81. PR #275 is related open implementation work, not closure evidence; PR #35 supplies the existing Fastly baseline.

Sub-issues

Sub-issues

2 of 9 Issues completed
Loading 9 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions