Skip to content

upgrade and prep: to KERIpy 1.2.14 and minimal strict tocks compat - #464

Merged
kentbull merged 1 commit into
WebOfTrust:mainfrom
kentbull:chore/keripy-1.2.14
Sep 15, 2026
Merged

kentbull merged 1 commit into
WebOfTrust:mainfrom
kentbull:chore/keripy-1.2.14

Conversation

@kentbull

@kentbull kentbull commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

PR Core:

keri 1.2.14 upgrade including minimal tocks compatibility with newly strict upstream KERIpy tock config validation

  • Upgrade KERIA to keri==1.2.14 from PyPI.
  • Keep hio==0.6.14: the published KERIpy release requires hio>=0.6.14, rather than a newer exact HIO version. The lockfile changes only KERIpy and its artifact metadata.

KERIpy 1.2.14 validates tock configuration strictly, so a dependency-only upgrade rejects existing KERIA configuration such as {"tocks": {"escrower": 1.0}}, thus the need for the tock config work in this PR.

Backwards compatibility for legacy flat tocks

Reserves the twelve existing KERIA Agent keys, now referred to as "legacy" tock config keys, when resolving KERIpy tocks before Agent Habery creation and reopening.

Preserves the original, legacy configuration for Agent consumers, while retaining KERIpy validation for new tock config and cli -> env var -> config file based override precedence.

The test helper uses the same legacy config loading path.

Overall Tocks Plan

This is the prerequisite dependency PR for the planned KERIA tock configuration work coming after this PR merges. It does not yet introduce the KERIA registry, namespace migration to the new "tocks.signify" subsection of the config file, deprecation warnings for using legacy tocks, runtime scheduling changes, or new performance defaults.

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.26%. Comparing base (532592c) to head (8945173).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #464      +/-   ##
==========================================
+ Coverage   88.24%   88.26%   +0.02%     
==========================================
  Files          26       26              
  Lines        5947     5950       +3     
==========================================
+ Hits         5248     5252       +4     
+ Misses        699      698       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kentbull
kentbull marked this pull request as ready for review September 14, 2026 19:34
@kentbull
kentbull marked this pull request as draft September 14, 2026 19:42
Pin keri to 1.2.14 from PyPI and refresh its lockfile artifact. Retain hio 0.6.14, which satisfies the published KERIpy requirement of hio>=0.6.14.

Reserve the existing KERIA Agent tock keys when resolving KERIpy cadences before Habery construction and reopening. Preserve legacy configuration without bypassing validation of KERIpy settings or dropping the tocks block. Test reopening with a checked-in legacy config file and real persisted Agent state, without patching LMDBer or Configer.

Initial upgrade validation passed all 94 KERIA tests in Linux, Ruff checks, package builds, and CLI startup and shutdown. The revised real-file regression and two related configuration tests pass on macOS; the broader Agent run passes 22 tests with an existing fixed-identity collision reproduced in the original test.
@kentbull
kentbull marked this pull request as ready for review September 15, 2026 02:33
@kentbull
kentbull requested review from iFergal and lenkan September 15, 2026 02:37
@kentbull

Copy link
Copy Markdown
Collaborator Author

If possible will one of @daidoji @Arsh-Sandhu also review this PR? This is prep work for me to add the 100% tock configurability to KERIA, which will be the next PR.

@kentbull

Copy link
Copy Markdown
Collaborator Author

I should say, this PR also pulls in the ESSR changes into KERIA that the Veridian team graciously contributed upstream to KERIpy. There are a number of things in the recently released v1.2.14 that you can see in the changelog. It says "unreleased" in the changelog yet that just needs to be updated because it was released.

@kentbull kentbull changed the title build: upgrade KERIpy to 1.2.14 from PyPI upgrade and prep: to KERIpy 1.2.14 and minimal strict tocks compat Sep 15, 2026
Comment thread src/keria/app/agenting.py
@kentbull
kentbull merged commit a442d91 into WebOfTrust:main Sep 15, 2026
6 checks passed
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