Skip to content

Point release consumer dispatch at renamed policyengine-sim-api#467

Merged
anth-volk merged 1 commit into
mainfrom
fix/rename-consumer-repo-to-sim-api
Jul 9, 2026
Merged

Point release consumer dispatch at renamed policyengine-sim-api#467
anth-volk merged 1 commit into
mainfrom
fix/rename-consumer-repo-to-sim-api

Conversation

@anth-volk

Copy link
Copy Markdown
Contributor

Fixes #466

Summary

The consumer repo policyengine-api-v2 was renamed to policyengine-sim-api, which broke the post-release consumer-notification step in the release pipeline.

Root cause

NotifyConsumers (.github/workflows/push.yaml) mints a GitHub App token scoped to repositories: policyengine-api,policyengine-api-v2, then runs .github/dispatch-policyengine-release.sh to send a policyengine-release repository dispatch to those repos. actions/create-github-app-token (the installation access-token API) does not follow repository renames, so requesting the old name returns:

422 — There is at least one repository that does not exist or is not accessible to the parent installation.

The job dies at token generation, before any dispatch. Confirmed on the policyengine 4.20.2 release (run 29043618022): Publish succeeded, but Open consumer update PRs failed, so no downstream repo received a version-bump PR.

Change

  • push.yamlrepositories: policyengine-api,policyengine-sim-api
  • dispatch-policyengine-release.shCONSUMER_REPOS uses policyengine-sim-api

The historical CHANGELOG.md entry that mentions the old name is intentionally left unchanged as shipped-release history.

Note

This fixes releases going forward. It does not retroactively notify consumers for 4.20.2 (that dispatch already failed) — the sim API can be bumped to 4.20.2 now by manually running its check-policyengine-updates.yml (workflow_dispatch, version 4.20.2).

🤖 Generated with Claude Code

The consumer repo policyengine-api-v2 was renamed to policyengine-sim-api.
actions/create-github-app-token (the installation access-token API) does not
follow repo renames, so the release NotifyConsumers job failed with a 422 and
never dispatched policyengine-release to consumers. Update the repo name in
push.yaml (App token scope) and dispatch-policyengine-release.sh (CONSUMER_REPOS).
The historical CHANGELOG.md entry is left as shipped-release history.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@anth-volk anth-volk marked this pull request as ready for review July 9, 2026 19:51
@anth-volk anth-volk merged commit 6b6ebcd into main Jul 9, 2026
13 checks passed
@anth-volk anth-volk deleted the fix/rename-consumer-repo-to-sim-api branch July 9, 2026 19:51
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.

Release consumer-dispatch fails: policyengine-api-v2 renamed to policyengine-sim-api

1 participant