Skip to content

feat(ci): open bump issues on consumer repos when a package is released - #529

Merged
valentinfernandez1 merged 6 commits into
mainfrom
vf/notify-consumers
Aug 28, 2026
Merged

feat(ci): open bump issues on consumer repos when a package is released#529
valentinfernandez1 merged 6 commits into
mainfrom
vf/notify-consumers

Conversation

@valentinfernandez1

@valentinfernandez1 valentinfernandez1 commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

What

A release opens a bump issue on every repository that consumes one of the packages it published. .github/consumers.json maps a package to its consumer repos, so subscribing a repo to another package is one entry in a list. Example:

{
  "@parity/truapi": ["paritytech/dotli-community", "paritytech/product-sdk"],
  "@parity/truapi-host": ["paritytech/dotli-community"],
  "@parity/ios-host": [],
  "@parity/android-host": []
}

A release publishing several packages a repo consumes produces one combined issue, labelled truapi-release. An earlier notification is closed as superseded only once the new issue covers every package it named at an equal or higher version, so a @parity/truapi-only release leaves an issue still tracking an unbumped @parity/truapi-host open. A release cut from a release branch cannot close the issue for a newer version.

Needs a GitHub App installed on the consumer repos, with its client id and private key stored as CONSUMER_NOTIFY_APP_CLIENT_ID and CONSUMER_NOTIFY_APP_PRIVATE_KEY. Each run mints an installation token scoped to the repos resolved from the config and to issues: write alone.

@valentinfernandez1
valentinfernandez1 requested a review from a team August 27, 2026 15:52
@valentinfernandez1

Copy link
Copy Markdown
Collaborator Author

CONSUMER_NOTIFY_TOKEN is set, the token is still pending approval so I will not merge until the token is approved.

@valentinfernandez1
valentinfernandez1 added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit bd3ce49 Aug 28, 2026
17 checks passed
@valentinfernandez1
valentinfernandez1 deleted the vf/notify-consumers branch August 28, 2026 14:58
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.

4 participants