Skip to content

Migrate to unified CF Pages deployment via orchestrator#131

Merged
MarketDataApp merged 4 commits intomainfrom
staging
Feb 25, 2026
Merged

Migrate to unified CF Pages deployment via orchestrator#131
MarketDataApp merged 4 commits intomainfrom
staging

Conversation

@MarketDataApp
Copy link
Owner

@MarketDataApp MarketDataApp commented Feb 25, 2026

Summary

  • Switches deployment from direct CF Pages deploy to orchestrator pipeline (MarketDataApp/www-marketdata-app)
  • R2 upload path changed to {env}/sources/docs/ for multi-source merging
  • Worker TARGETS updated to new unified Pages projects (www-marketdata-app, www-staging-marketdata-app)
  • Post-deploy tests moved to separate workflow triggered by orchestrator deploy-complete dispatch
  • Removes post-deploy-tests job from docs CI (orchestrator notifies back instead)

Closes #117

Test plan

  • Worker unit tests pass (28/28)
  • Staging pipeline verified end-to-end: docs CI → R2 → orchestrator → CF Pages deploy
  • Orchestrator post-deploy integration + e2e tests passed on staging
  • Live staging site verified at www-staging.marketdata.app/docs/ after DNS cutover
  • Post-deploy tests workflow fires on main after merge (requires workflow on default branch)
  • Production pipeline: merge triggers build → R2 → orchestrator → deploy → tests

…domain

Staging now lives at www-staging.marketdata.app/docs/ instead of
www.marketdata.app/docs-staging/, letting both environments use identical
/docs/ paths. Worker uses hostname-based routing instead of path-prefix
matching, eliminating matchesRoute() and the Algolia search path rewrite.
Add request flow, worker features, environment table, DNS setup,
CI pipeline steps, and testing commands.
- Update Worker TARGETS to new Pages projects (www-marketdata-app, www-staging-marketdata-app)
- Switch CI to upload R2 artifacts at {env}/sources/docs/ and trigger orchestrator
- Remove direct CF Pages deploy step and post-deploy-tests job (orchestrator handles both)
- Update CLAUDE.md and README.md with new architecture
@MarketDataApp MarketDataApp merged commit e92c7b7 into main Feb 25, 2026
4 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.

Replace Worker with unified CF Pages deployment when main site moves to Astro

1 participant