Skip to content

Adapt the provider connector to admitted Worker attachments #1440

Open

Description

@privateip

Parent: Deliver Galactic Worker with Local and Fabric delivery for tenant services

Deliverable

A provider-facing connector adapter that uses admitted Worker attachments while keeping the Edge provider contract. It satisfies the connector part of the "Deliver service consumers" phase exit and the parent's revocation criterion.

#1431 decides whether the adapter is a new "galactic-connector" component or the existing galactic-edge. This Task implements whichever it chose.

References:

  • Edge agent seam: cmd/galactic-edge and internal/edge/agent/agent.go (Datapath: Register, Unregister, Forget, SyncRoutes).
  • Claims: internal/edge/provider/provider.go and the Edge CRDs api/v1alpha1/edge{provider,attachment,instance,route,service}_types.go.
  • Contract: docs/edge/provider-contract.md.
  • Existing provider and tests: internal/edge/masque, tests/edgeconformance, examples/edge-provider and task test:edge-provider.

#970 (MASQUE connector) is related and does not block this Task. MASQUE negotiation and session lifecycle stay with the MASQUE provider.

Work items

  • Map admitted provider attachment identity, VPC scope, generation and route gates to Worker claims. Reuse the existing approval, revocation and provider session authority.
  • Document branch compatibility for existing galactic-edge entry points and configuration.
  • Exercise the adapter through the existing provider interface and an independent fixture. Document where MASQUE, cloud and private-interconnect adapters plug in.
  • Expose the adapter's Worker capability state and failure reasons through internal/edge/diag reasons and metrics.

Dependencies

Blocked by #1431, #1433, #1434, #1435 and #1436. Runs in parallel with #1437, #1438 and #1439.

Acceptance

  • With authorized and with denied claims, the fixture proves attach, delivery, withdrawal and replacement.
  • Revoking authority while data flows stops delivery at the tenant endpoint, as the existing provider contract requires.
  • Replaying a previous owner's claim is rejected.
  • The tests/edgeconformance MASQUE suite and task test:edge-provider still pass.
  • The evidence separates fixture results from qualification of any individual provider.
  • The delivering PR targets integration/galactic-worker, carries this evidence and says Fixes datum-cloud/galactic#1440. GitHub does not auto-close from a non-default base, so close this issue explicitly when the PR merges and record the PR and merged SHA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions