Skip to content

Retire the client-side changelog registry refresh - #3760

Open
cotti wants to merge 1 commit into
changelog-registry-reconcile-clifrom
changelog-retire-client-registry-refresh
Open

Retire the client-side changelog registry refresh#3760
cotti wants to merge 1 commit into
changelog-registry-reconcile-clifrom
changelog-retire-client-registry-refresh

Conversation

@cotti

@cotti cotti commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Why

Phase 3 of elastic/docs-eng-team#688, stacked on #3741. With the scrubber Lambda as the sole producer of the public registry.json (#3738) and the cutover heal available (#3741), the client-side registry refresh is the last remaining writer in the retired multi-writer model. Keeping it would let a stale private manifest linger (nothing consumes it anymore) and would keep upload logs claiming registry responsibility the CLI no longer has.

What

changelog upload now writes YAML objects only: the post-upload refresh block, RegistryBuilder, and the private-manifest write path are gone. The registry materializes from the S3 events the upload already emits. The amend end-to-end test now drives RegistryReconciler (the production path) for its registry step, and the upload tests assert that no registry.json is ever PUT.

Old binaries in the wild keep writing private manifests — harmless: registry-key events only schedule a group reconcile and are never copied to the public bucket.

Important

Do not merge until the Phase 2 cutover checkpoint passes (queue drained, DLQ empty, registry verify clean — see the checklist in elastic/docs-eng-team#688). Releasing this before the Lambda owns the public registry would leave registries permanently stale.

After this releases, the now-dead private registry.json objects can be deleted (operational step, no code): their ObjectRemoved events only schedule redundant reconciles.

Part of elastic/docs-eng-team#688 (Phase 3).

The scrubber Lambda is the sole producer of the public registry.json,
reconciled from public bucket state on the S3 events every upload already
emits (elastic/docs-eng-team#688 Phase 3). Uploads now write YAML objects
only; RegistryBuilder and the private-manifest write path are removed, and
the amend end-to-end test exercises RegistryReconciler instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants