GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: clear the two 1.99 clippy lints in id-client/id-events/id-grants/id-groups/id-pg (#803) by developing-today-fleet[bot] · Pull Request #15400 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 26, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Refs #803 (slice — the issue stays open by its own acceptance criteria)

What this does

Continues the #803 clippy sweep for the two Rust 1.99 lints (clippy::assert_is_empty, clippy::chunks_exact_to_as_chunks), following the slice landed in #14452.

Fully cleared — allows dropped from the lint table, 0 sites remain, tests green:

  • id-client, id-events, id-grants, id-groups, id-pg

Sites converted in this PR (60):

  • 45 assert_is_empty sites (id-events 32, id-grants 5, id-groups 5, id-pg 3) → assert_eq!(expr, [] as [Elem; 0]) per clippy's own suggestions; no assertion weakened
  • 15 chunks_exact sites → as_chunks across id-store, id-sync, id-web and others

Allows restored in 7 crates (id, id-cli, id-directory, id-store, id-sync, id-web, id-worlds): the first per-package census attempt read 0 sites for these because one id-sync compile error aborted every downstream run before its own targets were checked. With that fixed, the true remaining counts are: id-worlds 88, id 75, id-sync 68, id-store 43, id-cli 41, id-web 11, id-directory 6 — 332 sites, recorded on #803 for the next slices. Keeping the allows there keeps the clippy -D warnings leg green; the site fixes already made in those crates stay in.

Verification (fleet-command runs on developing-today/fleet)

  • Run 45739600711: per-package clippy census for all 12 crates + test suites — 10/11 packages RC=0 (id-events failed on one untyped assert_eq!(…, []), E0282, fixed in this PR)
  • Run 45748037485: recount — id-client/id-grants/id-groups/id-pg TWO_LINT=0 ERRORS=0; id-directory (allows restored) TWO_LINT=0
  • Run 45751125512: id-events clippy with --keep-going surfaced 3 final sites hidden behind sibling test targets' pre-existing deny-lint errors; converted
  • Run 45757473462 (final, this HEAD): id-events TWO_LINT=0, cargo test -p id-events RC=0 — 411 passed, 0 failed

Pre-existing breakage noted, not touched

  • Deny-level clippy::unwrap_used/expect_used errors in some test targets (the main-broken: developing-today/code id e2e nightly (run 45247507279) — nix flake check (full) fails on Magic Nix Cache rate limit #13843 class; e.g. id-events shows 10 with --keep-going). Identical on main.
  • Workspace clippy on the fleet executor still aborts early at wayland-sys (pkg-config missing on the executor) — per-package runs are the reliable census method.
  • cargo fmt --check drift exists on main in files this PR does not touch.

No new dependencies. rust-toolchain.toml untouched.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-26T05:02:49Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "30247ab2d608be39eb0ebe922589e002a3771a66"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Felix added 7 commits November 25, 2026 23:51
Felix
id: drop assert_is_empty/chunks_exact_to_as_chunks allows from 12 lin…
f06172d
…t tables (#803)

Probe commit: enumerates the remaining sites for the two Rust 1.99
lints now that the workspace compiles clean under clippy (0 error-level
diagnostics on main 75db717).
Felix
id: convert remaining chunks_exact sites to as_chunks (#803)
dcb394d
13 clippy::chunks_exact_to_as_chunks sites across id-cli, id-directory,
id-events, id-store, id-sync, id-worlds and the root id package, converted
per clippy's suggestions (zip sites converted by hand to
as_chunks::<N>().0.iter()). The probe found zero remaining
clippy::assert_is_empty sites in the 12 crates whose allows were dropped.
Felix
id-events: adapt hash_of call to as_chunks item type (#803)
d0e748f
.map(hash_of) does not coerce &[u8; 32] to &[u8] through the fn item;
wrap in a closure so the coercion applies at the call site.
Felix
id: convert the remaining assert_is_empty sites in id-events/id-grant…
3a11a4c
…s/id-groups/id-pg (#803)

42 sites found by per-package clippy runs (the workspace run stops
scheduling after the wayland-sys executor failure, so it had missed
them): 29 in id-events, 5 each in id-grants and id-groups, 3 in id-pg,
converted to assert_eq! against clippy's suggested empty arrays.
Also: id-sync b07 chunks conversion now copies the [u8; 32] chunk
directly (try_into has no TryFrom<&[u8; 32]> impl), and two
chunks_exact sites in id-store/id-web that the poisoned runs hid.
Felix
id: type the append_list empty-array assert; restore the two allows i…
0b8b842
…n the 7 crates with remaining sites (#803)

The full per-package census (fleet run 45739600711) showed the
round-2 zeroes for id/id-cli/id-directory/id-store/id-sync/id-web/
id-worlds were an artifact: the id-sync b07 error aborted those runs
before they checked their own targets. True remaining counts:
id-worlds 88, id 75, id-sync 68, id-store 43, id-cli 41, id-web 11,
id-directory 6 (332 total). Restoring the allows in those 7 crates
keeps the clippy -D warnings leg green; their site fixes from the
earlier commits stay. The 5 cleared crates (id-client, id-events,
id-grants, id-groups, id-pg) keep the drops.
Felix
id-events: convert the last 3 assert_is_empty sites, hidden behind de…
578150e
…ny-error target aborts (#803)

A --keep-going clippy run (fleet 45751125512) surfaced 3 sites in
tests/deletion_state_machine.rs and tests/feed_cursor_model.rs that
earlier runs missed whenever a sibling test target's pre-existing
deny-lint errors aborted the run first.
Felix
id-events: fix DeletionEvidence path in deletion_state_machine assert (…
e08b250
…#803)

The test includes deletion.rs directly via #[path] mod deletion, so
the type is deletion::DeletionEvidence, not id_core::graph::deletion
(the module is not crate-root wired yet).
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 04b6f1eb-55fb-4147-a457-33eb07a2e8f8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
id phase-8: P8.8 clippy/lint sweep deferred — ~150 clippy warnings remain with no tracking issue #803
Closed
@developing-today-fleet
developing-today-fleet Bot merged commit e8a263f into main Nov 26, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the felix/803-clippy-slice-20261125 branch November 26, 2026 05:03
developing-today-fleet Bot pushed a commit that referenced this pull request Nov 26, 2026
Felix
style(id-directory): clear clippy::assert_is_empty sites, drop the P8…
cf75f97
….8 allows (Refs #803)

Convert the 6 assert!(x.is_empty()) sites in id-directory tests to
assert_eq!(x, [] as [Elem; 0]) in the PR #15400 pattern (friends_of x2,
loaded.skipped x2, deliveries x2) and remove the assert_is_empty /
chunks_exact_to_as_chunks allows from the crate lint table. Census
(negctl branch, allows dropped only): exactly these 6 sites fire for
assert_is_empty and 0 for chunks_exact_to_as_chunks; the BTreeMap/
BTreeSet is_empty asserts do not trigger the lint.
This was referenced Nov 26, 2026
style(id-directory): clear clippy::assert_is_empty sites, drop the P8.8 allows (#803 slice) #15403
Merged
fix(id-web): clear clippy assert_is_empty sites, drop lint allows (#803 slice) #15412
Merged
style(id-cli): clear assert_is_empty sites, drop lint allows (#803 slice) #15491
Merged
style(id-store): clear assert_is_empty sites, drop lint allows (#803 slice) #15522
Merged
style(id-sync): clear assert_is_empty sites, drop lint allows (#803 slice) #15525
Merged
style(id-worlds): clear assert_is_empty sites, drop lint allows (#803 slice) #15529
Merged
style(id): clear assert_is_empty sites, drop lint allows (#803 slice) #15535
Merged
developing-today-fleet Bot pushed a commit that referenced this pull request Nov 26, 2026
Felix
#803 final slice: rewrite the remaining assert_is_empty sites (15 cen…
100456f
…sus sites + 3 post-census additions on current main)

assert!(x.is_empty()) -> assert_eq!(x, [] as [T; 0]) following the merged
slices (#15400/#15403/#15412/#15491/#15522/#15525/#15529/#15535).
Negative control (run 45831946171, current main, warning mode, JSON
counts): id-core 3 (social_object_contract.rs:346 + navigation.rs:1456,1488
— navigation.rs is a new file added after the census base), id-web 3
(collab.rs:4207,4358 + collab.rs:4058 added after the census base),
id-import-notion 5, id-caps 2, id-events 5. chunks_exact_to_as_chunks 0
everywhere. Also adds temporary census/gate/test scripts under
pkgs/id/census-803-final/ (verification only, removed before the PR).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

0 participants

Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.