Skip to content

rgit unexpectedly restarts #103

Description

@paberr

I have just setup rgit using Docker and was playing around with it.
It correctly shows my git repositories and the summary also lists my commits and branches.

However, as soon as I try to get information on a specific commit or file, the docker container crashes and restarts.
Going through the tree directory structure works – only accessing a file crashes rgit.

I am trying to debug the issue but the logs do not seem to give much of a hint on what's going on.
I've attached the logs for two different actions here. I waited for rgit to restart and then performed the relevant action.

Is there a way to get better logging output?

Accessing a commit

2025-03-14T11:19:39.581984Z  INFO ThreadSafeRepository::open():open_from_paths():gix_odb::Store::at(): gix_odb::store_impls::dynamic::init: close time.busy=108µs time.idle=1.74µs
2025-03-14T11:19:39.582029Z  INFO ThreadSafeRepository::open():open_from_paths(): gix::open::repository: close time.busy=365µs time.idle=1.05µs
2025-03-14T11:19:39.582039Z  INFO ThreadSafeRepository::open(): gix::open::repository: close time.busy=498µs time.idle=4.95µs
2025-03-14T11:19:39.582271Z  INFO web{request_id="aca2457a-9b80-4445-ba68-453262515dc8"}:repo{repo_path="/git/repo" branch=None}: rgit::git: close time.busy=196µs time.idle=764µs
2025-03-14T11:19:39.583764Z  INFO fetch_diff_and_stats{highlight=true}:gix_index::State::from_tree(): gix_index::init::from_tree: close time.busy=347µs time.idle=1.70µs
2025-03-14T11:19:39.584379Z  INFO fetch_diff_and_stats{highlight=true}:gix_index::State::from_tree(): gix_index::init::from_tree: close time.busy=341µs time.idle=3.04µs
2025-03-14T11:19:41.908513Z  INFO rgit: Priming highlighters...
2025-03-14T11:20:01.410158Z  INFO rgit: Server starting up...

Accessing a file

2025-03-14T11:24:28.417447Z  INFO web{request_id="820fbd58-9d73-4654-959d-eb45951bfa20"}:repo{repo_path="/git/repo" branch=None}: rgit::git: close time.busy=51.7µs time.idle=4.30µs
2025-03-14T11:24:30.592960Z  INFO rgit: Priming highlighters...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions