Skip to content

VC-360 - #6

Merged
AVKurbatov merged 6 commits into
pr-mainfrom
VC-360
Oct 23, 2026
Merged

AVKurbatov merged 6 commits into
pr-mainfrom
VC-360

Conversation

@AVKurbatov

Copy link
Copy Markdown

Added caching to verify_schema function

daidoji pushed a commit that referenced this pull request Feb 20, 2026
fix: match dig or edig type to db function return type
@rodolfomiranda
rodolfomiranda requested a balanced review from Copilot and removed request for s-a-tanjim October 21, 2026 21:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The decorator order breaks instance access to the new static helper.

1 open issue
What changed in this PR

Adds caching to JSON schema integrity validation, allowing repeated schemas to reuse validation results.

Changes:

  • Adds a string-based validation helper with a 2,048-entry cache.
  • Updates verify_schema to serialize schemas and delegate to the cached helper.
File Description
src/​keri/​core/​scheming.py Caches schema validation results using serialized schema keys.

Review effort: Balanced

Comment thread src/keri/core/scheming.py Resolved
… on cached schema verification helper'

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@AVKurbatov
AVKurbatov merged commit 31c4378 into pr-main Oct 23, 2026
5 checks passed
@AVKurbatov
AVKurbatov deleted the VC-360 branch October 23, 2026 06:56
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.

3 participants