[regext] Re: RDAP versioning - on client-server interactions and 2-RTT flow

"Andrew Newton (andy)" <andy@hxr.us> Fri, 22 November 2024 20:08 UTC

Return-Path: <andy@hxr.us>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E712DC14F6EF for <regext@ietfa.amsl.com>; Fri, 22 Nov 2024 12:08:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hxr-us.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sf4utwFU60Vv for <regext@ietfa.amsl.com>; Fri, 22 Nov 2024 12:08:16 -0800 (PST)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5BC28C14F69A for <regext@ietf.org>; Fri, 22 Nov 2024 12:08:16 -0800 (PST)
Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-53da22c5863so3118527e87.0 for <regext@ietf.org>; Fri, 22 Nov 2024 12:08:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hxr-us.20230601.gappssmtp.com; s=20230601; t=1732306094; x=1732910894; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BNKafIGB/8iRjab/GazlsAoRUsnTyFAoOBm3ovRXxSo=; b=dt1UM/r5PT/8g8pAsHjj9LnQXFffeP6mQugYF3fr8d/JQrqIwmqQ6F7DwFv8S5U9A5 h6XyRiJawcGsfafsGmR6JCONH2yDPWSnV2oIfV9DtApioy0jQD5X7NuDXa7jIqPSIzvr mZmxDczBfI9rDJG4EW1Ge8SF1hA/K01FlIfGKdU+Y+svY6XpkvCJg0ZLkGuZf0TTMltA kLKqVTo91hyrtgC9KqagZs2x0Z7Nypcs4Uv8A8kRhoYJBFFvejkVEMBhft240QYVOEFY 3EXWJ70PIYThOtwU6BKAD9OzMZeKAqJLJXV1/6JqT2fL1M8JYajnqGkeskv7bnyC/sl9 kwcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732306094; x=1732910894; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BNKafIGB/8iRjab/GazlsAoRUsnTyFAoOBm3ovRXxSo=; b=SzDvw6ar/FHCnx0yZVS5rqZbUkoBKQqmFphLqKIRTdrVclYP827z0YptWqGYWWpcWE rHgHME2EoY82ZUwXweXpQeqxcDYsr33Pj521MTtjRTiGxWms8bPilALSUNgtze07huJk 9KJfeGqNl6+DnouaxJhquFfbkTKK8YOU8SXREJgLV7tqdWyUxHIpr137Lpb8CMFosfEb 5qTpc19TnnsvadeZzWi0ADifdwWEyjvmdAAIKTa4oxix/SK7LU1b8p20Qg8zvdgmIGcN zwGJekx5IlBFLpc0tybRTtjEIzKNuXyCdCwxwqDQzwi5weNF1mZOzMsR9SEEBUtH5mkJ rm+w==
X-Forwarded-Encrypted: i=1; AJvYcCXhhlHE9+eIiwWCfQG6iOMX4+nf4ie1u4MIr7b7ak0uXFtAdsoU1nZCUGFEZonXbh1PXjdu/Fo=@ietf.org
X-Gm-Message-State: AOJu0YypVW7p4fBAq0Zcc7X7kfWXkQtJ59aVcys5bJizocoU6PhzdDs6 d1c8Pyw8z10jQrEj7DcShwdia6c2x1li5E5BsZOClAH2BIDeN6jdY+2DH+waSozsAOYgoRNT4rz zYilp36MBMMoLBz+ZQr2Z3q4ndbvZL6ZJK/XzJ/PgICEj+HaM
X-Gm-Gg: ASbGncsRSuA3Kp8SWX6h/X/LTrq7WU1QJbZhZfRckWB6I23cJSPfehccn4HSHrUnfBU DEocSOFduhu0KuKV9zA3APB6Wfb4z
X-Google-Smtp-Source: AGHT+IEsS4uKETXhy66hekn39QiN9i8ZSoHius8PVTJlY+HBUJH4twu8IMsnaI+IwAp8pcq2RehVsgWvGVhEubi2GXw=
X-Received: by 2002:a05:6512:b98:b0:53d:ab1f:4c39 with SMTP id 2adb3069b0e04-53dd39b2d98mr2552225e87.41.1732306093857; Fri, 22 Nov 2024 12:08:13 -0800 (PST)
MIME-Version: 1.0
References: <10ba3faa-8bf7-4202-81bf-e2c99473c3db@denic.de> <10BE3B85-4538-49C5-AB98-4EDDCDCF2B5F@verisign.com> <a872a3d3-ca80-4fbc-b747-b3738e857dae@denic.de> <F6BD2F41-C0E6-4892-B9DA-920A62A46CC5@verisign.com> <7fc24d8e-f845-4e62-b164-cf6dcaa39915@denic.de> <02044771-6C63-466D-88F4-FD08B270F4F3@verisign.com> <beb2763a-97ea-4e71-b144-45c5a3501042@denic.de> <EFD94C63-7AA1-400A-9A38-F7696409686A@verisign.com> <ba62eea0-6861-4b7b-9d5b-75ae4fae571c@iit.cnr.it>
In-Reply-To: <ba62eea0-6861-4b7b-9d5b-75ae4fae571c@iit.cnr.it>
From: "Andrew Newton (andy)" <andy@hxr.us>
Date: Fri, 22 Nov 2024 15:08:02 -0500
Message-ID: <CAAQiQRf+erCuYquLN25nAEcExe1CqEyhhF8pTX-SvVM-5TnYsw@mail.gmail.com>
To: Mario Loffredo <mario.loffredo=40iit.cnr.it@dmarc.ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: YVEMLRVSIDO5JFV7PAIU5FSYPMXCKRWZ
X-Message-ID-Hash: YVEMLRVSIDO5JFV7PAIU5FSYPMXCKRWZ
X-MailFrom: andy@hxr.us
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-regext.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Gould, James" <jgould=40verisign.com@dmarc.ietf.org>, "regext@ietf.org" <regext@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [regext] Re: RDAP versioning - on client-server interactions and 2-RTT flow
List-Id: Registration Protocols Extensions Working Group <regext.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/OM3tzGM60rHbB_rzKtz_ir30QPY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Owner: <mailto:regext-owner@ietf.org>
List-Post: <mailto:regext@ietf.org>
List-Subscribe: <mailto:regext-join@ietf.org>
List-Unsubscribe: <mailto:regext-leave@ietf.org>

below...

On Fri, Nov 22, 2024 at 5:00 AM Mario Loffredo
<mario.loffredo=40iit.cnr.it@dmarc.ietf.org> wrote:
>
> Can you please elaborate on which use case corresponds to support a default version that is six versions back to the next version and no version in between ?
>
> Honestly, can't imagine any practical case like the one you described.
>
> One coming in my mind is that all the versions between 0.4 to 0.9 could be related to additive changes and the server is able to support all of them.
>
> Instead, it seems more likely to me the scenario where the client requests for an extension version not yet supported by the server but supported elsewhere (e.g the client requests for version 0.9, but the higher version supported is 0.8).

How does this work? If my client requests 0.9 where the JSON
"foo":"bar" is mandatory but gets back 0.8 where "foo" was never
defined, wouldn't that cause an error? Is the assumption that a client
will be programmed to handle both? If so, I don't see that happening.
I also think it is unlikely that RDAP server operators will support
multiple versions of an extension in production.

I note that you use the words "additive changes" but the draft says
"new interface changes" (section 4.2). There probably needs to be some
language about what interface changes constitute a major bump vs a
minor bump.

Earlier in this thread there was a discussion about versioning
schemes. I don't know where it landed, but there are many more types
of versioning schemes than semver. A lot of software is going to dates
like "2024-05". From a CI/CD perspective, a sequence number or
increasing number scheme is more suitable. I'll also note that at
present there appears to be only one extension ever to have multiple
versions: the ICANN gTLD profile. However, it uses opaque versioning
in the identifier, its documents use major.minor but not necessarily
semver as elements required in early versions are optional in the
latest, and the versions are referred to by their year of ratification
(2019 vs 2024). Food for thought.

-andy