Skip to content
This repository was archived by the owner on Nov 20, 2026. It is now read-only.

[AI] test(i18n): gate Vietnamese coverage (CHE-831) - #5

Merged
congvc-dev merged 116 commits into
agent/x99-codex-luna/27d7e31d5eeefrom
agent/x99-codex-sol/9b39e90641f4
Oct 3, 2026
Merged

congvc-dev merged 116 commits into
agent/x99-codex-luna/27d7e31d5eeefrom
agent/x99-codex-sol/9b39e90641f4

Conversation

@congvc-dev

Copy link
Copy Markdown
Collaborator

Description

Related issue(s)

Testing

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I have read every line of this diff and can explain what each change does and why it is needed

@congvc-dev

Copy link
Copy Markdown
Collaborator Author

🤖 CHE-831 author candidate: c89c11f3b4e62dcac9c29be7ef973d55763458f9, based on published CHE-824 head 14fff75be16b7e4509610a350f8715743d317d84.

Refs CHE-831
Refs CHE-822

  • Adds yarn check:i18n: fresh English extraction, complete non-empty Vietnamese keys and matching interpolation/component tokens.
  • Adds a trusted-branch X99 workflow, using repository-pinned Yarn without a global installation.
  • Fixes previously unwrapped labels in nine component files and the lint rule's short/punctuated-label detection. English mobile singular/plural wording is preserved.
  • Local author verification: 14 coverage tests, 12 reporting tests, full lint, typecheck and test commands pass. The untranslated-UI probe fails deliberately, then passes after removal.
  • Real catalog validation intentionally fails: 75/2,864 extracted keys. Full translation belongs to CHE-830, including the 10 keys added by these UI fixes. Passing unit fixtures are not a claim of complete Vietnamese coverage.

The requested linked real-catalog one-key-removal/restoration CI pair remains NOT-RUN until a complete translation candidate is available. Independent review is separate; no approval, acceptance, merge or deploy is claimed.

Exact-head CI is currently running:

@congvc-dev

Copy link
Copy Markdown
Collaborator Author

🤖 Published bounded CHE-831 correction at cfab44e53ab3a68ab06d684a72e5837e9028beca; base remains agent/x99-codex-luna/27d7e31d5eee (admitted source 14fff75be16b7e4509610a350f8715743d317d84).

  • The gate rejects reversed, crossed and unbalanced Trans tag pairs before token sorting, while allowing legal component reordering and self-closing/void tags.
  • Deliberate regression RED: 4 failures against the previous implementation. Corrected gate: 19/19 PASS. Rendering regression: 1/1 PASS for non-empty Themes text on en → vi → en. Reporting rule: 12/12 PASS.
  • Full yarn typecheck, yarn lint and yarn test: PASS. The changed web test workspace executes; 8 unchanged test workspaces use Lage cache.
  • Exact real yarn check:i18n: exit 1, 2,789 missing translations from 2,864 freshly extracted English keys; the inherited seed contains 75 keys.

Real-catalog one-key CI red/green controls remain NOT-RUN until CHE-830 supplies the complete catalog. Fresh CI is running; no green CI or acceptance claim. This PR stays draft, and CHE-831/CHE-822 stay in progress. Terra must obtain fresh independent Astra review of this exact changed head. No new dependencies, merge or deployment.

congvc-bot[bot] added 24 commits September 27, 2026 23:41
congvc-bot[bot] added 21 commits September 29, 2026 13:14
…4' into agent/x99-claude-sonnet/7fcda00bd923
@autofix-troubleshooter

Copy link
Copy Markdown

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

@congvc-dev
congvc-dev marked this pull request as ready for review September 29, 2026 08:07
@congvc-dev

Copy link
Copy Markdown
Collaborator Author

ocr receipt (CHE-831) — #5 @ 2e1deb325710a34bb7a09297064ccf9620a7d94b
Tool: ocr v1.12.10, review model claude-opus-5-5 (sub2api, keyed lane), no repo rule file. 17 files reviewed, 16 candidate findings, 18/60 code_search calls timed out (reduced cross-file context). ocr severity scale is medium/low; no P0/P1 reported.

P2 (ocr: medium)

  • packages/desktop-client/locale-fork/vi.json:2058 key "does not exists" typo, orphan duplicate of corrected key
  • packages/desktop-client/locale-fork/vi.json:2173 key "This a <1>local file</1>" typo may not match source (likely mirrors upstream source; unverified)

P2/low (ocr: low)

  • bin/package-browser:33, bin/package-electron:52 unconditional rm -f vi.json also runs under --skip-translations; rule duplicated 3x
  • .github/actions/setup/action.yml:80 path ignores inputs.working-directory, if: guard dropped
  • .github/workflows/vietnamese-coverage.yml:4 agent/** push + PR runs twice, concurrency groups differ
  • .github/workflows/vietnamese-coverage.yml:27 no explicit shell: bash
  • .github/workflows/vietnamese-coverage.yml:30 hardcoded yarn-4.17.1.cjs path
  • package.json:50 --experimental-strip-types inconsistent with generate:release-notes
  • TemplateSentence.tsx:56 satisfies -> as weakens typing
  • DevelopmentTopBar.tsx:32 PR number outside <Trans>
  • vi.json:1417,89,875,561,315 source-string key oddities (backtick, raw JS expr x2, "recognised", "Make as")

Instrument output — the reviewer seat must confirm or reject each finding in its verdict.
Recall is low; a finding is a candidate, not a verdict.

@congvc-dev
congvc-dev merged commit 79135d1 into agent/x99-codex-luna/27d7e31d5eee Oct 3, 2026
40 of 41 checks passed
@congvc-dev
congvc-dev deleted the agent/x99-codex-sol/9b39e90641f4 branch October 3, 2026 01:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants