Skip to content

Projects: be smarter about detecting project files #1061

Open

Description

@josephjclark

When the Workspace reads the projects dir, right now it'll basically pull out all yaml files and assume they're project files.

But they might not be. If users are using their own project root, and particularly if they're using JSON formatted files, the projects folder could contain any old rubbish.

And right now if the Workspace finds a file that isn't a project file, it'll blow up. So we need to be more robust.

I've added a quick check to ignore openfn.yaml|json

Heuristics we might use:

  • The file should be in the format name@domain (this is annoying in some tests though, and do we want to be dogmatic about it?)
  • Duck type based on the top level keys - probably name, maybe id and workflows must be present
  • Just generally be more flexible: if we fail to load a Project from a file, just log a warning and move on. Don't let it blow us up

Activity

  1. moved this from New Issues to DevX Backlog in Coreon Nov 7, 2025
  2. moved this from DevX Backlog to Product Backlog in Coreon Feb 27, 2026
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

    Type

    No type

    Projects

    • Status
      Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions