Skip to content

Conversation

@feyruzb
Copy link
Collaborator

@feyruzb feyruzb commented Jan 15, 2026

This pull request introduces a new "filter preset" feature to CodeChecker, allowing users to save, retrieve, list, and delete named sets of report filters. It also includes updates to the API version and necessary database changes to support this functionality. The changes span the backend, API, database schema, and client helpers.

Filter Preset Feature:

  • Added a new FilterPreset struct to report_server.thrift and defined four new API endpoints: storeFilterPreset, getFilterPreset, deleteFilterPreset, and listFilterPreset for managing filter presets. Also added getNameByValueForFilter to convert enum values to UI-friendly names. [1] [2] [3]
  • Implemented corresponding backend logic in report_server.py for storing, retrieving, deleting, and listing filter presets, including validation and error handling.
  • Added helper functions in the client (results.py) to call the new filter preset API endpoints.

Database and Migration Updates:

  • Created a new filter_presets table via Alembic migration, with unique preset names and JSON storage for report filters.
  • Added the FilterPreset ORM model to run_db_model.py to support the new table. [1] [2]

Version and Packaging Updates:

  • Bumped the CodeChecker API version to 6.68.0 across Python, Node.js, and client/server package manifests. [1] [2] [3] [4] [5] [6] [7]

Build and Maintenance:

  • Added a new shell script completly-rebuild-thrift.sh to automate rebuilding the Thrift API and related environment setup.

@feyruzb feyruzb self-assigned this Jan 16, 2026
@feyruzb feyruzb added enhancement 🌟 API change 📄 Content of patch changes API! WIP 💣 Work In Progress GUI 🎨 server 🖥️ web 🌍 Related to the web app new feature 👍 New feature request javascript Pull requests that update JavaScript code (used by DependaBot) python Pull requests that update Python code (used by DependaBot) labels Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API change 📄 Content of patch changes API! enhancement 🌟 GUI 🎨 javascript Pull requests that update JavaScript code (used by DependaBot) new feature 👍 New feature request python Pull requests that update Python code (used by DependaBot) server 🖥️ web 🌍 Related to the web app WIP 💣 Work In Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant