The weekly comparison with the Public API's tables failed

Open
#1,114 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
18/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, python
Domain
ci-cd, database

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
1
Forks
1
Avg merge
1d 14h
Merged PRs (30d)
60

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-sim-api

All issues in PolicyEngine/policyengine-sim-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.