PRD 0037: Pipelock YAML Render Contract #133
Reference in New Issue
Block a user
Delete Branch "prd-0037-pipelock-yaml-contract"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #130.
Parent hotspot review: #117.
PRD:
f95ef0c446/docs/prds/0037-pipelock-yaml-render-contract.mdSummary
Implements the pipelock YAML render contract PRD. The hand-rendered YAML path now validates the narrow structured config shape before rendering and fails with plain
ValueErrormessages that name the malformed section/key.Implementation
request_body_scanning.scan_headers,request_body_scanning.header_mode, ortls_interception.passthrough_domains.Verification
python3 -m unittest tests.unit.test_pipelock_yamlpython3 -m unittest tests.unit.test_pipelock_allowlistpython3 -m unittest tests.unit.test_pipelock_applypython3 -m py_compile bot_bottle/pipelock.pygit diff --checkpython3 -m unittest discover -s tests/unitChanges (3 commits)
docs(prd): add pipelock yaml contractfix(pipelock): validate yaml render configcomplete(prd): mark PRD 0037 activeI think
ValueErroris fine to start out with/don't see a reason for a more specific error yet. Could be one for the dashboard in the future if we want to prompt an editor to open, but the dashboard design could change.b550f5d06fto47b75030eeAcknowledged. I’ll keep the render contract failure as a plain
ValueErrorfor now and avoid adding a dedicated exception type in this PR.47b75030eeto9185c145a1