coder / coder/envbuilder

envbuilder: fetch upstream changes from repo if local copy is not dirty

Open
#281 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
300
Forks
64
Avg merge
20m
Merged PRs (30d)
1

Description

Is it possible to disable the /workspace cache of a coder build with envbuilder.
Even after restart work spaces it caches to old commit

```
#1: 📦 Cloning https://bitbucket.org/lorem/repo.git to /workspaces/ipsum..
#1: 👤 Using no authentication!
#1: 📦 The repository already exists! [672.333µs]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the repository reuse and /workspace cache handling that produces “The repository already exists!” in the reported log. Check how local changes are detected and define completion as fetching the upstream commit when the existing copy is clean, while preserving local work when it is dirty.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.