Skip to content

fix(policy): alias the class-cache type (clippy type_complexity, red on main) - #1658

Merged
aaj3f merged 1 commit into
mainfrom
fix/clippy-class-cache-type
Aug 17, 2026
Merged

aaj3f merged 1 commit into
mainfrom
fix/clippy-class-cache-type

Conversation

@aaj3f

@aaj3f aaj3f commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Unbreak-main: #1580's graph-keyed class cache — the fix itself is right — widened PolicyContext.class_cache's type past clippy's type_complexity threshold, and with -D warnings that turned main's clippy job red (first failing run: 31954057339, at 3ce1352). Every open PR inherits the red through the merge-ref checkout, which is how we noticed on #1654.

One ClassCache type alias — clippy's own suggested shape — no behavior change. cargo clippy -p fluree-db-policy --all-targets -- -D warnings clean locally, policy suite 39/39, fmt clean.

…ens main

#1580's (correct) graph-keyed cache widened the field type past clippy's
type_complexity threshold under -D warnings, so main's clippy job is red
and every PR inherits it through the merge-ref checkout. A ClassCache
type alias is clippy's own suggested shape; no behavior change.

@bplatz bplatz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aaj3f
aaj3f merged commit 44a9a54 into main Aug 17, 2026
15 checks passed
@aaj3f
aaj3f deleted the fix/clippy-class-cache-type branch August 17, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants