Closed archiewood closed 3 weeks ago
I think the solution here would just be to pull the lfs object itself with git lfs pull --include="path/to/file
, not sure if there's anything we can or should do on our end
@Kanishk1802 did your workaround function as expected?
@archiewood the build is still running on cloud, waiting on it to finish to confirm it works
tentatively think it has worked as the 'npm run sources' step passed on cloud but I'll verify again once the deployment is completed
@archiewood my build succeeded, this can be listed as a workaround for this issue:
Enable storage of Git LFS objects in archive, for the repo powering build.
Describe the bug
If you make an evidence project with a large duckdb file (>100MB) and put it in git, then it has to be stored as a git LFS object, which is not a duckdb file, but a pointer file.
This will build locally, but will fail in some (all?) deployment environments. At least Evidence Cloud.
This is likely because DuckDB is looking for a duckdb file, but instead it sees a git LFS pointer.
Steps to Reproduce
Severity
serious, but I can work around it
Additional Information, or Workarounds
Store your data in a cloud database.