fix: fall back when Last Post archive is blocked #92

Merged
bray merged 2 commits from fix/last-post-archive-403 into main 2026-07-22 14:54:53 -04:00
Collaborator

Summary

  • send browser-compatible headers to the legacy WordPress site
  • fall back to the WordPress category scan when the Last Post archive index returns 403
  • retain the per-slug REST-to-HTML fallback
  • add regression coverage for archive-level 403 responses

Verification

  • node --test test/migration-post-resolver.test.js
  • npm run test:unit
## Summary - send browser-compatible headers to the legacy WordPress site - fall back to the WordPress category scan when the Last Post archive index returns 403 - retain the per-slug REST-to-HTML fallback - add regression coverage for archive-level 403 responses ## Verification - node --test test/migration-post-resolver.test.js - npm run test:unit
fix: fall back when Last Post archive is blocked
All checks were successful
Tests / Node.js 20 test suite (pull_request) Successful in 1m10s
Tests / Docker image build (pull_request) Successful in 9s
ecf7d8fadd
bray scheduled this pull request to auto merge when all checks succeed 2026-07-22 14:52:52 -04:00
Merge branch 'main' into fix/last-post-archive-403
All checks were successful
Tests / Node.js 20 test suite (pull_request) Successful in 1m4s
Tests / Docker image build (pull_request) Successful in 8s
ed5f02ec8b
bray scheduled this pull request to auto merge when all checks succeed 2026-07-22 14:53:49 -04:00
bray merged commit f1d8b54310 into main 2026-07-22 14:54:53 -04:00
bray deleted branch fix/last-post-archive-403 2026-07-22 14:54:53 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Eric/CMCENDev!92
No description provided.