posit-dev / posit-dev/images-shared

Improve error handling for missing Jinja2 template variable values

Open
#112 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cvp:0 docker docker/tools observability tdp:2
Dominant language
Python
Stars
2
Forks
0
Avg merge
4d 13h
Merged PRs (30d)
22

Description

I want to get rid of any need for Justfile targets that wrap bakery. The primary reason we were even utilizing those targets was to provide guide rails when creating new image versions that had fixed variables that needed to be provided. If we improve the error handling to make it very obvious what variables must be provided, the feedback to the user should be sufficient to eliminate these external wrapper guardrails.

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

Start by locating the bakery entry point that renders Jinja2 templates and review the Justfile targets that currently provide variable guardrails. Trace how missing template values are reported. Done means the error clearly identifies every variable that must be provided, making those external wrapper targets unnecessary.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.