grafana / grafana/killercoda

bug: How to deal with {{<code>}} blocks

Open
#28 2 comments 0 reactions 0 assignees View on GitHub
bug transformer
Dominant language
Go
Stars
30
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Notice how I mis-copy/pasted and I "end a block" before it started. Below this block, I end it a second time. No warnings either time, no step5 emitted by the transformer. Ideally, the code would say "hey dude you ended something before you started it" and fail.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the transformer code that handles {{}} blocks and reproduce the issue with a block ending before it starts, followed by a second end. Check the existing behavior around the missing step5 output. Done means the malformed block is reported as an error or warning and the transformer’s behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Bug
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.