Give the Simulation Entrypoint its own simulation schema, migration chain and database connection
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 15/100
Piste de recherche
Start by reading the Simulation Entrypoint deployment and readiness checks, the repository's migration ownership rules, and existing Alembic and PostgreSQL CI configuration. The issue names migrations/ as the chain location and SIMULATION_DATABASE_URL as the runtime setting; first confirm the staging and production roles, URLs, and grants have been created. Done means the entrypoint deploys with an empty simulation schema at its first revision, readiness reports that revision, the candidate check matches it to the image, and CI completes the upgrade, check, downgrade, and upgrade cycle.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
The Simulation Entrypoint will record simulations, reports, their runs and their results in its own Postgres schema, simulation, in the database that holds the Public API's v2 tables. Before any table can be added, the service needs the foundation:
- a persistence library for that schema, with its own Alembic migration chain;
- a migration job that applies the chain before each entrypoint deploy, using a separate migrator role;
- the runtime role's database URL (
SIMULATION_DATABASE_URL) mounted on the entrypoint as a pinned Secret Manager version; - the schema's applied revision reported by the readiness check, and required by the candidate check to match the image;
- ownership rules in place of the rule that forbade any migration chain in this repository: one chain at
migrations/, its version table in thesimulationschema, the Modal executor and gateway independent of the library, and no database URL in Modal except the Stage 12 comparison path's own; - a CI job that runs the chain's upgrade, check, downgrade and upgrade cycle on PostgreSQL.
Once deployed, the entrypoint has a database connection and an empty simulation schema at its first revision; nothing reads or writes it yet. The database roles, URLs and grants must be created by an operator in staging and production first.
- Langage dominant
- Python
- Étoiles
- 1
- Forks
- 1
- Merge moyen
- 1 j 16 h
- PR mergées (30 j)
- 61
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PolicyEngine/policyengine-sim-api
-
Update policyengine to 6.7.3Peut-être à nouveau libre Une pull request pour cette issue a été fermée sans être fusionnée. Ouverte
Difficulté 2/5 Une demi-journée Accessibilité débutants 70/100
PolicyEngine/policyengine-sim-api#823 ·
Les mainteneurs répondent en général sous 1 jour
-
Integration tests fail due to missing UV virtual environment setupPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
PolicyEngine/policyengine-sim-api#314 ·
Les mainteneurs répondent en général sous 1 jour
-
Update policyengine to 6.10.1Peut-être pris @policyengine l’a pris il y a 1 jour. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 20/100
PolicyEngine/policyengine-sim-api#905 ·
Les mainteneurs répondent en général sous 1 jour
-
Calculate a household under several policies in one call on Modal (v2 household functions)Peut-être pris @anth-volk l’a pris il y a 1 jour. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
PolicyEngine/policyengine-sim-api#902 ·
Les mainteneurs répondent en général sous 1 jour
-
Add simulation and report definitions to the simulation schemaPeut-être pris @anth-volk l’a pris il y a 1 jour. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
PolicyEngine/policyengine-sim-api#899 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de PolicyEngine/policyengine-sim-api
Issues similaires
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
sergey-miryanov/gcmon#230 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG] Failed archive extraction deletes the dataset cachePeut-être pris @dajiaohuang l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
alibaba/GraphScope#4674 ·