Skip to content

Fix/1.1.3 - #28

Closed
victoraigbeghian wants to merge 4 commits into
masterfrom
fix/1.1.3
Closed

victoraigbeghian wants to merge 4 commits into
masterfrom
fix/1.1.3

Conversation

@victoraigbeghian

Copy link
Copy Markdown
Owner

Squashed some bugs and updated some codes to make Intercessor better

victoraigbeghian and others added 4 commits October 23, 2026 21:54
…andling (1.1.2)

fix: remove dead code, correct bulk notifications, and harden input handling (1.1.2)

Fixes nine issues identified during a code audit of 1.1.1.
The 1.1.2 change made the bulk handler iterate the IDs returned by
bulk_update_status(), but that method added an ID whenever
update_status() returned true, and update_status() returns true for a
no-op write because Query::update_item() only reports false on a
database error. Requests already in the target status were therefore
still reported as updated, emailed, and given a history row with
identical old and new status.

bulk_update_status() now reads each request and skips it when the
status would not change. Moderation_Handler applies the same rule to
the notification on the single-request form.

Also updates two integration tests that still asserted the pre-1.1.2
integer return value of bulk_update_status().

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FD4jdK3UF9epvz4D15yqiW
Bug fixes, code updates in preparation for Intercessor 1.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants