Skip to content

docs(ci-cd): correct the Packagist verification section — wrong endpoint, wrong diagnosis - #381

Merged
rubenvdlinde merged 1 commit into
mainfrom
fix/packagist-verification-doc
Aug 12, 2026
Merged

docs(ci-cd): correct the Packagist verification section — wrong endpoint, wrong diagnosis#381
rubenvdlinde merged 1 commit into
mainfrom
fix/packagist-verification-doc

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

The section added in #375 claimed Packagist was not publishing our tags and blamed a missing GitHub App. That was wrong.

Packagist serves metadata from two endpoints that do not update together:

endpoint read by freshness
repo.packagist.org/p2/… Composer current
packagist.org/packages/….json the website lags, here >30 min

I queried the second, saw a stale version, and built a story around a 202 webhook delivery and an uninstalled GitHub App to explain a failure that was not happening.

Measured: v1.7.0 tagged and pushed → web endpoint still showed v1.6.0 → p2 endpoint already had v1.7.0composer require conduction/hydra-gates:^1.0 resolved to v1.7.0 (b9c6520) throughout.

The section now gives the one-line p2 check and names the three things that are not evidence: a ping delivery, an HTTP 202, and package.time (creation timestamp, never moves).

…ng the wrong endpoint

The section I added a few hours ago said Packagist was not publishing our tags
and blamed a missing GitHub App. That diagnosis was wrong, and the way it was
reached is the part worth keeping.

Packagist serves metadata from two places that do not update together:
repo.packagist.org/p2/... is what COMPOSER reads and it is current;
packagist.org/packages/....json is what the WEBSITE reads and it lags, here by
more than half an hour. I queried the second one, saw a stale version, and built
a story around a 202 delivery and an uninstalled GitHub App to explain a failure
that was not occurring.

Measured: v1.7.0 tagged and pushed; the web endpoint still showed v1.6.0 as
newest; the p2 endpoint already had v1.7.0; and
 resolved to v1.7.0 (b9c6520) the
whole time.

The section now gives the one-line p2 check Composer itself would make, and names
the three things that are not evidence: a ping delivery, an HTTP 202, and
package.time — which is the creation timestamp and never moves.
@rubenvdlinde
rubenvdlinde merged commit b4956fe into main Aug 12, 2026
28 of 29 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.

1 participant