feat(invitations): send invitations into the candidate inbox atomically
This commit is contained in:
1 parent
fc35e27af5
commit
1a067221f7
46 files changed
+3276
-113
No files matched your search
@@ -14035,7 +14035,8 @@ func (s *Server) handleSearchOrganizationMatchesRequest(args [1]string, argsEsca
|
||||
// answer per need (`delivered`, `viewed`, `counter`) and the 30-day pause for the pair of the
|
||||
// organization and the candidate after a decline or a no deal, regardless of the member or the need,
|
||||
// both with 409 state_conflict; and the rolling weekly quota of the organization, with 429 and
|
||||
// Retry-After. Enforcement of the pending limit and the organization quota is planned.
|
||||
// Retry-After. The organization quota is enforced; the pending limit and the pause are planned and are
|
||||
// not checked yet.
|
||||
//
|
||||
// Repeats return the same result: a retry with the same Idempotency-Key replays the stored response,
|
||||
// and a send of an invitation that was already sent answers 200 with the invitation in its current
|
||||
|
||||
@@ -20754,10 +20754,10 @@ func (s *NotificationContent) SetLinkPath(val NilString) {
|
||||
// Which event put the notification into the inbox. The inbox stores a reference to the event, never
|
||||
// its text.
|
||||
//
|
||||
// - invitation_delivered: an invitation reached the candidate's inbox. This is the in-platform
|
||||
// delivery state of the invitation: it does not depend on any email, and a failed or missing email
|
||||
// never blocks it. The invitation operations are planned; no invitation produces a notification
|
||||
// yet.
|
||||
// - invitation_delivered: an invitation reached the candidate's inbox. It does not depend on any
|
||||
// email, and a failed or missing email never blocks it. The send of an invitation produces it
|
||||
// through the outbox, so the notice appears shortly after the commit of the send, while the
|
||||
// invitation itself is in ListMyInvitations from that commit.
|
||||
// - synthetic: a synthetic notice that exercises the inbox path (the event, the read-time visibility
|
||||
// check, the list, and the read state). It has no product meaning, needs no action, and is never
|
||||
// produced by a user action.
|
||||
|
||||
@@ -1725,7 +1725,8 @@ type Handler interface {
|
||||
// answer per need (`delivered`, `viewed`, `counter`) and the 30-day pause for the pair of the
|
||||
// organization and the candidate after a decline or a no deal, regardless of the member or the need,
|
||||
// both with 409 state_conflict; and the rolling weekly quota of the organization, with 429 and
|
||||
// Retry-After. Enforcement of the pending limit and the organization quota is planned.
|
||||
// Retry-After. The organization quota is enforced; the pending limit and the pause are planned and are
|
||||
// not checked yet.
|
||||
//
|
||||
// Repeats return the same result: a retry with the same Idempotency-Key replays the stored response,
|
||||
// and a send of an invitation that was already sent answers 200 with the invitation in its current
|
||||
|
||||
@@ -1916,7 +1916,8 @@ func (UnimplementedHandler) SearchOrganizationMatches(ctx context.Context, req M
|
||||
// answer per need (`delivered`, `viewed`, `counter`) and the 30-day pause for the pair of the
|
||||
// organization and the candidate after a decline or a no deal, regardless of the member or the need,
|
||||
// both with 409 state_conflict; and the rolling weekly quota of the organization, with 429 and
|
||||
// Retry-After. Enforcement of the pending limit and the organization quota is planned.
|
||||
// Retry-After. The organization quota is enforced; the pending limit and the pause are planned and are
|
||||
// not checked yet.
|
||||
//
|
||||
// Repeats return the same result: a retry with the same Idempotency-Key replays the stored response,
|
||||
// and a send of an invitation that was already sent answers 200 with the invitation in its current
|
||||
|
||||
Reference in new issue
Block a user