#1885·devpod

.devpodignore file does not work on local repo

Author: stevefan1999-personalCreated Jun 26, 2025Updated Sep 14, 2026
Labelsstalekind-bug

Despite I have a .devpodignore file in my local repo, it seems like the .devpodignore file is not read during streaming upload, everything is still included, which includes a huge CMake build directory (of 30GB) and it eats up all the space, and I have no idea why.

Probably due to workspace folder permission issue?

https://github.com/loft-sh/devpod/blob/f9ad03312c6d48ee424f542fe331f9c803b37aa3/pkg/agent/tunnelserver/tunnelserver.go#L377

The case for err != nil is not handled and we should warn the user about it, but I'm more skeptical that t.workspace.Source.LocalFolder is pointing to the wrong direction.

I'm using the Kubernetes provider and just ran it with my local repo existing on filesystem, and while I can always just upload this to Git and let gitignore take in charge instead, this is kind of a weird issue I don't think it should have had happened in the first place