Skip to content

release: promote dev → main — language-aware EUR-Lex source links (#424 p1)#430

Merged
AndreLiar merged 2 commits into
mainfrom
dev
Jun 14, 2026
Merged

release: promote dev → main — language-aware EUR-Lex source links (#424 p1)#430
AndreLiar merged 2 commits into
mainfrom
dev

Conversation

@AndreLiar

Copy link
Copy Markdown
Owner

Promote devmain (auto-deploy prod).

Inclus

Statut

Mergé dans dev, CI verte. Backend 1445 tests · frontend 521 · build ✓.

#424 p1)

dora regulation citations now carry the official EUR-Lex source URL, in the
user's language (the regulation is published verbatim in all EU languages), so a
french user gets a french answer plus a link to the official french dora text —
without us translating the regulation ourselves.

- complianceKbRetriever: build the eur-lex CELEX url per regulation, language-aware
  (DORA -> 32022R2554; DORA-RTS spans several acts -> no link, better than a wrong one)
- thread the UI locale through the rag request (controller -> executor -> service
  -> retriever); frontend sends i18n.language on /rag/stream
- the frontend SourceCitations already renders source.url as an external link
- unit tests for the url builder + updated the call-args assertion

phase 2 (full french KB text for same-language snippets) needs the official
EUR-Lex french content (data task, to be provided).
feat(rag): language-aware EUR-Lex source links on regulation citations (#424 phase 1)
@codecov-commenter

codecov-commenter commented Jun 14, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/controllers/ragController.js 50.00% 1 Missing ⚠️
backend/services/ragExecutor.js 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@AndreLiar AndreLiar merged commit e3a3bfa into main Jun 14, 2026
14 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