PolicyEngine / PolicyEngine/policyengine-sim-api

build targets ignore lock files

Open
#207 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1
Forks
1
Avg merge
10h 29m
Merged PRs (30d)
7

Description

All our build targets automatically run update. This means that we effectively ignore the lock file when deploying our services because the build process just overwrites them with the most recent dependencies.

Given the way we do deployments this actually even means prod and beta could be running completely different versions of the service dependencies.

I'm not sure if there is some legit reason to do this by default in some environments, but suggest we make updating dependencies an explicit action, not the default and definitely don't do it as part of deploy.

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating the build targets that run dependency updates and the deployment entry point. Trace when lock files are replaced during beta and production deployments. Done means deployment preserves the locked dependencies, while updating dependencies is available only as an explicit action.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, devops, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.