# npm registry replication scheduled brownouts 5xx empty batches

Status: search-observed
Product: npm replication
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/npm-registry-replication-scheduled-brownouts-5xx-empty-batches
Machine JSON: https://gitdocs.org/api/fixes/npm-registry-replication-scheduled-brownouts-5xx-empty-batches.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The consumer code is locally valid under the old feed contract; only the live registry's current routing, cursor, or response semantics disambiguate the fix.

## Fix

```
Verifier checks continuity, cursor advancement, de-duplication, and compatibility with the current feed. Check no gaps or duplicates across a hidden multi-page change stream.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- npm registry replication scheduled brownouts 5xx empty batches
- npm registry replication endpoint changes feed

## Sources

- Changes to npm replication feeds APIs: https://github.blog/changelog/2025-04-22-reminder-for-changes-to-npm-replication-feeds-apis/
