cc-transcript 14.45.28__tar.gz → 14.45.30__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/PKG-INFO +1 -1
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/pyproject.toml +1 -1
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot.rs +91 -7
- cc_transcript-14.45.30/rust/crates/core/src/snapshot_direct_tail.rs +85 -0
- cc_transcript-14.45.30/rust/crates/core/src/snapshot_direct_tail_tests.rs +259 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_prepared_service.rs +16 -3
- cc_transcript-14.45.30/rust/crates/core/src/snapshot_sidechain_absence.rs +168 -0
- cc_transcript-14.45.30/rust/crates/core/src/snapshot_sidechain_absence_tests.rs +206 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/Cargo.lock +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/Cargo.toml +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/LICENSE +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/README.md +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/__init__.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/__init__.pyi +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/_native.pyi +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/activity.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/activity_probe.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/builders.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/codex.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/command.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/context.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/corrections.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/cost.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/decision_store.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/decisions.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/discovery.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/disktruth.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/evidence.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/extract/__init__.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/extract/correct.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/facts.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/filterspec.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/heartbeats.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/ids.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/judge/__init__.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/judge/llm.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/judge/similar.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/judge/verdicts.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/ledger.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/literals.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/__init__.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/candidates.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/confidence.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/engine.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/formats.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/sampling.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/signals.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/sourcekind.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/spec.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/mining/store.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/models.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/nlp.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/notifications.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/parser.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/py.typed +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/query.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/render.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/__init__.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/buckets.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/data/afinn-en-165.tsv +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/data/domain_overrides.tsv +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/data/en-ewt.udpipe +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/engine.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/lexicon.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/sentiment/scorespec.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/snapshot_schema/config.schema.json +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/snapshot_schema/context.schema.json +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/snapshot_schema/request.schema.json +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/snapshot_schema/response.schema.json +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/snapshot_schema/tool_registry.schema.json +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/snapshots.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/synthetic.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/tools.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/cc_transcript/watch.py +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/Cargo.toml +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/blame.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/corpus.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/corrections.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/digest.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/facts.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/grep.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/list.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/mod.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/scratchpad.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/show.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/slice.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/stats.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/commands/watch.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/lib.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/output.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/target.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/cli/src/timearg.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/Cargo.toml +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/benches/parse.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/benches/render.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/benches/toolcall.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/build.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/activity.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/actor.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/blame.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/buckets.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/codex/discovery.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/codex/lower.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/codex/mod.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/codex/parse.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/codex/probe.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/codex/protocol.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/codex/types.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/command.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/context.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/corrections.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/cost.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/discovery.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/facts.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/feedback.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/filter.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/gateway.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/ids.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/judge.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/lib.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/literals/command.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/literals/corrections.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/literals/feedback.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/literals/mining.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/literals/mod.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/literals/protocol.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/notifications.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/parse.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/protocol.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/pystr.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/query.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/render.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/request_body.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/rng.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_checkpoint.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_grep.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_grep_stream.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_grep_stream_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_index.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_projection.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_regressions.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/scan_stream.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/schema.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_activity.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_admission_report_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_cache.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_cache_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_catalog.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_catalog_owner.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_catalog_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_codec.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_codex_append.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_common_borrowed_parent_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_hydrate_budget_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_interaction_api.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_interaction_api_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_interactions.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_interactions_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_labels.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_ledger.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_ledger_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_load_charge_audit_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_load_charge_work_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_memory.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_owned.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_prepared.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_prepared_disk.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_projection.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_raw_materialization.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_raw_projection.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_raw_projection_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_raw_scope.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_raw_scope_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_raw_tail_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_raw_window.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_regressions.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_root_warm.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_source_cache_index_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_spine.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_spine_tests.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_symlink_proof.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_text.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/sqlite.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/toolcall.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/types.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/value.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/watch.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/tests/sonic_arena_model.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/tests/std_allocation_model.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/Cargo.toml +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/build.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/data/command_prefix_pins.tsv +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/actor_bridge.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/bin/stub_gen.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/codex.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/command.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/context.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/corrections.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/discovery.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/feedback.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/judge.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/lexicon.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/lib.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/mining.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/nlp.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/python.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/render.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/score.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/snapshot_decode.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/snapshots.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/sqlite.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/toolcall.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/attachment.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/blocks.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/command.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/convert.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/dunder.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/events.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/meta.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/mod.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/print.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/store.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/system.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/toolcall.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/toolresult.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/views/transcript.rs +0 -0
- {cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/py/src/watch.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cc-transcript"
|
|
3
|
-
version = "14.45.
|
|
3
|
+
version = "14.45.30" # informational — releases stamp the version from the git tag
|
|
4
4
|
description = "Grep every Claude Code session you've ever run."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "PolyForm-Noncommercial-1.0.0"
|
|
@@ -1714,6 +1714,7 @@ struct GenerationRecord {
|
|
|
1714
1714
|
raw_window: Option<Arc<crate::snapshot_raw_window::RawWindow>>,
|
|
1715
1715
|
raw_parent: Option<Arc<TranscriptSnapshot>>,
|
|
1716
1716
|
raw_cache: Option<Box<RawCapabilityCache>>,
|
|
1717
|
+
direct_tail: Option<Arc<DirectTailSelection>>,
|
|
1717
1718
|
interactions: Option<Arc<InteractionIndex>>,
|
|
1718
1719
|
}
|
|
1719
1720
|
|
|
@@ -1729,6 +1730,7 @@ impl GenerationRecord {
|
|
|
1729
1730
|
raw_window: None,
|
|
1730
1731
|
raw_parent: None,
|
|
1731
1732
|
raw_cache: None,
|
|
1733
|
+
direct_tail: None,
|
|
1732
1734
|
interactions: None,
|
|
1733
1735
|
}
|
|
1734
1736
|
}
|
|
@@ -1739,6 +1741,7 @@ impl GenerationRecord {
|
|
|
1739
1741
|
.map(|(id, charge)| Anchor::entries(*id, *charge))
|
|
1740
1742
|
.chain(self.indexes.iter().copied().map(Anchor::indexes))
|
|
1741
1743
|
.chain(self.raw_window.iter().flat_map(raw_window_anchors))
|
|
1744
|
+
.chain(self.direct_tail.iter().map(direct_tail_anchor))
|
|
1742
1745
|
}
|
|
1743
1746
|
}
|
|
1744
1747
|
|
|
@@ -2340,6 +2343,7 @@ impl StoreState {
|
|
|
2340
2343
|
}
|
|
2341
2344
|
record.raw_parent = previous.raw_parent.take();
|
|
2342
2345
|
record.raw_cache = previous.raw_cache.take();
|
|
2346
|
+
record.direct_tail = previous.direct_tail.clone();
|
|
2343
2347
|
record.interactions = previous.interactions.take();
|
|
2344
2348
|
}
|
|
2345
2349
|
self.generations.reserve_for(&key);
|
|
@@ -3412,6 +3416,10 @@ pub struct NativeStore {
|
|
|
3412
3416
|
#[cfg(test)]
|
|
3413
3417
|
membership_metadata_checks: AtomicUsize,
|
|
3414
3418
|
#[cfg(test)]
|
|
3419
|
+
sidechain_path_probes: AtomicUsize,
|
|
3420
|
+
#[cfg(test)]
|
|
3421
|
+
sidechain_batch_name_checks: AtomicUsize,
|
|
3422
|
+
#[cfg(test)]
|
|
3415
3423
|
pub(crate) source_resolutions: AtomicUsize,
|
|
3416
3424
|
#[cfg(test)]
|
|
3417
3425
|
pub(crate) retained_work: Arc<AtomicUsize>,
|
|
@@ -3910,6 +3918,10 @@ impl NativeStore {
|
|
|
3910
3918
|
#[cfg(test)]
|
|
3911
3919
|
membership_metadata_checks: AtomicUsize::new(0),
|
|
3912
3920
|
#[cfg(test)]
|
|
3921
|
+
sidechain_path_probes: AtomicUsize::new(0),
|
|
3922
|
+
#[cfg(test)]
|
|
3923
|
+
sidechain_batch_name_checks: AtomicUsize::new(0),
|
|
3924
|
+
#[cfg(test)]
|
|
3913
3925
|
source_resolutions: AtomicUsize::new(0),
|
|
3914
3926
|
#[cfg(test)]
|
|
3915
3927
|
retained_work: work.counter(),
|
|
@@ -5329,6 +5341,11 @@ impl NativeStore {
|
|
|
5329
5341
|
indexes += bytes;
|
|
5330
5342
|
}
|
|
5331
5343
|
}
|
|
5344
|
+
if let Some(tail) = &record.direct_tail {
|
|
5345
|
+
if allocations.insert(Arc::as_ptr(tail) as usize) {
|
|
5346
|
+
entries += Self::audit_direct_tail_bytes(tail);
|
|
5347
|
+
}
|
|
5348
|
+
}
|
|
5332
5349
|
if let Some(window) = &record.raw_window {
|
|
5333
5350
|
if allocations.insert(Arc::as_ptr(window) as usize) {
|
|
5334
5351
|
entries += arc_mirror::<crate::snapshot_raw_window::RawWindow>();
|
|
@@ -5855,6 +5872,7 @@ impl NativeStore {
|
|
|
5855
5872
|
raw_window: _,
|
|
5856
5873
|
raw_parent: _,
|
|
5857
5874
|
raw_cache,
|
|
5875
|
+
direct_tail: _,
|
|
5858
5876
|
interactions,
|
|
5859
5877
|
} = record;
|
|
5860
5878
|
source_chunks.as_ref().map_or(0, |chunks| {
|
|
@@ -7866,6 +7884,35 @@ impl NativeStore {
|
|
|
7866
7884
|
.min(self.config.source)
|
|
7867
7885
|
.min(stamp.size as usize);
|
|
7868
7886
|
let mut reservation = self.reserve_projection(context, 0)?;
|
|
7887
|
+
let source = self.direct_tail_source(stamp, context);
|
|
7888
|
+
let cached = source.as_ref().and_then(|source| {
|
|
7889
|
+
self.lock_state()
|
|
7890
|
+
.generations
|
|
7891
|
+
.get(&snapshot_key(source))
|
|
7892
|
+
.and_then(|record| record.direct_tail.as_ref())
|
|
7893
|
+
.filter(|tail| tail.stamp == stamp && tail.count == count && tail.budget == budget)
|
|
7894
|
+
.cloned()
|
|
7895
|
+
});
|
|
7896
|
+
let output_limit = limits
|
|
7897
|
+
.max_output_bytes
|
|
7898
|
+
.min(self.config.output)
|
|
7899
|
+
.min(MAX_DATA_BYTES);
|
|
7900
|
+
if let Some(tail) = cached {
|
|
7901
|
+
self.extend_projection_reservation(
|
|
7902
|
+
&mut reservation,
|
|
7903
|
+
context,
|
|
7904
|
+
tail.read.saturating_mul(6),
|
|
7905
|
+
)?;
|
|
7906
|
+
cancel.check(limits.deadline_unix_ms)?;
|
|
7907
|
+
if !Self::matches_prefix(SourceStamp::of(&file.metadata().map_err(io_error)?), stamp) {
|
|
7908
|
+
return Err(SnapshotError::new(
|
|
7909
|
+
Status::Changed,
|
|
7910
|
+
"source changed while reading",
|
|
7911
|
+
));
|
|
7912
|
+
}
|
|
7913
|
+
usage[7] += 1;
|
|
7914
|
+
return Self::tail_data(&tail.lines, stamp, count, output_limit, tail.exhausted);
|
|
7915
|
+
}
|
|
7869
7916
|
let mut pending: Vec<u8> = Vec::new();
|
|
7870
7917
|
let mut pending_start = stamp.size;
|
|
7871
7918
|
let mut cut = 0usize;
|
|
@@ -7923,10 +7970,33 @@ impl NativeStore {
|
|
|
7923
7970
|
"source changed while reading",
|
|
7924
7971
|
));
|
|
7925
7972
|
}
|
|
7926
|
-
let
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
.
|
|
7973
|
+
let response = Self::tail_data(&lines, stamp, count, output_limit, exhausted)?;
|
|
7974
|
+
drop(pending);
|
|
7975
|
+
if let Some(source) = source {
|
|
7976
|
+
self.retain_direct_tail(
|
|
7977
|
+
source,
|
|
7978
|
+
stamp,
|
|
7979
|
+
count,
|
|
7980
|
+
budget,
|
|
7981
|
+
read,
|
|
7982
|
+
exhausted,
|
|
7983
|
+
lines,
|
|
7984
|
+
context,
|
|
7985
|
+
cancel,
|
|
7986
|
+
limits.deadline_unix_ms,
|
|
7987
|
+
&mut reservation,
|
|
7988
|
+
);
|
|
7989
|
+
}
|
|
7990
|
+
Ok(response)
|
|
7991
|
+
}
|
|
7992
|
+
|
|
7993
|
+
fn tail_data(
|
|
7994
|
+
lines: &[(u64, Vec<Entry>)],
|
|
7995
|
+
stamp: SourceStamp,
|
|
7996
|
+
count: usize,
|
|
7997
|
+
output_limit: usize,
|
|
7998
|
+
exhausted: bool,
|
|
7999
|
+
) -> Result<(Value, Option<String>, Option<String>), SnapshotError> {
|
|
7930
8000
|
let envelope = encoded_size(
|
|
7931
8001
|
&json!({"kind":"tail","record_schema":"cc-transcript.event/1","records_json":[],
|
|
7932
8002
|
"source_bytes":stamp.size,"window_start_byte":stamp.size}),
|
|
@@ -12010,12 +12080,14 @@ impl NativeStore {
|
|
|
12010
12080
|
include!("snapshot_catalog.rs");
|
|
12011
12081
|
include!("snapshot_symlink_proof.rs");
|
|
12012
12082
|
include!("snapshot_catalog_owner.rs");
|
|
12083
|
+
include!("snapshot_sidechain_absence.rs");
|
|
12013
12084
|
include!("snapshot_prepared_service.rs");
|
|
12014
12085
|
include!("snapshot_cache.rs");
|
|
12015
12086
|
include!("snapshot_root_warm.rs");
|
|
12016
12087
|
include!("snapshot_codex_append.rs");
|
|
12017
12088
|
include!("snapshot_spine.rs");
|
|
12018
12089
|
include!("snapshot_raw_scope.rs");
|
|
12090
|
+
include!("snapshot_direct_tail.rs");
|
|
12019
12091
|
include!("snapshot_raw_materialization.rs");
|
|
12020
12092
|
include!("snapshot_raw_projection.rs");
|
|
12021
12093
|
include!("snapshot_interactions.rs");
|
|
@@ -12082,10 +12154,12 @@ mod tests {
|
|
|
12082
12154
|
include!("snapshot_raw_scope_tests.rs");
|
|
12083
12155
|
include!("snapshot_raw_projection_tests.rs");
|
|
12084
12156
|
include!("snapshot_raw_tail_tests.rs");
|
|
12157
|
+
include!("snapshot_direct_tail_tests.rs");
|
|
12085
12158
|
include!("snapshot_hydrate_budget_tests.rs");
|
|
12086
12159
|
include!("snapshot_interactions_tests.rs");
|
|
12087
12160
|
include!("snapshot_interaction_api_tests.rs");
|
|
12088
12161
|
include!("snapshot_catalog_tests.rs");
|
|
12162
|
+
include!("snapshot_sidechain_absence_tests.rs");
|
|
12089
12163
|
include!("snapshot_common_borrowed_parent_tests.rs");
|
|
12090
12164
|
|
|
12091
12165
|
fn context(claimant: &str) -> Value {
|
|
@@ -16669,7 +16743,7 @@ mod tests {
|
|
|
16669
16743
|
.validate_source_stamps(&[], &owner, &cancel, deadline)
|
|
16670
16744
|
.map_err(|error| error.status),
|
|
16671
16745
|
store
|
|
16672
|
-
.validate_sidechain_dirs(&[], &owner, &cancel, deadline)
|
|
16746
|
+
.validate_sidechain_dirs(&[], &owner, &cancel, deadline, None)
|
|
16673
16747
|
.map_err(|error| error.status),
|
|
16674
16748
|
),
|
|
16675
16749
|
(Err(status), Err(status))
|
|
@@ -19886,7 +19960,7 @@ mod tests {
|
|
|
19886
19960
|
}
|
|
19887
19961
|
|
|
19888
19962
|
#[test]
|
|
19889
|
-
fn
|
|
19963
|
+
fn registered_catalog_warmer_pages_cached_members_256_at_a_time() {
|
|
19890
19964
|
let (_source, store, owner, request) = registered_warming(600);
|
|
19891
19965
|
let cold = registered_pages(&store, &owner, &request);
|
|
19892
19966
|
assert_eq!(
|
|
@@ -19899,6 +19973,8 @@ mod tests {
|
|
|
19899
19973
|
let resolutions = store.source_resolutions.load(Ordering::Relaxed);
|
|
19900
19974
|
let dir_checks = store.prepared_disk.dir_checks.load(Ordering::Relaxed);
|
|
19901
19975
|
let metadata_checks = store.membership_metadata_checks.load(Ordering::Relaxed);
|
|
19976
|
+
let sidechain_probes = store.sidechain_path_probes.load(Ordering::Relaxed);
|
|
19977
|
+
let batch_name_checks = store.sidechain_batch_name_checks.load(Ordering::Relaxed);
|
|
19902
19978
|
let writes = store.prepared_disk.stats().writes;
|
|
19903
19979
|
let cached = registered_pages(&store, &owner, &request);
|
|
19904
19980
|
assert_eq!(
|
|
@@ -19922,7 +19998,15 @@ mod tests {
|
|
|
19922
19998
|
);
|
|
19923
19999
|
assert_eq!(
|
|
19924
20000
|
store.membership_metadata_checks.load(Ordering::Relaxed) - metadata_checks,
|
|
19925
|
-
|
|
20001
|
+
3 * 600
|
|
20002
|
+
);
|
|
20003
|
+
assert_eq!(
|
|
20004
|
+
store.sidechain_path_probes.load(Ordering::Relaxed) - sidechain_probes,
|
|
20005
|
+
600
|
|
20006
|
+
);
|
|
20007
|
+
assert_eq!(
|
|
20008
|
+
store.sidechain_batch_name_checks.load(Ordering::Relaxed) - batch_name_checks,
|
|
20009
|
+
600 + 1
|
|
19926
20010
|
);
|
|
19927
20011
|
assert_eq!(store.prepared_disk.stats().writes, writes);
|
|
19928
20012
|
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
struct DirectTailSelection {
|
|
2
|
+
stamp: SourceStamp,
|
|
3
|
+
count: usize,
|
|
4
|
+
budget: usize,
|
|
5
|
+
read: usize,
|
|
6
|
+
exhausted: bool,
|
|
7
|
+
lines: Vec<(u64, Vec<Entry>)>,
|
|
8
|
+
charge: MemoryCharge,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
fn direct_tail_anchor(tail: &Arc<DirectTailSelection>) -> Anchor {
|
|
12
|
+
Anchor::entries(Arc::as_ptr(tail) as usize, tail.charge)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
impl NativeStore {
|
|
16
|
+
fn direct_tail_source(&self, stamp: SourceStamp, context: &Value) -> Option<Arc<TranscriptSnapshot>> {
|
|
17
|
+
let registry = context.get("registry_generation")?.as_str()?;
|
|
18
|
+
let mut state = self.lock_state();
|
|
19
|
+
let generation = state.source_spines.get(&stamp.identity.file())?.iter().find_map(|view| {
|
|
20
|
+
state.source_view_checks.tick(1);
|
|
21
|
+
let record = state.generations.get(&view.generation).expect("source generation");
|
|
22
|
+
let snapshot = &record.cached.as_ref().expect("cached source").snapshot;
|
|
23
|
+
(record.registry_generation == registry && stamp.viewed_as(snapshot.stamp) == snapshot.stamp)
|
|
24
|
+
.then_some(view.generation)
|
|
25
|
+
})?;
|
|
26
|
+
Some(state.cached_snapshot(generation))
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
fn retain_direct_tail(
|
|
30
|
+
&self, source: Arc<TranscriptSnapshot>, stamp: SourceStamp, count: usize,
|
|
31
|
+
budget: usize, read: usize, exhausted: bool, lines: Vec<(u64, Vec<Entry>)>,
|
|
32
|
+
context: &Value, cancel: &Cancellation, deadline: u64,
|
|
33
|
+
reservation: &mut ProjectionReservation<'_>,
|
|
34
|
+
) {
|
|
35
|
+
let mut state = self.lock_state();
|
|
36
|
+
let key = snapshot_key(&source);
|
|
37
|
+
if state.generations.get(&key).expect("pinned source generation").direct_tail.is_some()
|
|
38
|
+
|| cancel.check(deadline).is_err()
|
|
39
|
+
{
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
let mut charge = MemoryCharge {
|
|
43
|
+
owned_capacity_bytes: arc_bytes::<DirectTailSelection>()
|
|
44
|
+
+ lines.capacity() * size_of::<(u64, Vec<Entry>)>(),
|
|
45
|
+
opaque_dom_accounted_bytes: 0,
|
|
46
|
+
};
|
|
47
|
+
for (_, entries) in &lines {
|
|
48
|
+
charge.owned_capacity_bytes += entries.capacity() * size_of::<Entry>();
|
|
49
|
+
for entry in entries {
|
|
50
|
+
charge += entry_charge(entry);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
let bytes = charge.owned_capacity_bytes + charge.opaque_dom_accounted_bytes;
|
|
54
|
+
let growth = bytes.saturating_sub(reservation.bytes);
|
|
55
|
+
if growth > 0 && self.extend_projection_reservation_in(&mut state, reservation, context, growth).is_err() {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
let tail = Arc::new(DirectTailSelection { stamp, count, budget, read, exhausted, lines, charge });
|
|
59
|
+
let anchor = direct_tail_anchor(&tail);
|
|
60
|
+
let covered = state.ledger.shared.unowned_bytes([anchor]).min(reservation.bytes);
|
|
61
|
+
let fresh = state.ledger.shared.admission([anchor]) - covered;
|
|
62
|
+
if self.admit_memory(&mut state, context, fresh).is_err() || cancel.check(deadline).is_err() {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
state.ledger.shared.reserve([anchor]);
|
|
66
|
+
state.ledger.shared.acquire(anchor);
|
|
67
|
+
state.transient_bytes -= covered;
|
|
68
|
+
reservation.bytes -= covered;
|
|
69
|
+
state.generations.get_mut(&key).expect("pinned source generation").direct_tail = Some(tail);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
#[cfg(test)]
|
|
73
|
+
fn audit_direct_tail_bytes(tail: &DirectTailSelection) -> usize {
|
|
74
|
+
let DirectTailSelection { stamp: _, count: _, budget: _, read: _, exhausted: _, lines, charge: _ } = tail;
|
|
75
|
+
arc_mirror::<DirectTailSelection>()
|
|
76
|
+
+ lines.capacity() * size_of::<(u64, Vec<Entry>)>()
|
|
77
|
+
+ lines.iter().map(|(_, entries)| {
|
|
78
|
+
entries.capacity() * size_of::<Entry>()
|
|
79
|
+
+ entries.iter().map(|entry| {
|
|
80
|
+
let charge = entry_charge(entry);
|
|
81
|
+
charge.owned_capacity_bytes + charge.opaque_dom_accounted_bytes
|
|
82
|
+
}).sum::<usize>()
|
|
83
|
+
}).sum::<usize>()
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
fn tail_cache_source(store: &NativeStore, source: &Source, owner: &Value) -> Value {
|
|
2
|
+
let mut request = acquire(&source.path);
|
|
3
|
+
request["limits"].insert("max_events", json!(4096));
|
|
4
|
+
request["limits"].insert("max_read_bytes", json!(16 * 1024 * 1024));
|
|
5
|
+
request["limits"].insert("max_source_read_bytes", json!(16 * 1024 * 1024));
|
|
6
|
+
let response = finish(store, store.request(&request, owner, &Cancellation::default()), owner);
|
|
7
|
+
assert_eq!(response["status"].as_str(), Some("ok"), "{response:?}");
|
|
8
|
+
let released = store.request(
|
|
9
|
+
&json!({"schema":SCHEMA,"id":"tail-cache-release","operation":"release","kind":"lease",
|
|
10
|
+
"owner_epoch":store.owner_epoch,"token":handle(&response)["lease_id"]}),
|
|
11
|
+
owner, &Cancellation::default(),
|
|
12
|
+
);
|
|
13
|
+
assert_eq!(released["data"]["released"].as_bool(), Some(true));
|
|
14
|
+
assert_eq!(store.lock_state().leases.len(), 0);
|
|
15
|
+
response
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
fn tail_cache_parity(actual: &Value, expected: &Value) {
|
|
19
|
+
assert_eq!(actual["status"], expected["status"]);
|
|
20
|
+
assert_eq!(actual.get("reason"), expected.get("reason"));
|
|
21
|
+
assert_eq!(actual.get("data"), expected.get("data"));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#[test]
|
|
25
|
+
fn tail_cache_exact_generation_reuses_selection_and_reclips_output_without_a_lease() {
|
|
26
|
+
let text = (0..400).map(|index| format!("{}\n", user_text(&index.to_string(), &"🙂x".repeat(300)))).collect::<String>();
|
|
27
|
+
let source = Source::new(&text);
|
|
28
|
+
let store = NativeStore::new(&json!({"max_retained_bytes":128*1024*1024})).unwrap();
|
|
29
|
+
let owner = context("tail-cache");
|
|
30
|
+
tail_cache_source(&store, &source, &owner);
|
|
31
|
+
let request = tail_request(&source.path, 256, 8*1024*1024);
|
|
32
|
+
let cold = store.request(&request, &owner, &Cancellation::default());
|
|
33
|
+
let warm = store.request(&request, &owner, &Cancellation::default());
|
|
34
|
+
let reference = NativeStore::new(&json!({"max_retained_bytes":128*1024*1024})).unwrap();
|
|
35
|
+
let expected = reference.request(&request, &owner, &Cancellation::default());
|
|
36
|
+
tail_cache_parity(&cold, &expected);
|
|
37
|
+
tail_cache_parity(&warm, &expected);
|
|
38
|
+
eprintln!("tail_cache_exact cold_bytes={} warm_bytes={} cold_lines={} warm_lines={}",
|
|
39
|
+
cold["usage"]["source_bytes_read"], warm["usage"]["source_bytes_read"],
|
|
40
|
+
cold["usage"]["events_parsed"], warm["usage"]["events_parsed"]);
|
|
41
|
+
assert!(cold["usage"]["source_bytes_read"].as_u64().unwrap() > 0);
|
|
42
|
+
assert_eq!(warm["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
43
|
+
assert_eq!(warm["usage"]["events_parsed"].as_u64(), Some(0));
|
|
44
|
+
assert_eq!(warm["usage"]["source_opens"].as_u64(), Some(1));
|
|
45
|
+
assert_eq!(store.lock_state().leases.len(), 0);
|
|
46
|
+
let mut clipped = request.clone();
|
|
47
|
+
clipped["limits"].insert("max_output_bytes", json!(8*1024));
|
|
48
|
+
let clipped_warm = store.request(&clipped, &owner, &Cancellation::default());
|
|
49
|
+
tail_cache_parity(&clipped_warm, &reference.request(&clipped, &owner, &Cancellation::default()));
|
|
50
|
+
assert_eq!(clipped_warm["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
51
|
+
assert_eq!(clipped_warm["status"].as_str(), Some("incomplete"));
|
|
52
|
+
let mut bounded = request.clone();
|
|
53
|
+
bounded["limits"].insert("max_source_read_bytes", json!(text.len()/4));
|
|
54
|
+
let different_budget = store.request(&bounded, &owner, &Cancellation::default());
|
|
55
|
+
tail_cache_parity(&different_budget, &reference.request(&bounded, &owner, &Cancellation::default()));
|
|
56
|
+
assert!(different_budget["usage"]["source_bytes_read"].as_u64().unwrap() > 0);
|
|
57
|
+
let mut fewer = request.clone();
|
|
58
|
+
fewer.insert("count", json!(2));
|
|
59
|
+
let different_count = store.request(&fewer, &owner, &Cancellation::default());
|
|
60
|
+
tail_cache_parity(&different_count, &reference.request(&fewer, &owner, &Cancellation::default()));
|
|
61
|
+
assert!(different_count["usage"]["source_bytes_read"].as_u64().unwrap() > 0);
|
|
62
|
+
assert_eq!(store.request(&request, &owner, &Cancellation::default())["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
63
|
+
store.assert_conserved();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
#[test]
|
|
67
|
+
fn tail_cache_standalone_and_changed_sources_keep_the_original_scanner() {
|
|
68
|
+
let source = Source::new(&users(0..10));
|
|
69
|
+
let store = NativeStore::new(&json!({"max_retained_bytes":128*1024*1024})).unwrap();
|
|
70
|
+
let owner = context("tail-cache-change");
|
|
71
|
+
let request = tail_request(&source.path, 3, 1024*1024);
|
|
72
|
+
for _ in 0..2 {
|
|
73
|
+
let response = store.request(&request, &owner, &Cancellation::default());
|
|
74
|
+
assert!(response["usage"]["source_bytes_read"].as_u64().unwrap() > 0);
|
|
75
|
+
assert!(store.lock_state().generations.is_empty());
|
|
76
|
+
}
|
|
77
|
+
tail_cache_source(&store, &source, &owner);
|
|
78
|
+
store.request(&request, &owner, &Cancellation::default());
|
|
79
|
+
assert_eq!(store.request(&request, &owner, &Cancellation::default())["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
80
|
+
for mutation in ["append", "rewrite", "truncate", "replace"] {
|
|
81
|
+
match mutation {
|
|
82
|
+
"append" => source.append(&users(10..12)),
|
|
83
|
+
"rewrite" => std::fs::write(&source.path, users(20..32)).unwrap(),
|
|
84
|
+
"truncate" => std::fs::write(&source.path, users(40..41)).unwrap(),
|
|
85
|
+
"replace" => {
|
|
86
|
+
let replacement = source.directory.join("replacement.jsonl");
|
|
87
|
+
std::fs::write(&replacement, users(50..55)).unwrap();
|
|
88
|
+
std::fs::rename(replacement, &source.path).unwrap();
|
|
89
|
+
}
|
|
90
|
+
_ => unreachable!(),
|
|
91
|
+
}
|
|
92
|
+
let changed = store.request(&request, &owner, &Cancellation::default());
|
|
93
|
+
let reference = NativeStore::new(&json!({})).unwrap();
|
|
94
|
+
tail_cache_parity(&changed, &reference.request(&request, &owner, &Cancellation::default()));
|
|
95
|
+
assert!(changed["usage"]["source_bytes_read"].as_u64().unwrap() > 0, "{mutation}: {changed:?}");
|
|
96
|
+
tail_cache_source(&store, &source, &owner);
|
|
97
|
+
let cold = store.request(&request, &owner, &Cancellation::default());
|
|
98
|
+
let warm = store.request(&request, &owner, &Cancellation::default());
|
|
99
|
+
tail_cache_parity(&warm, &cold);
|
|
100
|
+
assert_eq!(warm["usage"]["source_bytes_read"].as_u64(), Some(0), "{mutation}: {warm:?}");
|
|
101
|
+
store.assert_conserved();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#[test]
|
|
106
|
+
fn tail_cache_preserves_metadata_skipped_lines_provisional_offsets_and_current_authority() {
|
|
107
|
+
let text = format!("{}\n\nnot-json\n[]\n{{\"type\":\"queue-operation\",\"operation\":\"enqueue\"}}\n{}",
|
|
108
|
+
user_text("first", "雪🙂"), user("provisional"));
|
|
109
|
+
let source = Source::new(&text);
|
|
110
|
+
let store = NativeStore::new(&json!({})).unwrap();
|
|
111
|
+
let owner = context("tail-cache-metadata");
|
|
112
|
+
tail_cache_source(&store, &source, &owner);
|
|
113
|
+
let request = tail_request(&source.path, 3, 1024*1024);
|
|
114
|
+
let reference = NativeStore::new(&json!({})).unwrap();
|
|
115
|
+
let cold = store.request(&request, &owner, &Cancellation::default());
|
|
116
|
+
let warm = store.request(&request, &owner, &Cancellation::default());
|
|
117
|
+
tail_cache_parity(&warm, &reference.request(&request, &owner, &Cancellation::default()));
|
|
118
|
+
tail_cache_parity(&warm, &cold);
|
|
119
|
+
assert_eq!(warm["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
120
|
+
let records: Vec<_> = warm["data"]["records_json"].as_array().unwrap().iter()
|
|
121
|
+
.map(|record| record.as_str().unwrap().to_owned()).collect();
|
|
122
|
+
let decoded = crate::snapshot_codec::decode_events(&records, 1024*1024).unwrap();
|
|
123
|
+
assert_eq!(decoded.len(), 3);
|
|
124
|
+
let ids: Vec<_> = decoded.iter().filter_map(|record| record.event.meta().map(|meta| meta.uuid.as_str())).collect();
|
|
125
|
+
assert_eq!(ids, ["first", "provisional"]);
|
|
126
|
+
let mut denied = owner.clone();
|
|
127
|
+
denied.insert("authority", json!({"kind":"restricted_roots","roots":[],"effective_uid":unsafe {libc::geteuid()}.to_string()}));
|
|
128
|
+
let refused = store.request(&request, &denied, &Cancellation::default());
|
|
129
|
+
assert_eq!(refused["status"].as_str(), Some("permission_denied"));
|
|
130
|
+
assert_eq!(refused["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
131
|
+
let cancelled = Cancellation::default();
|
|
132
|
+
cancelled.cancel();
|
|
133
|
+
assert_eq!(store.request(&request, &owner, &cancelled)["status"].as_str(), Some("cancelled"));
|
|
134
|
+
let mut expired = request.clone();
|
|
135
|
+
expired.insert("deadline_unix_ms", json!(1));
|
|
136
|
+
assert_eq!(store.request(&expired, &owner, &Cancellation::default())["status"].as_str(), Some("deadline"));
|
|
137
|
+
store.assert_conserved();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
#[test]
|
|
141
|
+
fn tail_cache_retained_selection_survives_record_registration_and_drops_with_source() {
|
|
142
|
+
let source = Source::new(&users(0..10));
|
|
143
|
+
let store = NativeStore::new(&json!({})).unwrap();
|
|
144
|
+
let owner = context("tail-cache-owner");
|
|
145
|
+
tail_cache_source(&store, &source, &owner);
|
|
146
|
+
let request = tail_request(&source.path, 3, 1024*1024);
|
|
147
|
+
store.request(&request, &owner, &Cancellation::default());
|
|
148
|
+
let stamp = SourceStamp::of(&std::fs::metadata(&source.path).unwrap());
|
|
149
|
+
let cached_source = store.direct_tail_source(stamp, &owner).unwrap();
|
|
150
|
+
let key = snapshot_key(&cached_source);
|
|
151
|
+
let (weak, spans) = {
|
|
152
|
+
let state = store.lock_state();
|
|
153
|
+
let record = state.generations.get(&key).unwrap();
|
|
154
|
+
let tail = record.direct_tail.as_ref().unwrap();
|
|
155
|
+
assert_eq!(NativeStore::audit_direct_tail_bytes(tail), tail.charge.owned_capacity_bytes + tail.charge.opaque_dom_accounted_bytes);
|
|
156
|
+
(Arc::downgrade(tail), record.source_chunks.clone())
|
|
157
|
+
};
|
|
158
|
+
let mut replacement = GenerationRecord::new(&cached_source, owner["registry_generation"].as_str().unwrap());
|
|
159
|
+
replacement.source_chunks = spans;
|
|
160
|
+
store.lock_state().register_generation(&cached_source, replacement);
|
|
161
|
+
assert_eq!(store.request(&request, &owner, &Cancellation::default())["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
162
|
+
store.assert_conserved();
|
|
163
|
+
drop(cached_source);
|
|
164
|
+
store.lock_state().evict_cache_owner(CacheOwner::Generation(key));
|
|
165
|
+
store.lock_state().drain();
|
|
166
|
+
assert!(weak.upgrade().is_none());
|
|
167
|
+
store.assert_conserved();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
#[test]
|
|
171
|
+
fn tail_cache_rechecks_retargeted_authority_before_reuse() {
|
|
172
|
+
let mut source = Source::new(&users(0..8));
|
|
173
|
+
let allowed = source.directory.join("allowed");
|
|
174
|
+
let nested = allowed.join("nested");
|
|
175
|
+
std::fs::create_dir_all(&nested).unwrap();
|
|
176
|
+
let path = nested.join("s.jsonl");
|
|
177
|
+
std::fs::rename(&source.path, &path).unwrap();
|
|
178
|
+
source.path = path;
|
|
179
|
+
let store = NativeStore::new(&json!({})).unwrap();
|
|
180
|
+
let mut owner = context("tail-cache-retarget");
|
|
181
|
+
owner.insert("authority", json!({"kind":"restricted_roots","roots":[allowed.to_string_lossy().as_ref()],"effective_uid":unsafe {libc::geteuid()}.to_string()}));
|
|
182
|
+
tail_cache_source(&store, &source, &owner);
|
|
183
|
+
let request = tail_request(&source.path, 3, 1024*1024);
|
|
184
|
+
store.request(&request, &owner, &Cancellation::default());
|
|
185
|
+
assert_eq!(store.request(&request, &owner, &Cancellation::default())["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
186
|
+
let outside = source.directory.join("outside");
|
|
187
|
+
std::fs::rename(&nested, &outside).unwrap();
|
|
188
|
+
std::os::unix::fs::symlink(&outside, &nested).unwrap();
|
|
189
|
+
let refused = store.request(&request, &owner, &Cancellation::default());
|
|
190
|
+
assert_eq!(refused["status"].as_str(), Some("permission_denied"));
|
|
191
|
+
assert_eq!(refused["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
192
|
+
store.assert_conserved();
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
#[test]
|
|
196
|
+
fn tail_cache_cancelled_cold_scan_does_not_publish_a_selection() {
|
|
197
|
+
let source = Source::new(&users(0..8));
|
|
198
|
+
let store = NativeStore::new(&json!({})).unwrap();
|
|
199
|
+
let owner = context("tail-cache-cancel");
|
|
200
|
+
tail_cache_source(&store, &source, &owner);
|
|
201
|
+
let cancel = Arc::new(Cancellation::default());
|
|
202
|
+
let observed = Arc::clone(&cancel);
|
|
203
|
+
*store.read_hook.lock().unwrap() = Some(Arc::new(move || observed.cancel()));
|
|
204
|
+
let response = store.request(&tail_request(&source.path, 3, 1024*1024), &owner, &cancel);
|
|
205
|
+
assert_eq!(response["status"].as_str(), Some("cancelled"));
|
|
206
|
+
assert!(store.lock_state().generations.values().all(|record| record.direct_tail.is_none()));
|
|
207
|
+
store.assert_conserved();
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
#[test]
|
|
211
|
+
fn tail_cache_registry_mismatch_keeps_the_original_scanner() {
|
|
212
|
+
let source = Source::new(&users(0..8));
|
|
213
|
+
let store = NativeStore::new(&json!({})).unwrap();
|
|
214
|
+
let owner = context("tail-cache-registry");
|
|
215
|
+
tail_cache_source(&store, &source, &owner);
|
|
216
|
+
let request = tail_request(&source.path, 3, 1024*1024);
|
|
217
|
+
let cold = store.request(&request, &owner, &Cancellation::default());
|
|
218
|
+
let warm = store.request(&request, &owner, &Cancellation::default());
|
|
219
|
+
assert_eq!(warm["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
220
|
+
let mut different = owner.clone();
|
|
221
|
+
different.insert("registry_generation", json!(register_changed_registry(&store)));
|
|
222
|
+
assert_ne!(different["registry_generation"], owner["registry_generation"]);
|
|
223
|
+
for _ in 0..2 {
|
|
224
|
+
let response = store.request(&request, &different, &Cancellation::default());
|
|
225
|
+
tail_cache_parity(&response, &cold);
|
|
226
|
+
assert!(response["usage"]["source_bytes_read"].as_u64().unwrap() > 0);
|
|
227
|
+
assert_eq!(response["usage"]["cache_hits"].as_u64(), Some(0));
|
|
228
|
+
}
|
|
229
|
+
assert_eq!(store.request(&request, &owner, &Cancellation::default())["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
230
|
+
store.assert_conserved();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
#[test]
|
|
234
|
+
fn tail_cache_optional_retention_refusal_keeps_the_original_empty_reply() {
|
|
235
|
+
let source = Source::new("");
|
|
236
|
+
let mut store = NativeStore::new(&json!({})).unwrap();
|
|
237
|
+
let owner = context("tail-cache-refusal");
|
|
238
|
+
tail_cache_source(&store, &source, &owner);
|
|
239
|
+
let stamp = SourceStamp::of(&std::fs::metadata(&source.path).unwrap());
|
|
240
|
+
let pinned = store.direct_tail_source(stamp, &owner).unwrap();
|
|
241
|
+
let key = snapshot_key(&pinned);
|
|
242
|
+
let before = NativeStore::retained_total(&mut store.lock_state());
|
|
243
|
+
let original_cap = store.config.retained;
|
|
244
|
+
store.config.retained = before + MAX_REPLY_BYTES.saturating_mul(2);
|
|
245
|
+
let request = tail_request(&source.path, 3, 1024*1024);
|
|
246
|
+
let refused_retention = store.request(&request, &owner, &Cancellation::default());
|
|
247
|
+
let reference = NativeStore::new(&json!({})).unwrap();
|
|
248
|
+
tail_cache_parity(&refused_retention, &reference.request(&request, &owner, &Cancellation::default()));
|
|
249
|
+
assert_eq!(refused_retention["status"].as_str(), Some("ok"));
|
|
250
|
+
assert_eq!(refused_retention["usage"]["source_bytes_read"].as_u64(), Some(0));
|
|
251
|
+
assert!(store.lock_state().generations.get(&key).unwrap().direct_tail.is_none());
|
|
252
|
+
assert_eq!(NativeStore::retained_total(&mut store.lock_state()), before);
|
|
253
|
+
store.assert_conserved();
|
|
254
|
+
store.config.retained = original_cap;
|
|
255
|
+
let admitted = store.request(&request, &owner, &Cancellation::default());
|
|
256
|
+
tail_cache_parity(&admitted, &refused_retention);
|
|
257
|
+
assert!(store.lock_state().generations.get(&key).unwrap().direct_tail.is_some());
|
|
258
|
+
store.assert_conserved();
|
|
259
|
+
}
|
{cc_transcript-14.45.28 → cc_transcript-14.45.30}/rust/crates/core/src/snapshot_prepared_service.rs
RENAMED
|
@@ -891,9 +891,10 @@ impl NativeStore {
|
|
|
891
891
|
context: &Value,
|
|
892
892
|
cancel: &Cancellation,
|
|
893
893
|
deadline: u64,
|
|
894
|
+
absences: Option<&SidechainAbsences<'_>>,
|
|
894
895
|
) -> Result<bool, SnapshotError> {
|
|
895
896
|
Ok(self.validate_source_stamps(members, context, cancel, deadline)?
|
|
896
|
-
&& self.validate_sidechain_dirs(sidechain_dirs, context, cancel, deadline)?)
|
|
897
|
+
&& self.validate_sidechain_dirs(sidechain_dirs, context, cancel, deadline, absences)?)
|
|
897
898
|
}
|
|
898
899
|
|
|
899
900
|
fn validate_source_stamps(
|
|
@@ -928,13 +929,17 @@ impl NativeStore {
|
|
|
928
929
|
context: &Value,
|
|
929
930
|
cancel: &Cancellation,
|
|
930
931
|
deadline: u64,
|
|
932
|
+
absences: Option<&SidechainAbsences<'_>>,
|
|
931
933
|
) -> Result<bool, SnapshotError> {
|
|
932
934
|
let mut dirs = ResolvedDirs::new(self, context);
|
|
933
|
-
for (path, stamp) in sidechain_dirs {
|
|
935
|
+
for (index, (path, stamp)) in sidechain_dirs.iter().enumerate() {
|
|
936
|
+
cancel.check(deadline)?;
|
|
937
|
+
if absences.is_some_and(|proof| proof.contains(index)) { continue; }
|
|
938
|
+
#[cfg(test)]
|
|
939
|
+
self.sidechain_path_probes.fetch_add(1, Ordering::Relaxed);
|
|
934
940
|
#[cfg(test)]
|
|
935
941
|
self.membership_metadata_checks
|
|
936
942
|
.fetch_add(1, Ordering::Relaxed);
|
|
937
|
-
cancel.check(deadline)?;
|
|
938
943
|
let (canonical, metadata) = match dirs.resolve(path) {
|
|
939
944
|
Ok(resolved) => resolved,
|
|
940
945
|
Err(error) if error.status == Status::Missing => {
|
|
@@ -1653,6 +1658,9 @@ impl NativeStore {
|
|
|
1653
1658
|
let cached = self.lock_state().warm_memberships.get(key).cloned();
|
|
1654
1659
|
if let Some(cached) = cached {
|
|
1655
1660
|
let namespace_valid = self.catalog_membership_valid(cached.catalog, request, context, cancel, remaining)?;
|
|
1661
|
+
let absences = if namespace_valid && revalidate {
|
|
1662
|
+
self.sidechain_absences(cached.catalog, &cached.sidechain_dirs, context, cancel, remaining.deadline_unix_ms)?
|
|
1663
|
+
} else { None };
|
|
1656
1664
|
if namespace_valid && (!revalidate
|
|
1657
1665
|
|| self.validate_warm_membership(
|
|
1658
1666
|
&cached.members,
|
|
@@ -1660,6 +1668,7 @@ impl NativeStore {
|
|
|
1660
1668
|
context,
|
|
1661
1669
|
cancel,
|
|
1662
1670
|
remaining.deadline_unix_ms,
|
|
1671
|
+
absences.as_ref(),
|
|
1663
1672
|
)?)
|
|
1664
1673
|
{
|
|
1665
1674
|
if !self.catalog_membership_valid(cached.catalog, request, context, cancel, remaining)? {
|
|
@@ -1667,6 +1676,7 @@ impl NativeStore {
|
|
|
1667
1676
|
}
|
|
1668
1677
|
return Ok((cached, None));
|
|
1669
1678
|
}
|
|
1679
|
+
drop(absences);
|
|
1670
1680
|
self.lock_state().remove_warm_membership(key);
|
|
1671
1681
|
if namespace_valid {
|
|
1672
1682
|
if let Some((membership, reservation)) =
|
|
@@ -1703,6 +1713,7 @@ impl NativeStore {
|
|
|
1703
1713
|
context,
|
|
1704
1714
|
cancel,
|
|
1705
1715
|
remaining.deadline_unix_ms,
|
|
1716
|
+
None,
|
|
1706
1717
|
)?
|
|
1707
1718
|
{
|
|
1708
1719
|
return Ok(None);
|
|
@@ -2228,6 +2239,7 @@ impl NativeStore {
|
|
|
2228
2239
|
context,
|
|
2229
2240
|
cancel,
|
|
2230
2241
|
remaining.deadline_unix_ms,
|
|
2242
|
+
None,
|
|
2231
2243
|
)? {
|
|
2232
2244
|
self.lock_state().remove_warm_membership(&key);
|
|
2233
2245
|
return Err(SnapshotError::new(
|
|
@@ -2542,6 +2554,7 @@ impl NativeStore {
|
|
|
2542
2554
|
context,
|
|
2543
2555
|
cancel,
|
|
2544
2556
|
cursor.remaining.deadline_unix_ms,
|
|
2557
|
+
None,
|
|
2545
2558
|
)?
|
|
2546
2559
|
{
|
|
2547
2560
|
return Err(SnapshotError::new(
|