Skip to content

Thread RuntimeServices into downstream handlers #598

@prk-Jr

Description

@prk-Jr

Summary

RuntimeServices is constructed at the Fastly adapter entry point but not yet threaded into the downstream handlers (handle_auction, handle_publisher_request, and the synthetic ID handler). Those handlers still call GeoInfo::from_request and other deprecated Fastly-specific APIs directly.

Work

  • Pass &RuntimeServices through route_request into each handler
  • Replace GeoInfo::from_request call sites with runtime_services.geo().lookup(runtime_services.client_info.client_ip)
  • Remove the #[allow(deprecated)] annotations added as a temporary shim

Context

Flagged in #545 by @ChristianPavilonis. Part of the EdgeZero platform portability migration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions