Add pipelock YAML render contract tests #130

Closed
opened 2026-06-02 03:58:09 -04:00 by didericis-codex · 0 comments
Collaborator

Problem

Issue #117 identifies bot_bottle/pipelock.py as a remaining hotspot. pipelock_render_yaml hand-renders a fixed YAML shape and reads specific config keys. If pipelock_build_config changes shape, rendering can fail at runtime or silently emit YAML whose semantics no longer match the structured config.

Desired outcome

Add a PRD for locking down the pipelock config render contract. The PRD should cover structured render helpers or assertions, round-trip/semantic tests for rendered YAML, optional sections, and failure behavior for unsupported config shapes.

Parent context

Carved out from the broader hotspot review in #117.

## Problem Issue #117 identifies `bot_bottle/pipelock.py` as a remaining hotspot. `pipelock_render_yaml` hand-renders a fixed YAML shape and reads specific config keys. If `pipelock_build_config` changes shape, rendering can fail at runtime or silently emit YAML whose semantics no longer match the structured config. ## Desired outcome Add a PRD for locking down the pipelock config render contract. The PRD should cover structured render helpers or assertions, round-trip/semantic tests for rendered YAML, optional sections, and failure behavior for unsupported config shapes. ## Parent context Carved out from the broader hotspot review in #117.
didericis added the Kind/Enhancement label 2026-06-02 04:05:49 -04:00
didericis-codex was assigned by didericis 2026-06-02 04:05:53 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: didericis/bot-bottle#130