Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -1388,6 +1388,19 @@ jobs:
- name: Reserved-word ("role") docs ratchet
run: pnpm check:role-word

# #11671: `os i18n extract --fill=default` fills GAPS only, so revising a
# source string rewrites `en` and strands the previous source text in every
# other locale. The bundle stays in sync BY KEY, so `check:i18n` reports OK
# and `check:i18n-coverage` counts the leaf translated (it tests presence,
# not freshness) — measured on PR #11659, three locales serving a 602-char
# superseded draft of a 411-char help string under 31 green checks.
# This gate reads the committed bundles as TEXT — no workspace build — which
# is why it sits here rather than with its two i18n siblings in `typecheck`.
# Existing drift is frozen in scripts/i18n-stale-fill-baseline.json with a
# reason per entry; NEW drift fails. Improvements ratchet down via --update.
- name: Stale translation fills (i18n) ratchet
run: pnpm check:i18n-stale-fill

# #6319: content/docs/getting-started/quick-reference.mdx is the protocol
# index, and each "## <Name> Protocol (N schemas)" heading is a DECLARATION
# about the table under it. The page is hand-written (build-docs.ts writes
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,6 +32,7 @@
"i18n:extract": "tsx packages/cli/bin/run-dev.js i18n extract packages/platform-objects/scripts/i18n-extract.config.ts --locales=zh-CN,ja-JP,es-ES --fill=default --out=packages/platform-objects/src/apps/translations",
"check:i18n": "node scripts/check-i18n-bundles.mjs --self-test && node scripts/check-i18n-bundles.mjs",
"check:i18n-coverage": "node scripts/check-i18n-coverage.mjs --self-test && node scripts/check-i18n-coverage.mjs",
"check:i18n-stale-fill": "node scripts/check-i18n-stale-fill.mjs --self-test && node scripts/check-i18n-stale-fill.mjs",
"check:app-nav-i18n": "pnpm --filter @objectstack/cli run check:app-nav-i18n",
"check:nul-bytes": "node scripts/check-nul-bytes.mjs --self-test && node scripts/check-nul-bytes.mjs",
"check:entry-guard": "node scripts/check-entry-guard.mjs --self-test && node scripts/check-entry-guard.mjs",
Expand Down
Loading
Loading