Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabby deletes index after successful creation #1753

Open
Moep90 opened this issue Apr 2, 2024 · 1 comment
Open

Tabby deletes index after successful creation #1753

Moep90 opened this issue Apr 2, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Moep90
Copy link

Moep90 commented Apr 2, 2024

Describe the bug
Tabby seems to delete my indexed files from repositories after creation.
When checking the Code, I couldn't figure out why.

Information about your version

$ tabby --version
tabby 0.9.1

Information about your GPU
Apple M3 Pro

Additional context

$ tabby serve --device metal --model TabbyML/StarCoder-3B --chat-model TabbyML/WizardCoder-3B --webserver
$ tabby scheduler --now
Syncing 65 repositories...
Cloning into '...home.../.tabby/repositories/terraform-module-....'...
remote: Enumerating objects: 50, done.
remote: Counting objects: 100% (50/50), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 50 (delta 12), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (50/50), 52.53 KiB | 13.13 MiB/s, done.
Resolving deltas: 100% (12/12), done.
Cloning into '...home.../.tabby/repositories/terraform-module-....'...
[...]
Building dataset...
100%|████████████████████████████████████████| 9/9 [00:00<00:00, 1265.56it/s]Indexing repositories...
100%|████████████████████████████████████████| 2435/2435 [00:01<00:00, 2268.36it/s]%
$ ll ~/.tabby/dataset
total 140792
-rw-r--r--@ 1 user.name  staff    13B Apr  2 07:40 deps.json
-rw-r--r--@ 1 user.name  staff   8.4M Apr  2 07:40 files.jsonl
-rw-r--r--@ 1 user.name  staff    38M Apr  2 07:40 files.jsonl.1
-rw-r--r--@ 1 user.name  staff    21M Apr  2 07:40 files.jsonl.2
2024-04-02T05:21:00.306230Z  INFO tabby_webserver::cron::scheduler: ee/tabby-webserver/src/cron/scheduler.rs:48: Running scheduler job...
Syncing 0 repositories...
2024-04-02T05:21:00.339746Z  WARN tabby_scheduler::repository: crates/tabby-scheduler/src/repository.rs:86: An unrelated directory "terraform-module-...." was found in repositories directory, It will now be removed...
2024-04-02T05:21:00.343908Z  WARN tabby_scheduler::repository: crates/tabby-scheduler/src/repository.rs:86: An unrelated directory "terraform-module-...." was found in repositories directory, It will now be removed...
2024-04-02T05:21:00.347703Z  WARN tabby_scheduler::repository: crates/tabby-scheduler/src/repository.rs:86: An unrelated directory "terraform-module-...." was found in repositories directory, It will now be removed...
2024-04-02T05:21:00.351034Z  WARN tabby_scheduler::repository: crates/tabby-scheduler/src/repository.rs:86: An unrelated directory "terraform-module-...." was found in repositories directory, It will now be removed...
2024-04-02T05:21:00.356063Z  WARN tabby_scheduler::repository: crates/tabby-scheduler/src/repository.rs:86: An unrelated directory "....
ll ~/.tabby/dataset
total 8
-rw-r--r--@ 1 user.name  staff    13B Apr  2 07:41 deps.json
-rw-r--r--@ 1 user.name  staff     0B Apr  2 07:41 files.jsonl
@wsxiaoys
Copy link
Member

wsxiaoys commented Apr 2, 2024

The --webserver flag and repository configurations in config.toml are mutually exclusive. The webserver comes with its own configuration for Git providers.

Screenshot 2024-04-02 at 3 15 07 PM

@wsxiaoys wsxiaoys added documentation Improvements or additions to documentation and removed bug-unconfirmed labels Apr 2, 2024
@wsxiaoys wsxiaoys self-assigned this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants