Skip to content

[pull] main from ietf-tools:main - #168

Merged
pull[bot] merged 3 commits into
Reaper1-1:mainfrom
ietf-tools:main
Aug 7, 2026
Merged

[pull] main from ietf-tools:main#168
pull[bot] merged 3 commits into
Reaper1-1:mainfrom
ietf-tools:main

Conversation

@pull

@pull pull Bot commented Aug 7, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

NGPixel and others added 3 commits August 7, 2026 14:57
Removed outdated npm group configuration for coverage-action.
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6 to 7.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…11340)

* chore: ruff ruff

* fix: handle exception for API filter values that fail below tastypie

Filter values reach the ORM with very little validation, and some of them only fail after tastypie has stopped looking at them - either while the query is being built or once it runs. Those surfaced as unhandled exceptions.

Add guards at both layers, in the ModelResource that every datatracker resource subclasses:

dispatch() converts DataError into a bad request, covering values that are only rejected once the query reaches the database. Only DataError is treated this way, as the DBAPI error for a problem with the data in the query. OperationalError, ProgrammingError and InternalError indicate a broken database or a bug of ours, and still raise and report. The database's message is logged rather than returned, since it can quote the offending value into a response body that is
not escaped.

* test: fix merge cruft

---------

Co-authored-by: Jennifer Richards <jennifer@staff.ietf.org>
@pull pull Bot locked and limited conversation to collaborators Aug 7, 2026
@pull pull Bot added the ⤵️ pull label Aug 7, 2026
@pull
pull Bot merged commit ea013e4 into Reaper1-1:main Aug 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants