🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: add additional requirements for background migrations (#3951)
Steffen Schmitzc4600297045d
diff --git a/worker/src/backgroundMigrations/README.md b/worker/src/backgroundMigrations/README.mdindex 244d49d8ca..5ad3e9d28d 100644--- a/worker/src/backgroundMigrations/README.md+++ b/worker/src/backgroundMigrations/README.md@@ -23,6 +23,8 @@ $ dotenv -e ../.env -- npx ts-node src/backgroundMigrations/addGenerationsCostBa- We must highlight in the changelog and potentially another page if the code relies on some background migration having finished.See GitLab's [upgrade stops](https://docs.gitlab.com/ee/update/upgrade_paths.html) for an example on how to communicate this.- The migration name must be sortable, as we run migrations in order. Preferably, we prefix with a date.+- Background migrations must assume that the worker instance continues processing events while migrations run, i.e. they should avoid the application code.+- Background migrations must assume that new events are being processed while they run, i.e. they should not rely on the state of the database to be static.## Implementation