From 693947f801ec9f39b45831c6be8524d97a0180ad Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 11:51:01 +0000 Subject: [PATCH 1/2] test(id): expect two declared client providers in the exit proof The client segment grew to two providers when PR #12891 registered client.notify for the mobile shell (#10930); the exit proof still asserted exactly one, so the id package build failed on main and blocked #1374 criterion 2 (nixos-playwright-e2e never reached the Playwright suite). Expect both declared providers, in order, with the same per-provider registry/ceiling checks as before. Refs #1374, #10930 --- pkgs/id/tests/provider_registry_exit_proof.rs | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/pkgs/id/tests/provider_registry_exit_proof.rs b/pkgs/id/tests/provider_registry_exit_proof.rs index 81ee818e6a..e42b1202e3 100644 --- a/pkgs/id/tests/provider_registry_exit_proof.rs +++ b/pkgs/id/tests/provider_registry_exit_proof.rs @@ -16,9 +16,9 @@ use std::collections::BTreeSet; use id::world_caps::{ - CATALOG, CATALOG_ENTRIES, CLIENT_CATALOG_ENTRIES, CLIENT_FILE_READ_NAME, CapLedger, Decision, - DefaultCeiling, PROVIDER_REGISTRY, ProviderSide, TEST_PROVIDER_NAME, catalog_names, - default_ceiling_names, + CATALOG, CATALOG_ENTRIES, CLIENT_CATALOG_ENTRIES, CLIENT_FILE_READ_NAME, CLIENT_NOTIFY_NAME, + CapLedger, Decision, DefaultCeiling, PROVIDER_REGISTRY, ProviderSide, TEST_PROVIDER_NAME, + catalog_names, default_ceiling_names, }; use id::world_compile::{CompileSpec, check_imports}; @@ -116,7 +116,7 @@ fn the_client_segment_is_exactly_the_declared_client_providers() { // Every client-side entry in the assembled registry comes from the // declared client segment (its position is asserted in // the_probe_is_visible_in_the_capability_catalog); here, its - // contents: the one F13.7 client provider, by name, client-side, + // contents: the two F13.7 client providers, by name, client-side, // excluded from every default ceiling, and absent from the legacy // host CATALOG view. let client_side: Vec<_> = CATALOG_ENTRIES @@ -150,18 +150,29 @@ fn the_client_segment_is_exactly_the_declared_client_providers() { assert_eq!( CLIENT_CATALOG_ENTRIES.len(), - 1, - "F13.7 declares exactly one client provider so far" + 2, + "F13.7 declares exactly two client providers so far" ); - let declared = CLIENT_CATALOG_ENTRIES - .first() - .expect("the client segment is non-empty"); - assert_eq!(declared.name, CLIENT_FILE_READ_NAME); - let manifest = PROVIDER_REGISTRY - .get(CLIENT_FILE_READ_NAME) - .expect("the registry resolves the client provider by name"); - assert_eq!(manifest, declared); - assert_eq!(manifest.version, 1); + let declared_names: Vec<&str> = CLIENT_CATALOG_ENTRIES + .iter() + .map(|entry| entry.name) + .collect(); + assert_eq!( + declared_names, + [CLIENT_FILE_READ_NAME, CLIENT_NOTIFY_NAME], + "the declared client segment is client.file.read then client.notify, in order" + ); + for name in [CLIENT_FILE_READ_NAME, CLIENT_NOTIFY_NAME] { + let declared = CLIENT_CATALOG_ENTRIES + .iter() + .find(|entry| entry.name == name) + .expect("the client segment declares the provider"); + let manifest = PROVIDER_REGISTRY + .get(name) + .expect("the registry resolves the client provider by name"); + assert_eq!(manifest, declared); + assert_eq!(manifest.version, 1); + } } #[test] From e898385f2db73068a810535ef35203f1228ceb76 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 14:03:41 +0000 Subject: [PATCH 2/2] docs(id): list `walk` in the README CLI Commands table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The #12232 B3 slice added the `walk` subcommand and updated the module-doc list but not the README table, so test_command_lists_cover_all_clap_subcommands failed and the id package build broke — blocking nixos-playwright-e2e and #1374 criterion 2. Refs #1374, #12232 --- pkgs/id/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/id/README.md b/pkgs/id/README.md index d6d55b7b1e..7d949e8309 100644 --- a/pkgs/id/README.md +++ b/pkgs/id/README.md @@ -255,6 +255,7 @@ it is — a valid world capability, minted by the host's admin with | `world` | | Mint invites for, and join, multiplayer worlds | | `gallery` | | Administer a program gallery directory | | `match-audit` | | Export and verify signed match-audit v0 logs | +| `walk` | | The #9106 walking skeleton, driven by hand (stored nodes, sync, reports) | | `group` | | Groups: create, policy, add, remove, roles, join | | `delegate` | | Grant a delegate a scope in a group | | `revoke` | | Revoke a delegation by its grant event ID |