Bound treasury proposal bounty ids#544
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
Reviewed PR #544 at head No blocking findings from this pass. I inspected Validation run locally from an isolated PR worktree: I also checked the commit status for |
|
Reviewed PR #544 at Evidence checked:
Validation:
Assessment: no blocker found. The change is narrowly scoped to direct treasury proposal payload validation and matches the existing path-parameter SQLite integer bound. |
Summary
bounty_idpayloads before SQLite bindingpay_bountyandclose_bountyproposal actionsEvidence
This follows up on the current-head review finding in #512 / PR #458: oversized direct proposal payload ids returned
500 Internal Server Error, while the neighboring proposal path-id guard already returns a bounded400.Validation
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 ./.venv/bin/python -m pytest tests/test_treasury_proposals.py -q->23 passed./.venv/bin/python -m ruff check app/treasury.py tests/test_treasury_proposals.py-> passed./.venv/bin/python -m ruff format --check app/treasury.py tests/test_treasury_proposals.py-> passedgit diff --check-> cleanRefs #512