Skip to content

fix(intl-pipeline): pending-branch baseline + docs refresh#17997

Merged
pettinarip merged 5 commits into
devfrom
intl-pipeline-v6-1
Apr 23, 2026
Merged

fix(intl-pipeline): pending-branch baseline + docs refresh#17997
pettinarip merged 5 commits into
devfrom
intl-pipeline-v6-1

Conversation

@myelinated-wackerow
Copy link
Copy Markdown
Collaborator

Summary

  • Use the intl/pending-<base> branch as baseline on re-runs so non-deterministic LLM output doesn't re-translate unchanged sections or produce merge conflicts. Merges base into pending first and fails fast on conflict; temp branches now branch off pending and are cleaned up after successful merge.
  • Document the orchestration layer in tests/specs/PIPELINE-SPEC.md: pending-branch lifecycle, temp-branch lifecycle, base-moved-during-run handling, and the non-English file edit policy (manifest-mapping rule, with the stamp_only workflow input as the escape hatch).
  • Consolidate the Internationalization section of AGENTS.md to capture the single-propagator rule and point agents at the spec.
  • Migrate the /review-translations slash command from the deprecated ethereum.org/api/glossary endpoint to ETHGlossary. Base URL resolves at runtime from GLOSSARY_API_URL env var or the config.ts default so it stays correct when the host changes. Prefers POST /filter for per-file scoped lookups.
  • Prune FUTURE.md: remove items that have shipped; relabel split-PRs as nice-to-have with a note on the pending-branch orchestration nuance.

Test plan

  • Trigger intl-pipeline.yml against a test base with no existing pending branch (first-run path).
  • Trigger again without any English changes (idempotency: zero drift, zero LLM calls, clean no-op merge).
  • Trigger after a new English change lands on base between runs (pending-as-baseline path: base merged into pending, only the delta translated, clean merge back).
  • Simulate a base-into-pending conflict and confirm the run aborts fast with no translation work done.
  • Run /review-translations against a PR and confirm ETHGlossary endpoints resolve via GLOSSARY_API_URL and llms.txt fetch succeeds.

myelinated-wackerow and others added 5 commits April 19, 2026 10:38
Document pending-as-baseline behavior, temp branch lifecycle,
base-branch-moved-during-run handling, non-English file edit
policy with stamp-only escape hatch, and the orchestration
contract. Rename "staging branch" to "pending branch"
throughout for consistency with intl/pending-<base> naming.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
When the pending branch already exists for the base (prior run),
merge base into pending first and fail fast on conflict, then
use pending as the baseline for drift detection and the temp
branch source. This prevents non-deterministic LLM output from
re-translating unchanged sections and causing merge conflicts
on subsequent runs against the same base.

Rename ensureStagingBranch to ensurePendingBranch for
consistency with intl/pending-<base> naming. Add deleteBranch
helper to clean up tmp-intl/ branches after successful merge
into pending. Drop "v5" from the pipeline log header.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
- PIPELINE-SPEC: add forward reference to Orchestration under Inputs;
  drop stale 'Git operations' and 'PR creation' entries from
  "What this spec does NOT cover"; reframe non-English edit policy
  from flat "do not hand-edit" to the manifest-mapping rule, with
  explicit Allowed / Not allowed examples; route the escape hatch
  through intl-pipeline.yml stamp_only input.
- AGENTS.md: consolidate Internationalization section; capture the
  pipeline-is-single-propagator rule, the stamp_only workflow
  escape hatch, the allowance for translation-error fixes, and a
  pointer to PIPELINE-SPEC.
- main.ts: comment the local-tree reset block as CI-only.
- review-translations: migrate from the deprecated ethereum.org
  glossary endpoint to ETHGlossary; resolve the base URL at runtime
  from GLOSSARY_API_URL env var or config.ts default so the skill
  stays correct when the host changes; fetch llms.txt as the
  canonical endpoint reference; prefer POST /filter (per-file
  scope) over full-language fetches for efficiency; tighten the
  Phase 3 mandatory block and bottom notes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Remove items that have shipped: comment-restoration concatenation
fix (gemini.ts passes strippedCode into restoreComments);
glossary enforcement (covered by ETHGlossary migration plus the
updated review-translations skill); transliteration banks (now
in language-groups.ts and prompt-builder.ts).

Relabel split-PRs as nice-to-have and note that the revival must
adapt to today's per-base pending-branch orchestration rather
than cherry-pick the old SPLIT_PRS implementation.

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 Apr 20, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit b1be2dc
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69e66653081b2700090c26a3
😎 Deploy Preview https://deploy-preview-17997.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: 57 (🔴 down 2 from production)
Accessibility: 94 (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.

@github-actions github-actions Bot added the tooling 🔧 Changes related to tooling of the project label Apr 20, 2026
Copy link
Copy Markdown
Member

@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.

LGTM

@pettinarip pettinarip merged commit 9dc14f0 into dev Apr 23, 2026
11 checks passed
@pettinarip pettinarip deleted the intl-pipeline-v6-1 branch April 23, 2026 17:43
@wackerow wackerow mentioned this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tooling 🔧 Changes related to tooling of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants