Skip to content

Remote template.path (s3://, gs://, az://, https://) never loads #219

Closed

Description

@jrosskopf

parseTemplateConfig joins the remote URL onto the config directory and lexically_normal() collapses s3:// to s3:/;
loadEndpointConfigsRecursively then lists the directory with std::filesystem and startup fails with
"Template path does not exist or is not a directory: /…/examples/s3:/my-bucket/…". This is the same on main (b6085f9), so
every shipped remote-template example (examples/flapi-s3.yaml, flapi-gcs.yaml, cloud-native/*.yaml) fails
--validate-config, while docs/CLOUD_STORAGE_GUIDE.md and CONFIG_REFERENCE presented it as supported (#211 added a
known-limitation note). Implement listing/reading endpoint YAML + templates through the VFS/IFileProvider for remote
schemes (and storage.cache), keep remote paths out of filesystem normalisation, and add an integration test with a
local HTTP server serving a template directory.

Found while working on #211 (Claude Code plugin); not fixed there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions