Skip to content

increment: enhance CmsService locale handling with validation and tests - #179

Merged
timosville merged 4 commits into
mainfrom
sco-2800-querying-a-locale-that-does-not-exist-in-the-cms-returns-500
Jul 31, 2026
Merged

increment: enhance CmsService locale handling with validation and tests#179
timosville merged 4 commits into
mainfrom
sco-2800-querying-a-locale-that-does-not-exist-in-the-cms-returns-500

Conversation

@timosville

Copy link
Copy Markdown
Contributor

No description provided.

@timosville
timosville requested a review from JannieT July 30, 2026 11:36
@linear-code

linear-code Bot commented Jul 30, 2026

Copy link
Copy Markdown

SCO-2800

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying kit with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9613165
Status: ✅  Deploy successful!
Preview URL: https://edefab46.kit-atq.pages.dev
Branch Preview URL: https://sco-2800-querying-a-locale-t.kit-atq.pages.dev

View logs

@JannieT JannieT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!
Looks like there are two regressions on the invitation validator (Invitation validator › Live Schema › allows empty actionUrl). Because we do not run the test suite on PR it might have been around for a while.
Before merging, please see if you can fix the tests and look at my comments

Comment thread src/shared/language_helpers.ts
Comment thread tests/unit/language_helpers.spec.ts
Comment thread tests/unit/language_helpers.spec.ts
Comment thread src/backend/services/cms_service.ts
@timosville
timosville merged commit e8484dd into main Jul 31, 2026
1 of 2 checks passed
@timosville
timosville deleted the sco-2800-querying-a-locale-that-does-not-exist-in-the-cms-returns-500 branch July 31, 2026 12:02
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