The weekly comparison with the Public API's tables failed

未关闭
#1,114 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, python
领域
ci-cd, database

调研方向

Start with the failed Public API schema drift run linked in the issue and its log, to see which of the three cases applies. If the Public API's tables changed, update the models in libs/policyengine-simulation-persistence and the pinned commit in libs/policyengine-simulation-persistence/public-api-commit together in one pull request. Done means the weekly comparison passes again and this issue is closed.

由索引模型根据 Issue 内容生成。

描述

public-api-schema-drift

The Public API schema drift workflow compares sim's table models with the
tables the Public API's v2 migration chain builds at the head of its
master branch, and it failed: https://github.com/PolicyEngine/policyengine-sim-api/actions/runs/45125705878

Its log says which of these happened:

  • The Public API merged a change to a table the simulation service writes,
    or to the service role's grants, that the models in
    libs/policyengine-simulation-persistence haven't followed. Update the
    models, and move the pinned commit in
    libs/policyengine-simulation-persistence/public-api-commit, in one pull
    request.
  • The Public API's tables couldn't be built at that head.
  • A setup step failed, such as the database service, a checkout, or installing
    Python, uv or the dependencies. Then re-run the workflow.

While this issue is open, later failures are added to it as comments. Close
it once the comparison passes again.

主要语言
Python
星标
1
派生
1
平均合并
1 天 12 小时
30 天内合并 PR
71

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PolicyEngine/policyengine-sim-api 的其他 Issue

查看 PolicyEngine/policyengine-sim-api 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。