Skip to content

Deploy v11.4.0#17985

Merged
wackerow merged 158 commits intomasterfrom
staging
Apr 17, 2026
Merged

Deploy v11.4.0#17985
wackerow merged 158 commits intomasterfrom
staging

Conversation

@pettinarip
Copy link
Copy Markdown
Member


⚡️ Changes

🌐 Translations

📝 Documentation

🔧 Tooling

📦 Dependencies


🦄 Contributors

Thank you @myelinated-wackerow, @pettinarip and @wackerow for the contributions! 🏆


myelinated-wackerow and others added 30 commits March 23, 2026 21:37
Add timestamped REQUEST/RESPONSE logging to Gemini
API calls with model, duration, and token counts.
Add verbose prompt logging behind VERBOSE flag.
Add per-language timing and formatted token usage
summary table at end of pipeline run.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Strip metadata from fence language tag before syntax lookup so "sh copy" maps to shell, not js (avoids treating // in URLs as comments). Use strippedCode instead of original block content when restoring translated comments to prevent duplication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove duplicate "Creating Pull Request" banner
- Wrap verbose prompt output in collapsible groups

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Support comma-separated exclude paths to skip
specific files or directories from translation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Relative paths passed to runSanitizer caused English
source lookups to fail silently in GitHub Actions,
skipping all English-comparison fixes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
JSX attribute translation runs after the sanitizer
and can reintroduce issues. Add a second sanitizer
pass after Phase 4 to catch these.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Replace per-language sequential processing with a
single shared Gemini concurrency pool. Languages
dispatch files simultaneously; commits serialized
via SharedCommitter then squashed one-per-language.
Bump default concurrency from 6 to 16. Add parallel
JSX attribute translation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Pass English content map (fetched from BASE_BRANCH
via GitHub API) to the sanitizer instead of reading
from disk. Ensures English comparison matches the
same branch used for translation, not whatever the
CI runner checked out. Disk fallback preserved for
local/CLI usage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Restore closing code fence indentation lost during
code block extraction/restoration. Explicitly instruct
Gemini to translate frontmatter values and transliterate
author names for non-Latin scripts. Add validation to
reject untranslated frontmatter. Collapse blank lines
left by multi-line comment restoration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
The prompt told Gemini to keep `lang` unchanged, preserving
`lang: en` from the English source. Now explicitly instructs
it to set the lang field to the target language code.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Add fixFrontmatterLang() as a deterministic backup that forces
the frontmatter `lang` field to match the locale derived from
the file path (public/content/translations/LANG_CODE/**/*.md).

- 10 unit tests covering edge cases
- Exported via _testOnly for testing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Gemini was dropping CODE_BLOCK placeholders and hallucinating
replacement code from training data, producing wrong language
tags and modified code content.

- Prompt: tell Gemini placeholders are sacrosanct
- Prompt: fallback rules if a real fence slips through
- Validation: reject output with missing placeholders
- Validation: reject output with hallucinated code fences

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
warnCodeFenceContentDrift was flagging every code block with
translated comments as "differs from English" -- noise that
obscured real code corruption. Now strips comments (// /* */
# and docstrings) before comparing, so only functional code
differences trigger the warning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
When files fail to translate, post the list as a comment
on the newly created PR for easy follow-up tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Adds batching for large JSON translation files (~100 keys
per Gemini request) and pre-translation HTML placeholder
extraction/restoration for values with embedded HTML tags.

This targets the 8+ language failures on glossary.json (406
keys, 595 HTML tags) and learn-quizzes.json (696 keys).

Also updates the translation roadmap with the agreed-upon
priority plan for v3 fixes and v4 infrastructure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Adds BLOCK_NONE safety settings for all harm categories to
prevent Gemini from silently returning empty responses for
educational blockchain content (mining, attacks, etc.).

Inspects response candidates, finishReason, and safetyRatings
before accessing response.text, logging detailed diagnostics
when non-STOP finish reasons are detected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Use HarmCategory and HarmBlockThreshold enums from @google/genai
instead of plain strings. Fixes TS2322 type error in CI where
the SDK types are available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
The sanitizer was pushing absolute filesystem paths into
changedFiles, causing GitHub tree API to reject them with
"tree.path cannot start with a slash". Uses path.relative()
to convert to repo-relative paths, matching the pattern
already used for logging in the same file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Technical titles like "Ethash", "JSON-RPC API", "PeerDAS"
are legitimately kept in English. The previous check failed
if either title or description matched English. Now only
fails when BOTH are identical, catching genuinely untranslated
output while allowing technical/proper-noun titles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Same slash bug as the sanitizer -- absolute filesystem paths
passed to GitHub tree API. Applies path.relative() at the
commit point in jsx-translation.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Wires Atlas's glossary lookup module into the translation
pipeline. For each file, filters the 519-term glossary to
only terms present in the source text, then merges with the
existing Supabase glossary (local terms take priority).

Includes glossary data: 519 terms + 24 language translation
files (Tier 1 complete, Tier 2/3 in progress).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Document the plan to remove the Supabase glossary fallback
once the local enhanced glossary is complete. Pre-sweep
cleanup item.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Educational diagrams and infographics with English text
remain untranslated despite full text coverage. Documents
the problem, proposed approach using Gemini image generation,
and key challenges (text detection, RTL, visual QA).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Adds rules from Atlas's translation-rules reconciliation:

Common (all languages):
- EVM opcodes, hex values, crypto primitives stay Latin
- Network/testnet names stay Latin
- Client names: never translate meaning, transliterate OK
- License identifiers, math notation stay as-is

Group-specific:
- Latin: keep English technical loanwords (de/fr)
- Cyrillic: CLDR plural categories, grammatical case
- First mention rule for acronyms (markdown only)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
- Consolidate 7 "stay Latin" rules into single grouped directive
- Fix ambiguous "may"/"CAN" to binary directives
- Add RTL markdown syntax LTR preservation rule
- Make CJK-phonetic brand override explicit
- Fix glossary "exactly" to allow grammatical declension
- Remove first-mention acronym rule (deferred to glossary)
- Clarify loanword rule: glossary is authoritative

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
myelinated-wackerow and others added 18 commits April 15, 2026 08:57
Replace execSync with execFileSync to avoid shell
interpolation. Validate sourceCommitSha against
/^[0-9a-f]{40}$/i. Call validateTargetPath() on
file path before use.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
- Task pool tracks errors, pipeline aborts on failure
- Replace process.exit(1) with thrown errors
- Fix 422 retry infinite recursion (attempt + 1)
- Type Gemini response properly (remove as any)
- Add 5-min timeout to Gemini SDK calls
- Squash failure is now fatal (no swallow)
- Sanitize glossary notes against prompt injection
- Catch malformed batch responses per-batch
- Check mergeBranchInto return value

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Create or update PR for target branch. First run
creates PR, subsequent runs append run summary to
existing body. Target branch auto-derived from base:
intl/pending-{base}. findOpenPR + updatePRBody added
to pull-requests.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Delete lib/github/files.ts (328 lines, zero callers).
Remove IncrementalCommitter, putCommitFile, getPathSha
from commits.ts (252 lines, replaced by SharedCommitter).
Strip gemini.ts to isGeminiAvailable only (254 lines,
JSX attr functions unused). Clean stale comment in types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Merge gemini/gemini.ts (isGeminiAvailable) and
gemini/translate.ts into single lib/llm/gemini.ts.
Remove gemini/ subdirectory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
P1-9: 15 tests for output-validation.ts (JSON/MD
validation, refusal detection, placeholder checks).
P1-10: 24 tests for 4 previously untested functions
(buildSectionList, removeMarkdownSection,
extractJsonSections, replaceJsonValues). 807 total.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
…intl-4.9.1

build(deps): bump next-intl from 4.8.3 to 4.9.1
Fix Trigger.dev CI deploy authentication
Bumps [hono](https://github.com/honojs/hono) from 4.12.12 to 4.12.14.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.12...v4.12.14)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…4.12.14

build(deps): bump hono from 4.12.12 to 4.12.14
Bumps [next](https://github.com/vercel/next.js) from 16.2.1 to 16.2.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v16.2.1...v16.2.3)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.2.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…16.2.3

build(deps): bump next from 16.2.1 to 16.2.3
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
update: HK hub listing content
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 99665eb
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69e20f3e916f5c0008fda024
😎 Deploy Preview https://deploy-preview-17985.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: 56 (🔴 down 3 from production)
Accessibility: 94 (no change from production)
Best Practices: 100 (no change from production)
SEO: 99 (no change 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.

@github-actions github-actions Bot added config ⚙️ Changes to configuration files content 🖋️ This involves copy additions or edits dependencies 📦 Changes related to project dependencies documentation 📖 Change or add documentation tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program labels Apr 17, 2026
Copy link
Copy Markdown
Member Author

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

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

Release review for Deploy v11.4.0 — verified on staging.ethereum.org. All checks pass, LGTM 🚀

Page Status Notes
Homepage (/) ✅ Pass Loads cleanly; hero, ETH price, events/news sections render
Videos (/videos) ✅ Pass 58 videos; new filter categories (All / How Ethereum works / Network upgrades / Roadmap & priorities / Scaling & L2 / Use cases / Privacy & security / Community stories) + search + "Newest first" sort; category filter narrows results correctly
Community events (/community/events) ✅ Pass Page renders; hubs and meetups sections load
HK hub listing (#17983) ✅ Pass Text updated to "Hosted by SNZ and ETHTAO…"; CTA updated to "daily co-working!" (previous "starting April 2026" removed)
Meetup listings (#17960) ✅ Pass "Web3 Family" (Barcelona) and "Seoul Ethereum Meetup" removed from listings; other entries still render

Infrastructure PRs (#17971 Netlify disk-space, #17977 Trigger.dev CI, #17963 i18n pipeline, dep bumps for next/next-intl/hono) aren't directly browser-verifiable — site loading cleanly is the signal.

@wackerow wackerow merged commit 6d98d27 into master Apr 17, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config ⚙️ Changes to configuration files content 🖋️ This involves copy additions or edits dependencies 📦 Changes related to project dependencies documentation 📖 Change or add documentation tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants