Skip to content

Wally server consistently crashes due to "corrupted loose reference file" #178

@NobleDraconian

Description

@NobleDraconian

Currently, as of v0.3.2, the wally server consistently crashes when attempting to point it to a github repository for its index.

To reproduce:

  1. Create a fresh blank repository through github's web UI, name it wally-index
  2. Compile the wally server binary via cargo build --release.
  3. Create the environment variables:
export WALLY_INDEX_URL="https://github.com/scope/wally-index"
export WALLY_AUTH="{type=api-key,value=herebedragons}"
export WALLY_GITHUB_TOKEN="tokenhere"
export WALLY_STORAGE="{type=local}"
  1. Run the wally server (./wally-registry-backend)
  2. Observe that wally crashes because of a "corrupted loose reference file", despite the index repository being freshly created on github and not touched by any local machines:
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions