Skip to content

[19.0][FIX] base_tier_validation: no reminders for reviews still waiting - #71

Open
bosd wants to merge 2 commits into
OCA:19.0from
bosd:19.0-fix-base_tier_validation-reminder-waiting
Open

bosd wants to merge 2 commits into
OCA:19.0from
bosd:19.0-fix-base_tier_validation-reminder-waiting

Conversation

@bosd

@bosd bosd commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

The reminder cron picked reviews in waiting as well as pending. With Approve by sequence, a waiting review sits behind an earlier tier: the reviewer can't act on it yet, but got reminded anyway, every few days.

Now only pending reviews are reminded. When a waiting review becomes pending, it is reminded at the next cron run, because it has already been open longer than the delay.

The new test fails without the fix: the second tier gets a reminder while it is still waiting.

Independent of #39 (batch limit in the same cron). They merge cleanly in either order, and the suite passes with both.

A second commit updates the help of the reminder delay to say it is about pending reviews, which is true once this fix is in. #23 rewrites the same help line; whichever merges second gets a one-line conflict, which I'll resolve.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @LoisRForgeFlow,
some modules you are maintaining are being modified, check this out!

bosd added 2 commits October 6, 2026 19:06
The reminder cron picked reviews in waiting as well as pending. A waiting
review sits behind an earlier tier of an "approve by sequence" chain: the
reviewer cannot act on it yet, but was reminded to anyway, every few
days. Remind pending reviews only. A review that becomes pending is
reminded at the next run, since it has been open longer than the delay.
…views

Now that waiting reviews get no reminder, the help can say what
happens: a reminder every so many days while the review is pending.
@bosd
bosd force-pushed the 19.0-fix-base_tier_validation-reminder-waiting branch from 137eec6 to f03d4e5 Compare October 6, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working mod:base_tier_validation Module base_tier_validation series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants