A member could be stamped as invited but hold no membership, then never be invited again.
Two real cases this fixes:
Maykel Moya: joined and accepted Nov 10, membership revoked Nov 14 by the automated (API) removal path during his identity settlement; still active, so the stamp should not have kept him out.
Christine Wilson: removed herself from Loomio Nov 20 (revoked by her own user id, account deactivated). She is exempted via loomio_opt_out.
Changes:
Stamp only addresses Loomio reports in added_emails (previously every address in the payload was stamped even when Loomio did not add it).
Reconcile: clear the stamp for an ACTIVE member stamped-but-absent from the live roster; invite waits one pass so a single stale page cannot trigger it.
LOOMIO_RECONCILE_MAX (default 10) caps stamp clearing per pass — more than that means a short roster read, not a mass re-invite.
loomio_opt_out column exempts members who left deliberately.
Username fix: on 422 "already been taken", try the portal slug then numbered suffixes. Loomio handles are instance-global, so matt (Matthew Lorentz) and every opencollective@… alias collide.
Tests: tests/test_loomio_guard.py 37/37; new tests/test_loomio_usernames.py 8/8; full suite unchanged otherwise (two pre-existing failures on main remain, unrelated).
A member could be stamped as invited but hold no membership, then never be invited again.
Two real cases this fixes:
- Maykel Moya: joined and accepted Nov 10, membership revoked Nov 14 by the automated (API) removal path during his identity settlement; still active, so the stamp should not have kept him out.
- Christine Wilson: removed herself from Loomio Nov 20 (revoked by her own user id, account deactivated). She is exempted via `loomio_opt_out`.
Changes:
- Stamp only addresses Loomio reports in `added_emails` (previously every address in the payload was stamped even when Loomio did not add it).
- Reconcile: clear the stamp for an ACTIVE member stamped-but-absent from the live roster; invite waits one pass so a single stale page cannot trigger it.
- `LOOMIO_RECONCILE_MAX` (default 10) caps stamp clearing per pass — more than that means a short roster read, not a mass re-invite.
- `loomio_opt_out` column exempts members who left deliberately.
- Username fix: on 422 "already been taken", try the portal slug then numbered suffixes. Loomio handles are instance-global, so `matt` (Matthew Lorentz) and every `opencollective@…` alias collide.
Tests: `tests/test_loomio_guard.py` 37/37; new `tests/test_loomio_usernames.py` 8/8; full suite unchanged otherwise (two pre-existing failures on main remain, unrelated).
The invite stamp meant 'handed to Loomio once, EVER', so a member whose
membership was later revoked (a lapse that was reversed) or who deleted
their Loomio account was recorded as invited and never invited again.
- Stamp only the addresses Loomio actually returns in added_emails; an
address accepted in the payload but not added stays eligible.
- Clear the stamp for an ACTIVE member stamped-but-absent from the live
roster; the invite itself waits one pass so a single stale page cannot
become an invite.
- Cap stamp clearing per pass (LOOMIO_RECONCILE_MAX, default 10): more
stamped-but-absent members means a short roster read, not a mass
re-invite.
- loomio_opt_out exempts members who deliberately left.
- Username fix falls back to the portal slug when a handle is already
taken (Loomio handles are instance-global; every OC alias resolves to
opencollective).
inference-bot
requested review from inference-admin 2026-11-22 19:45:36 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A member could be stamped as invited but hold no membership, then never be invited again.
Two real cases this fixes:
loomio_opt_out.Changes:
added_emails(previously every address in the payload was stamped even when Loomio did not add it).LOOMIO_RECONCILE_MAX(default 10) caps stamp clearing per pass — more than that means a short roster read, not a mass re-invite.loomio_opt_outcolumn exempts members who left deliberately.matt(Matthew Lorentz) and everyopencollective@…alias collide.Tests:
tests/test_loomio_guard.py37/37; newtests/test_loomio_usernames.py8/8; full suite unchanged otherwise (two pre-existing failures on main remain, unrelated).