Skip to content

Show on the pull request card what the merge publishes - #105

Merged
colinjlacy merged 1 commit into
runtimeconditions:mainfrom
itvi-1234:pr-card-changes-table
Dec 2, 2026
Merged

colinjlacy merged 1 commit into
runtimeconditions:mainfrom
itvi-1234:pr-card-changes-table

Conversation

@itvi-1234

Copy link
Copy Markdown
Member

What this changes

The publishing setup card on pull requests now ends with an After the merge table. It shows what the merge will publish.

Package Registry Now After the merge What happens
aws-sqs npm 0.2.0 0.2.1 publishes 0.2.1
cql Maven Central 0.1.0 0.0.9 ⚠️ older than 0.1.0 on the registry; bump the version in packages.yaml
gpu PyPI 0.2.0 0.2.1 publishes 0.2.1
  • It covers all four registries: Go, PyPI, npm and Maven Central.
  • Now is the newest version on the registry today. After the merge is the version in packages.yaml after this pull request.
  • What happens is one of: publishes the new version, first release, or ⚠️ the version is older than the registry's newest and needs a bump. npm refuses such a version, and other registries would publish versions out of order.
  • Packages that are regenerated but whose version is already published go into a folded list below the table. This keeps the card short when shared tooling changes and every package is regenerated.
  • The comment now also appears when the merge only publishes new versions, so the table is seen even when no setup is needed.

Tests

All 162 tests in the CI folder pass. New tests cover reading versions from each registry, comparing versions by number, each kind of table row, the ⚠️ case, and the folded list.

The publishing setup card now ends with an After the merge table. For each
package and registry the merge regenerates, in all four languages, it shows the
newest version on the registry now, the version in packages.yaml after the
merge, and what happens: the new version is published, it is a first release,
or the version is older than the registry's newest and needs a bump. npm
refuses such a version, and on the other registries it would publish versions
out of order.

Packages whose version is already published are folded into a list below the
table, so a change to shared tooling does not list every package. The comment
also appears when the merge only publishes new versions.
@colinjlacy
colinjlacy merged commit 911fc92 into runtimeconditions:main Dec 2, 2026
8 checks passed
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.

2 participants