Skip to content

Planned bindings missing for non-error methods (Exists, IsDir, IsFile, Name, Parent, Join) #171

Closed

Description

@David-Noble-at-work

TestPlannedBindings fails with plan.file has no .exists attribute.

RegisterReflectedActions skips methods that don't return error as the last value. This means Exists, IsDir, IsFile, Name, Parent, and Join are not registered as actions. Since the planned layer references action names to create graph nodes, these methods are unavailable as planned bindings.

The old hand-coded planned receiver exposed all methods (including non-error ones) as graph node creators. The reflection-based action layer needs a mechanism to register non-error methods as actions, or the planned layer needs an alternative path for these methods.

Branch: feature/binding-unification

Activity

  1. David-Noble-at-work commented on Mar 11, 2026

    @David-Noble-at-work
    ContributorAuthor

    Resolved. Exists, IsDir, IsFile now return (bool, error) and are registered as reflectedFallibleAction. Name, Parent, Join return without error and are registered as reflectedPureAction. All six are exposed in the planned layer.

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