Skip to content

fix: /review-translations filter API field#18275

Merged
wackerow merged 1 commit into
devfrom
fix/intl-review-filter-content-field
May 26, 2026
Merged

fix: /review-translations filter API field#18275
wackerow merged 1 commit into
devfrom
fix/intl-review-filter-content-field

Conversation

@myelinated-wackerow
Copy link
Copy Markdown
Collaborator

Summary

The ETHGlossary POST /api/v1/filter endpoint expects a content field, but .claude/commands/review-translations.md sent text. The API returns a Zod validation error, so agent-run reviews silently fall back to memory-based heuristics instead of querying the glossary.

This was a contributing factor to the false-positive criticals on PR #18273, where acronym transliterations that exactly matched ETHGlossary entries were flagged as needing reversion to Latin.

Test plan

  • Verified the fixed payload returns matches against ethglossary.visual-20-hoists.workers.dev/api/v1/filter
  • Confirmed only one occurrence on dev (the skill-side reference on intl-knowledge-base is patched separately)

The ETHGlossary POST /api/v1/filter endpoint expects a `content` field, but the slash command sent `text`. The API silently returned a Zod validation error, so agent-run reviews fell back to memory-based heuristics instead of querying the glossary. This was a contributing factor to the false-positive criticals on PR 18273 (acronym transliterations that exactly matched glossary entries were flagged as needing reversion to Latin). Verified against ethglossary.visual-20-hoists.workers.dev with a minimal payload.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 25, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 9a96285
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/6a148287e967590007d4c7a6
😎 Deploy Preview https://deploy-preview-18275.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 69 (🟢 up 4 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (🔴 down 1 from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@wackerow wackerow merged commit 65e32ee into dev May 26, 2026
16 checks passed
@wackerow wackerow deleted the fix/intl-review-filter-content-field branch May 26, 2026 07:37
@pettinarip pettinarip mentioned this pull request May 28, 2026
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