Skip to content

Bump policyengine-core to >=3.25.1#8077

Merged
MaxGhenis merged 2 commits intomainfrom
bump-pe-core-3.25
Apr 19, 2026
Merged

Bump policyengine-core to >=3.25.1#8077
MaxGhenis merged 2 commits intomainfrom
bump-pe-core-3.25

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

Bumps policyengine-core minimum to >=3.25.1 to pick up:

  1. The set_input preservation fix (Preserve set_input values across apply_reform policyengine-core#475) — closes Add regression test for parameter breakdown mismatch (closes #8055) #8058 where apply_reform wiped state_fips and broke the state_name/state_code chain.
  2. The _invalidate_all_caches performance fix (Fix _invalidate_all_caches performance regression policyengine-core#478) — the initial 3.25.0 version walked every variable in the tax-benefit system and lazy-created a Holder for each, which blew up the YAML full-suite from ~17 min to ~51 min per job and started hitting the 1-hour GitHub Actions timeout. 3.25.1 iterates only existing holders.

Supersedes the closed #8070 which bumped to 3.25.0 and hit the perf regression.

Test plan

  • tests/test_ctc_itemizing_branch_cycle passes locally
  • CI passes including Full Suite back at normal duration (<20 min per job)

Generated with Claude Code

MaxGhenis and others added 2 commits April 18, 2026 11:17
PE-core 3.24.0-3.24.3 cache-invalidation wiped set_input values across
apply_reform, which in policyengine-us manifested as state_fips getting
cleared and the downstream state_name/state_code chain returning None
(#8058). 3.25.0 preserves user inputs while
still invalidating formula-output caches.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…f fix

PE-core 3.25.0 regressed YAML full-suite run time (17 min -> 51+ min
per job, hit 1-hour GH Actions timeout) because
`_invalidate_all_caches` walked every variable in the tax-benefit
system and lazy-created a Holder for each. Fixed upstream in
PolicyEngine/policyengine-core#478 by iterating only existing holders,
restoring the original sub-second `apply_reform` cost. 3.25.1 ships
the fix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MaxGhenis
Copy link
Copy Markdown
Contributor Author

Multiple reruns have all hit GitHub Actions runner preemptions (The runner has received a shutdown signal) on the Full Suite jobs — same infrastructure flakiness flagged in #8069 / #8078. The one Full Suite job that did complete (Structural (States)) passes in 36.5 min, consistent with main's recent runs.

Key points for reviewer:

Leaving this open in case someone wants to retry when the runner fleet stabilises, or close if the 3.24.4 baseline from #8078 is good enough for now.

@MaxGhenis MaxGhenis merged commit cc7b3d8 into main Apr 19, 2026
10 of 13 checks passed
@MaxGhenis MaxGhenis deleted the bump-pe-core-3.25 branch April 19, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant