Skip to content

Investigate "failed to fill whole buffer" when updating the workspace #8212

Open
@Byron

Description

@Byron

From Discord

Hello, I've an issue that appeared today in GitButler, I cannot update the workspace with upstream commits anymore, it fails with the message: failed to fill whole buffer. I've try to make it forget the workspace, delete all the gitbutler/ branches, login again to GitHub but it does not work, I can't integrate upstream changes anymore.


As fetches are performed using the Git command-line, we can probably assume that this works as expected. Hence, the failed to fill whole buffer seems to come from Rust code trying to stream data using std::io::Read.

The question is where that happens, and if it happens when reading objects.
We should be able to learn more about it by launching GitButler from the terminal, configured to print a backtrace and with detailed logging.

RUST_BACKTRACE=1 LOG_LEVEL=debug /Applications/GitButler\ Nightly.app/Contents/MacOS/gitbutler-tauri

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions