Skip to content

Dataform Compile Failure — “Unable to find valid caller file” Error #2177

Closed

Description

@kudaj

Hi,

We are currently encountering a Dataform compile failure in CI with the following error appearing across many unrelated .sqlx files:

Error: Unable to find valid caller file; please report this issue.

This is followed by:

Compiled 0 action(s).

and the compile step fails with:

dataform compile --timeout=10m

The issue does not appear model-specific, as it occurs across multiple unrelated domains/files.

I did some investigation and found what appears to be a related Dataform issue/fix:
1bdeca5

Just wondering whether this is a known issue?

Thanks.

Activity

  1. calum-mcg commented on May 26, 2026

    @calum-mcg

    I was encountering the same issue.

    I was experiencing this on Github Actions using Ubuntu with: npm install -g @dataform/cli but couldn't emulate this on local.

    I'm wondering if this is due to in the latest release 3.0.57, the vm2 sandbox library was bumped. Maybe the new vm2 version is stripping file paths?

    I fixed this by making sure the dataformCoreVersion is up-to-date in my workflow_settings.yaml:
    dataformCoreVersion: 3.0.57

    Alternatively you could fix a previous version, i.e. npm install -g @dataform/cli@3.0.56

  2. frans-snyders commented on May 27, 2026

    @frans-snyders

    Same problem - seems to be limited to the latest @dataform/cli npm package
    we reverted to 3.0.56 for cli

    log output when running dataform compile :

    Compilation errors:
      definitions/zzz.sqlx: Error: Unable to find valid caller file; please report this issue.
        at CallSite {}
        at CallSite {}
        at CallSite {}
        at CallSite {}
        at CallSite {}
        at CallSite {}
        at CallSite {}
        at CallSite {}
        at CallSite {}
        at CallSite {}
    Compiling...
    Compiled 0 action(s).
    
  3. kolina commented on May 31, 2026

    @kolina
    Contributor

    @rafal-hawrylak, can you take a look please?

  4. added 3 commits that reference this issue on Jun 1, 2026
  5. rafal-hawrylak commented on Jun 2, 2026

    @rafal-hawrylak
    Collaborator

    v3.0.59 with the fix has just been released. Feel free to check it and share any feedback.

  6. added a commit that references this issue on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions