Skip to content

fix(worker): restore live public event routes - #29

Merged
Elvis020 merged 1 commit into
mainfrom
feature/fix-edge-event-fetch
Aug 11, 2026
Merged

fix(worker): restore live public event routes#29
Elvis020 merged 1 commit into
mainfrom
feature/fix-edge-event-fetch

Conversation

@Elvis020

@Elvis020 Elvis020 commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

What this fixes

Public event pages were failing on the live website, even though EMS was healthy. This restores event pages and the events calendar.

What changed

  • Fixed the Cloudflare Worker request that loads live event data.
  • Fixed the event page shell so it keeps the requested event URL.

Why local testing looked fine

The local Astro server does not run the Cloudflare Worker used in production, so it did not hit this error. The fix has now been tested through the local Worker too.

Checked

  • Website build passed
  • Event page and calendar returned 200 through the local Worker
  • GitHub and Cloudflare build checks passed

After merge, we will confirm the live event page and calendar once the main deployment finishes.

Repair the Cloudflare Worker delivery path for dynamic public event pages and calendar downloads.

- Use the Worker-supported manual redirect mode for public event feed and slug lookups while preserving explicit non-OK rejection.
- Load the event shell from the canonical /events/ asset path so static-asset redirect handling cannot discard the requested event slug.
- Verified with pnpm build, git diff --check, and local Worker requests returning 200 HTML for the affected event route and 200 text/calendar for /events/calendar.ics.
@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
devcongress-website baf0f53 Commit Preview URL

Branch Preview URL
Aug 11 2026, 04:18 PM

@Elvis020
Elvis020 requested a review from bubunyo August 11, 2026 18:13
@Elvis020
Elvis020 merged commit 9ca0a2f into main Aug 11, 2026
5 checks passed
@Elvis020
Elvis020 deleted the feature/fix-edge-event-fetch branch August 11, 2026 18:43
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.

2 participants