Skip to content

fix: clock injection, typed errors, and missing Python imports#42

Merged
bordumb merged 1 commit intomainfrom
fn-38
Mar 7, 2026
Merged

fix: clock injection, typed errors, and missing Python imports#42
bordumb merged 1 commit intomainfrom
fn-38

Conversation

@bordumb
Copy link
Contributor

@bordumb bordumb commented Mar 7, 2026

Summary

  • fn-38.1: Inject clock into WitnessServerState instead of calling Utc::now() in submit_event handler. Removes #[allow(clippy::disallowed_methods)] from the handler.
  • fn-38.2: Replace 7 anyhow::anyhow!() calls with InitError variants (Crypto, Keri, Registry) in identity_adapter.rs. No more anyhow in Layer 4.
  • fn-38.3: Add missing verify_chain_with_witnesses and compile_policy imports to __init__.py. All 48 __all__ items now importable.

Test plan

  • cargo nextest run --workspace — 1593 tests pass
  • cargo clippy --all-targets --all-features -- -D warnings clean
  • python -c "from auths import verify_chain_with_witnesses, compile_policy" — OK
  • Pre-push hooks pass (fmt, clippy, tests, wasm, cross-compile)

fn-38.1: Add clock field to WitnessServerInner, remove Utc::now() from submit_event handler
fn-38.2: Replace 7 anyhow::anyhow!() calls with InitError variants in identity_adapter.rs
fn-38.3: Add missing verify_chain_with_witnesses and compile_policy imports to __init__.py
@vercel
Copy link

vercel bot commented Mar 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auths Building Building Preview, Comment Mar 7, 2026 2:10am

@bordumb bordumb merged commit 43f31c5 into main Mar 7, 2026
6 of 7 checks passed
@bordumb bordumb deleted the fn-38 branch March 7, 2026 02:10
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.

1 participant