agent-substrate / agent-substrate/substrate

Compact PG DB migration scripts into a single step before v1.0 substrate release

Ouverte
#1,399 1 commentaire 2 réactions 0 personnes assignées Voir sur GitHub
area/api-machinery kind/cleanup
Langage dominant
Go
Étoiles
1.8k
Forks
316
Merge moyen
2 j 43 min
PR mergées (30 j)
287

Description

In https://github.com/agent-substrate/substrate/pull/1196#discussion_r3890774469 we agreed to group all pre-v1 DB migration operations into a single migration step.

Doing this will minimize startup time cost for new clusters. If we don't do it, the startup code for new clusters will be slower ~forever (unless we get really creative in how we manage migration scripts, which is not planned, and which caries it's own risks).

We should do this just prior to releasing v1 since we anticipate that additional DB migration scripts will be added between now and then.

@juli4n @iplay88keys @BenTheElder @thockin

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.