[JMAP] Re: [Jmap] Allow clients to specify an id for new calendars

Bron Gondwana <brong@fastmailteam.com> Wed, 17 September 2025 20:14 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: jmap@mail2.ietf.org
Delivered-To: jmap@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 425A5647A0E5 for <jmap@mail2.ietf.org>; Wed, 17 Sep 2025 13:14:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.798
X-Spam-Level:
X-Spam-Status: No, score=-2.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b="wi6qksxn"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="FUPxFkvw"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HKCNV1goLI17 for <jmap@mail2.ietf.org>; Wed, 17 Sep 2025 13:14:44 -0700 (PDT)
Received: from fout-b8-smtp.messagingengine.com (fout-b8-smtp.messagingengine.com [202.12.124.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id C9181647A0D7 for <jmap@ietf.org>; Wed, 17 Sep 2025 13:14:44 -0700 (PDT)
Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id A4E281D00237; Wed, 17 Sep 2025 16:14:38 -0400 (EDT)
Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-02.internal (MEProxy); Wed, 17 Sep 2025 16:14:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1758140078; x=1758226478; bh=rAytNVeqqHZallsLS7f8v63zz1pnmSqHb5pbhiHi790=; b= wi6qksxn9AjQiFFSHyJFRMDvXmI7A/fD2qlnkhymiJnnyLk+R4QQH5HsjfwFEWm1 bZKNoT6ZGrVQNKBF/4Ma7TkWy/F7j/m2rR8ndpshWnhTgN+i8QcXmSD46FFrzRHf lCU9d50NwBRZckZ845NXzZ1Tyc6HvtNYc7DZS7w/dhOVbJno45SC2ptI/nICdOa2 pDduFIhy8uWK/6V2XOAz9G+d1ogL9ANVaygNcq5nFpA7k2gPspYOlOS8pLi9ua+C GiyAQYwlI5AzHC4Fniu4+fU2QsveR8IcNEIw9w3oIkzrxAeIEqfhT8hZJIa0R7uS ZaAti6YnQ8ja7Vl/XaM+rg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1758140078; x=1758226478; bh=rAytNVeqqHZallsLS7f8v63zz1pnmSqHb5p bhiHi790=; b=FUPxFkvw5EHS8ZassRtoNvpaYUlwYISsoEQQ1Ys5L7RbJsNzHTg Dx2moqO95MJXw+6jVM6oen/+MbbrSsnsz6VEySB/5zJKpGSLzPvKvYx7lkSw8iJh MxI8tRMB/PHZCoDigNhZVFsOB8S64K1jrv+SvacI4f7lMPSNsvuQH7OBFCZVApkN HEb6/PA1AJ0Et1/wZQq1UunNicRzlzuSrcBu9+srIKGpsEOaYVKTrt8M3aq2qI6f n0L95trh+/XQdJi3D6WZ91bGFxHq29ZzRc3eSLRU87+5MSjtqHYJ71iRAGoJUqMh Q9d9AA9gf0RaqVwKIVMo/cFv0Q7u9n0VA7A==
X-ME-Sender: <xms:rhbLaEOilGU2odNuLoEqENLZKQ6G8TqKjizsiWMyGkWoAjwLF0Wr3Q> <xme:rhbLaK9ky8EiHRbU1rn6ZI7H2z9rM1dD14pLZNWdFjTfh5Rn9mhWMOvMhXplt_1VU eL-h6Z1b7Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdeggeefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtsegrtderreertddtnecuhfhrohhmpedfuehrohhnucfi ohhnugifrghnrgdfuceosghrohhnghesfhgrshhtmhgrihhlthgvrghmrdgtohhmqeenuc ggtffrrghtthgvrhhnpefgteeftdfhheekjeelfefftdeltddugfegjeeufffhjeeifedu teevleetudetudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpegsrhhonhhgsehfrghsthhmrghilhhtvggrmhdrtghomhdpnhgspghrtghpthht ohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsggvnhdrsghutghkshgthh essggvohhnvgigrdgtohhmpdhrtghpthhtohepnhgvihhljhepgedtfhgrshhtmhgrihhl thgvrghmrdgtohhmsegumhgrrhgtrdhivghtfhdrohhrghdprhgtphhtthhopehlihhsrg drughushhsvggruhhlthesghhmrghilhdrtghomhdprhgtphhtthhopehjmhgrphesihgv thhfrdhorhhgpdhrtghpthhtohepmhgruhhrohesshhtrghlfidrrghrthdprhgtphhtth hopehhuhhgohesfihhhihnohhthhhughhordhnlh
X-ME-Proxy: <xmx:rhbLaIoyG7PwaLp7v5cJ4airaoo4nCo__2gl_mURmBwSYLjRnPhtzQ> <xmx:rhbLaPZPqlt4zPY9_Ms_RVftWySgUZrnziOw4OJSkBz7sQ2FlWwV5A> <xmx:rhbLaJUuU6UVmKWlpToek0Hkofshl5hS5wfQ534Iw5Sk44loWRV-rw> <xmx:rhbLaA8qqVUDTx8PaHEwQAkt7Nvxy4SwXYaYPuekZd8RH1OYGm3NlQ> <xmx:rhbLaMKwy2aUByVJ_OuA_ZWsJ-LHl7p3E-0ZVnQI_2EHhGcfJ-7id0ZC>
Feedback-ID: i2d7042ce:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501) id 1C50E780271; Wed, 17 Sep 2025 16:14:38 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
X-ThreadId: AZE12evm1exJ
Date: Wed, 17 Sep 2025 16:14:17 -0400
From: Bron Gondwana <brong@fastmailteam.com>
To: Neil Jenkins <neilj=40fastmailteam.com@dmarc.ietf.org>, Ben Bucksch <ben.bucksch@beonex.com>, Lisa Dusseault <lisa.dusseault@gmail.com>, Mauro De Gennaro <mauro@stalw.art>
Message-Id: <93b3454c-a5be-4065-9bd6-1c8640ed4c45@app.fastmail.com>
In-Reply-To: <67acd9ff-c0f2-4de3-a8e5-4c2808e8cda1@dogfoodapp.fastmail.com>
References: <1de36e51-e92a-4874-9c37-989064242a88@app.fastmail.com> <2E12287B-DED4-4667-8CD8-47E1AA56EF45@stalw.art> <f3165910-c429-4cad-b0f6-f20989c51ffe@app.fastmail.com> <4DFE4C16-882C-4271-ADF3-66DEB6079CA3@stalw.art> <afd49249-04ec-490a-9744-61026d9c14d0@app.fastmail.com> <8E4683AD-553B-4EB8-AF22-AD0AFA10FCB5@stalw.art> <CAEi+uC45eBm=7DGYtZf8NEYy3sM5GrG6DXk8nnUSUagTyXLO+g@mail.gmail.com> <823B0BE5-EE4A-4538-B0DC-BE0E39CA55E1@stalw.art> <CAEi+uC4FXG7Lk=1i9eoZHP5gpkiS5JKVWdCKQbmZ_yb9_eyVng@mail.gmail.com> <3a10ea2d-24c1-e53e-ae31-472ae26490fd@beonex.com> <67acd9ff-c0f2-4de3-a8e5-4c2808e8cda1@dogfoodapp.fastmail.com>
Content-Type: multipart/alternative; boundary="f36588197c004774b86901fe4d8ebe1d"
Message-ID-Hash: KH2SVRFLPGJK23X4T7PMKDQU3763RZHG
X-Message-ID-Hash: KH2SVRFLPGJK23X4T7PMKDQU3763RZHG
X-MailFrom: brong@fastmailteam.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-jmap.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Hugo Osvaldo Barrera <hugo@whynothugo.nl>, IETF JMAP Mailing List <jmap@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [JMAP] Re: [Jmap] Allow clients to specify an id for new calendars
List-Id: JSON Meta Access Protocol <jmap.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/qeBrPHAlc4zMSp7WgyXli-SVBXQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Owner: <mailto:jmap-owner@ietf.org>
List-Post: <mailto:jmap@ietf.org>
List-Subscribe: <mailto:jmap-join@ietf.org>
List-Unsubscribe: <mailto:jmap-leave@ietf.org>

On Tue, Sep 16, 2025, at 19:57, Neil Jenkins wrote:
> I'm very confused about what's being requested here. Everything already has a unique id. It's assigned by the server. The original request was about syncing from another server to your JMAP server, and therefore wanting to store the remote id of the item so you know what you're syncing with. As Mauro said, you could do this with a metadata extension. What am I missing?

Yeah, there seem to be two conflicting requirements here:

1) that every item has a unique identifier
2) that (every?) client can specify the unique identifier that an object has

Those two conflict as soon as two different clients decide to give the same unique identifier to different objects.  What happens there?  This is solved by JMAP by having the server decide the identifier, so it can do the conflict resolution.

(and yes, this really can happen with something like contacts or calendar events if two disconnected clients change them in different ways and then try to save them to the same JMAP account)

Bron.

--
  Bron Gondwana, CEO, Fastmail Pty Ltd / Fastmail US LLC
  brong@fastmailteam.com