expiresAt: "2020-01-01T00:00:00Z" is accepted. The invite is written to the invitee's inbox and the host's list already lapsed: it can't be redeemed and listInvites hides it, yet the call answers its uri as if it worked. millis_of also needs a trailing Z, so 2026-12-01T00:00:00+01:00, a valid lexicon datetime, is refused with InvalidRequest. No test covers either case.
How to see it
Read against docs/fresh at 4636e6d, the code at: group_invites.rs:174-177, 70-71. Paths are under crates/group-host/src unless they say otherwise. Severity: low.
What you expected
Refuse an expiresAt that isn't in the future, and accept numeric offsets (or say in the lexicon that only UTC Z is taken).
Where
The host, as built from 4636e6d. Found while checking the docs against the code.
What happened
expiresAt: "2020-01-01T00:00:00Z"is accepted. The invite is written to the invitee's inbox and the host's list already lapsed: it can't be redeemed andlistInviteshides it, yet the call answers itsurias if it worked.millis_ofalso needs a trailingZ, so2026-12-01T00:00:00+01:00, a valid lexicondatetime, is refused withInvalidRequest. No test covers either case.How to see it
Read against
docs/freshat 4636e6d, the code at: group_invites.rs:174-177, 70-71. Paths are undercrates/group-host/srcunless they say otherwise. Severity: low.What you expected
Refuse an
expiresAtthat isn't in the future, and accept numeric offsets (or say in the lexicon that only UTCZis taken).Where
The host, as built from 4636e6d. Found while checking the docs against the code.