Skip to content

Conversation

@tompscanlan
Copy link
Contributor

Summary

Sitemap at platform.openmeet.net/sitemap.xml was returning 6 URLs instead of 12+ because groups were missing. The durable: true flag on GroupService caused stale tenant context when accessed via Host header lookup.

Test plan

  • Local: Host header lookup returns groups
  • Local: x-tenant-id header still works
  • Unit tests pass

Post-merge verification

  • curl https://platform-dev.openmeet.net/sitemap.xml returns groups

…text

The sitemap was only returning 6 URLs instead of 12+ because groups
were not being included. The root cause was that GroupService had
`durable: true` which caused the provider to be cached with stale
tenant context when accessed via Host header lookup.

EventQueryService (without durable) worked correctly, but GroupService
(with durable) failed to get groups for the correct tenant.

Tested locally:
- Host header lookup now returns groups ✓
- x-tenant-id header still works ✓

Fixes: sitemap missing groups on platform.openmeet.net
@tompscanlan tompscanlan merged commit f540527 into main Jan 11, 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.

2 participants