Kong / Kong/deck

decK should error out on presence of invalid unicode characters in yaml files

Open
#2,064 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
503
Forks
137
Avg merge
3d 5h
Merged PRs (30d)
20

Description

decK fails silently when certain unicode characters replace spaces for indentation - for example, when `u+00a0` is present before `config.*`, `deck file add-plugins` fails silently and sets `config` to `null`.
We should error out explicitly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `deck file add-plugins` entry point and trace how its YAML input is parsed when a non-breaking space appears before `config.*`. Reproduce the silent `config: null` result with the example character, then verify that invalid indentation produces an explicit error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.