Repository navigation
v1.6.2
PageSift 1.6.2 Release Notes
Release Version:
v1.6.2
Release Scope: Upgrade compatibility for persisted1.6.0tenants, async quota-settlement cancellation safety, RustKeyLimitsbuilder ergonomics, and monitor/runconcurrency serialization on the1.6.xline (v1.6.1 -> v1.6.2)
PageSift 1.6.2 resolves upgrade continuity, quota-settlement cancellation safety, Rust source-compatibility documentation, and monitor scheduling concurrency edge cases surfaced right after 1.6.1.
Highlights
- Seamless
1.6.0Persisted Tenant Upgrade Continuity (pagesift-store,pagesift-cluster,pagesift-api,pagesift-engine,pagesift):- Adds
Store::existing_tenants,Ledger::has_account_usage,Engine::store, and startup key resolution (account_resolve::resolve_callers) so upgrading an existing1.6.0deployment preserves access to persistedContext,DataGraph,Loopsources,Monitors,Jobs, and daily page quotas without manual data migration. - Unnamed keys (
api_keys) with existing1.6.0FNV-1a (key-<16hex>) persisted data and uniquely-named keys ([[server.keys]].name) with existing data under that name retain their legacy namespace automatically (with a startup log advising operators to pin explicitaccount = "<name>"for named keys). - Multiple keys sharing the same display
namewithout explicitaccountremain strictly isolated under SHA-256 fingerprints (key-<32hex>) and emit an actionable startup warning if legacy data exists under the shared display name. Fresh keys with no legacy store data use SHA-256 fingerprints directly.
- Adds
- Cancellation-Safe
PageHold::commit()Quota Settlement (pagesift-api):- Transitions in-memory
held -> settledsynchronously insidePageHold::commit()before any.awaitpoint, eliminating the cancellation window where droppingcommit()while waiting on a per-account write lock could leaveheldquota permanently occupied until UTC midnight. - Runs per-account serialized quota persistence inside a detached
tokio::spawntask awaited bycommit(), ensuring write locks are never dropped mid-write and settled usage flushes reliably toStoreeven if the HTTP caller cancels mid-commit.
- Transitions in-memory
- Rust
KeyLimitsErgonomics & Explicit Compatibility Boundary (pagesift-api):- Preserves
KeyLimits.account: Option<String>(introduced in1.6.1) and adds forward-compatible fluent builders (KeyLimits::new(),.with_name(),.with_account(),.with_requests_per_minute(),.with_max_concurrent_jobs(),.with_pages_per_day()). - HTTP/CLI/MCP/Python/Node.js/C ABI wire formats remain backward compatible across
1.6.x; Rust callers constructingpagesift_api::KeyLimitsorpagesift::config::ApiKeyvia exhaustive struct literals (without..Default::default()) should includeaccount: Noneor use..Default::default()/KeyLimits::new().with_*().
- Preserves
- Per-Monitor Execution Serialization (
pagesift-api):- Serializes background scheduled checks (
run_check) and manualPOST /v2/monitor/{id}/runcalls per monitor ID (Monitors::run_locks,run_check_locked) and skips emitting emptypages: []checks when a concurrent run already advancednext_due, fixing the race condition observed inmonitor::tests::checks_spend_the_page_quotaon macOS CI.
- Serializes background scheduled checks (
Verification
- Added targeted unit and integration tests:
account_resolve::tests::*(store + cluster ledger legacy tenant resolution and duplicate-name isolation),limits::tests::commit_cancelled_during_write_lock_wait_does_not_leak_held_quota,limits::tests::key_limits_builder_helpers_match_struct_fields,monitor::tests::concurrent_run_now_and_scheduler_never_produce_empty_check, andcontext_remediation_it::upgrade_1_6_0_persisted_tenants_preserve_context_graph_sync_monitors_and_quota. - Full pre-release verification:
scripts/check_release.py,scripts/check_readme.py --release,scripts/check_links.sh,scripts/check_literals.sh,scripts/check_file_length.sh,scripts/check_wall_clock.py,cargo deny --config .github/deny.toml check, andscripts/ci.sh --fast --bindings(Rust workspace,pagesift-cdp, GPU consistency, macOS target check, Node.js, and Python bindings). - Community & feedback: https://discord.gg/esA3wMZVvA