quickwit-oss / quickwit-oss/quickwit

Configuration error message should mention the "path to invalid key".

Open
#2,590 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

Description

Is your feature request related to a problem? Please describe.
Having a faulty configuration value, I was looking for the wrong configuration key

Describe the solution you'd like
Have the configuration key in the error message

Describe alternatives you've considered
Not doing error

Additional context

error message

listen_address: 127.0.0.1
rest_listen_port: "8080"

Caused by:
    0: Failed to read YAML file.
    1: invalid type: string "8080", expected u16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies YAML configuration parsing as the affected area but names no file, test, or entry point. Start by locating the code and tests that produce the shown “invalid type” error, then verify that errors identify the path to the invalid configuration key.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
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.