Skip to main content

Module embedding_refresh_config

Module embedding_refresh_config 

Source
Expand description

Durable, content-free embedding refresh policy and terminal outcomes.

Structs§

EmbeddingRefreshConfig
Fully validated durable refresh control state.
EmbeddingRefreshConfigLimits
Resource and coordination bounds for refresh-control access.
EmbeddingRefreshOutcomeAttempt
Content-free terminal outcome fields captured before durable lock acquisition.
EmbeddingRefreshOutcomeRecord
Content-free durable outcome for one compatibility lineage.
EmbeddingRefreshProjectPolicy
Project-wide refresh defaults.
EmbeddingRefreshSpacePolicy
Optional per-lineage overrides of project refresh defaults.
EmbeddingRefreshSpaceState
One deterministic compatibility-lineage refresh record.
ResolvedEmbeddingRefreshPolicy
Fully resolved policy for one compatibility lineage.

Enums§

EmbeddingRefreshConfigUpdate
One explicit mutation of durable refresh control state.
EmbeddingRefreshFailureClass
Stable, content-free terminal refresh failure classification.
EmbeddingRefreshOutcomeStatus
Stable terminal interpretation of one refresh attempt.

Constants§

DEFAULT_EMBEDDING_REFRESH_DEBOUNCE
Default process-local proactive refresh debounce.
EMBEDDING_REFRESH_CONFIG_VERSION
Refresh-control document schema implemented by this release.
MAX_EMBEDDING_REFRESH_CONFIG_BYTES
Maximum accepted refresh-control bytes by default.
MAX_EMBEDDING_REFRESH_CONFIG_ENTRIES
Maximum per-lineage policy/outcome records by default.
MAX_EMBEDDING_REFRESH_JOBS
Default and maximum producer concurrency for one embedded project.

Functions§

read_embedding_refresh_config
Read and validate durable embedding refresh controls.
record_embedding_refresh_outcome
Record one terminal outcome with monotonic time assigned under the writer lock.
update_embedding_refresh_config
Apply one refresh-control mutation under a bounded cross-process writer lock.